search for: lastms

Displaying 20 results from an estimated 31 matches for "lastms".

Did you mean: lastmsg
2009 Mar 23
1
field lastms in 1.4.24
Hi all, I found that a new field "lastms" is used in 1.4.24. What is the usage of that field and the datatype of it? ango
2014 Feb 18
1
Syntax error for Realtime SQLite3
...te3.c: Could not execute 'UPDATE "sip_buddies" SET "ipaddr" = '192.168.2.23', "port" = '5060', "regseconds" = '1392692118', "defaultuser" = '2012', "useragent" = 'Aastra 57i/3.2.2.2044', "lastms" = '-1', "fullcontact" WHERE "name" = '2012'': near "2012": syntax error [2014-02-17 19:55:30] WARNING[20569] res_config_sqlite3.c: Could not execute 'UPDATE "sip_buddies" SET "ipaddr" = '192.168.2.215', &quot...
2011 Jan 02
1
Realtime SIP, multiple AX servers question
...l configured for Realtime, all backed by the same database. The Asterisk servers are all listed under DNS SRV records, and SIP ATAs find us this way. Normally, no matter which Asterisk server an ATA connects to, we get our database fields filled out correctly, such as "regseconds", "lastms", "ipadr", etc. However, with some ATA's we are experiencing a problem as follows: 1. ATA reaches its "re-registration" timeout, which we typically configure to be 60 minutes. 2. ATA re-queries DNS SRV record, and ends up re-registering with a different AX server than...
2006 Jan 06
0
IAX2->SIP dropped calls
...29854] chan_sip.c: build_route: Contact hop: <sip:davidblanco@192.168.1.50:5060> Jan 5 13:29:57 VERBOSE[3776] logger.c: -- SIP/davidblanco-e02c answered IAX2/teliax-2 Jan 5 13:29:57 DEBUG[29852] chan_iax2.c: Ooh, voice format changed to 2 Jan 5 13:29:59 DEBUG[29852] chan_iax2.c: Peer lastms 70, historicms 70, maxms 2000 Jan 5 13:30:15 DEBUG[29852] chan_iax2.c: Peer lastms 28, historicms 28, maxms 2000 Jan 5 13:30:59 DEBUG[29852] chan_iax2.c: Peer lastms 71, historicms 71, maxms 2000 Jan 5 13:31:07 DEBUG[29852] chan_iax2.c: Immediately destroying 2, having received hangup Jan 5...
2009 Mar 21
2
1.6.2 beta 1 crash
...sh, first I have [Mar 20 20:30:41] WARNING[11201]: res_config_mysql.c:611 update_mysql: Attempted to update column 'useragent' in table 'sip', but column does not exist! [Mar 20 20:30:41] ERROR[11201]: res_config_mysql.c:581 update_mysql: MySQL RealTime: Updating on column 'lastms', but that column does not exist within the table 'sip'! I would like to know if this new fields corresponds to previous ones, so I can delete deprecated ones and add this new to my tables. CRASH: localhost*CLI> *** glibc detected *** /usr/sbin/asterisk: realloc(): inv...
2009 Oct 26
1
[LLVMdev] RegAllocSimple doesn't work
I tried both the most recent version of "simple" register allocation and the one from last August, and neither seems to work correctly (they run, but produce bad output). I used them to compile an old version of the Unix "replace" utility (source code attached). Here's how I created the executable: llvm-gcc -emit-llvm -O0 -c replace.c -o replace.bc opt -mem2reg
2009 Dec 11
2
sip realtime question
...disallow all allow g729 allow ilbc allow gsm allow ulaw allow alaw port 5060 regseconds 0 lastms 0 username 100 but the following commands returns nothing ao042*CLI> sip show users Username Secret Accountcode Def.Context ACL NAT ao042*CLI> sip show peers Name/username Host Dyn Nat ACL Port Statu...
2008 Apr 11
0
SIP KEEPALIVES, with QUALIFY and without making UNREACHABLE
...o split "keepalives" and "qualify" into different features. Sounds like a good plan, but until that is done you can turn "qualify=" into a keepalive mechanism, without disabling your channels. Here's a quick fix: 1) Open "chan_sip.c". 2) Replace "lastms = -1" with "lastms = 0". 3) Save. 4) #make 5) #make install I've used it in the past without problems. Not perfect (or even close), but it works. Justin __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protectio...
2014 Apr 29
0
SQlite3 realtime
...execute_handle: Could not execute 'UPDATE "sip_buddies" SET "ipaddr" = '192.168.0.52', "port" = '5060', "regseconds" = '1398795032', "defaultuser" = '112', "useragent" = 'Zoiper r21999', "lastms WHERE "name" = '112'': near "112": syntax error5060;rinst [Apr 29 13:10:26] WARNING[30494]: res_config_sqlite3.c:520 realtime_sqlite3_execute_handle: Could not execute 'UPDATE "sip_buddies" SET "ipaddr" = '192.168.0.52', "port&q...
2009 Jun 19
1
Strange res_config_odbc error messages in 1.6.1.1
...r' [Jun 19 17:19:22] WARNING[5882] res_config_odbc.c: Realtime table supporten_sip at asterisk: column type (-9) unrecognized for column 'useragent' [Jun 19 17:19:22] WARNING[5882] res_config_odbc.c: Realtime table supporten_sip at asterisk: column type (-9) unrecognized for column 'lastms' I don't understand the "column type (-9)" messages, and I'm also confused about regseconds, because: `regseconds` int(11) NOT NULL default '0' With 1.6.0.9 everything works fine. It is of course possible that I somehow miscompile 1.6.1.1 but not 1.6.0.9, but I'...
2009 Oct 22
0
[LLVMdev] request for help writing a register allocator
Hi Susan, > But this doesn't seem to be happening; the stores to memory are there but > the loads are not. > > Any ideas what's going wrong? Are you using VirtRegMap::addSpillPoint and VirtRegMap::addRestorePoint ? If not you may need to add calls to them to let the rewriter know where to insert the loads/stores. > If not, any advice on how to generate the loads
2009 Oct 22
4
[LLVMdev] request for help writing a register allocator
I found the problem! My generated code is spilling correctly but is not reloading at all. For example, if the original code has the equivalent of this (where %1024 is a virtual reg): %1024 = xxx ... yyy = %1024 and I find no physical register for %1024, then I assign it to physical register %edi and to a stackslot. That creates code like this: %edi = xxx store from %edi to the
2014 Sep 08
1
Asterisk removes ice lines in sdp when calling between webrtc clients
...icesupport yes <---- ICE is enabled ipaddr PU.BL.IC.IP port 5060 regseconds 1410185500 defaultuser 660 fullcontact sip:660 at PU.BL.IC.IP:5060 lastms 0 useragent context default directmedia no deny 0.0.0.0/0.0.0.0 permit PU.BL.IC.IP nat force_rport,comedia language...
2010 Jan 07
1
voicemail /odbc problem
...o be queued on device/channel IAX2 /odbc_test_user [Jan 7 21:58:34] DEBUG[7204] chan_iax2.c: Checking device state for device odbc_test_user [Jan 7 21:58:34] DEBUG[7204] chan_iax2.c: iax2_devicestate: Found peer. What's device state of odbc_test_use r? addr=57011606, defaddr=0 maxms=2000, lastms=41 [Jan 7 21:58:34] DEBUG[7204] devicestate.c: Changing state for IAX2/ odbc_test_user - state 2 (In use) [Jan 7 21:58:34] DEBUG[7257] app_voicemail.c: Before find_user [Jan 7 21:58:34] DEBUG[7230] app_queue.c: Device 'IAX2/ odbc_test_user' changed to state '2' (In use) but we...
2010 Jul 21
1
asterisk realtime SIP configuration
...#39;::character varying musiconhold | character varying(100) | regseconds | integer | not null default 0 ipaddr | character varying(15) | regexten | character varying(80) | cancallforward | character varying(3) | default 'yes'::character varying lastms | character varying(80) | useragent | character varying(100) | defaultuser | character varying(100) | fullcontact | character varying(100) | regserver | character varying(100) | Indexes: "sip_conf_pkey" PRIMARY KEY, btree (id) "name" UNIQUE,...
2006 Nov 22
0
iax2 - wildiax phone & myself puzzled
...11-22 15:14:06 DEBUG[6863] acl.c: ##### Testing 10.0.10.160 with 0.0.0.0 2006-11-22 15:14:06 DEBUG[6855] chan_iax2.c: Checking device state for device support 2006-11-22 15:14:06 DEBUG[6855] chan_iax2.c: iax2_devicestate: Found peer. What's device state of support? addr=0, defaddr=0 maxms=0, lastms=0 2006-11-22 15:14:06 DEBUG[6855] devicestate.c: Changing state for IAX2/support - state 5 (Unavailable) 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Sending 3 on 3/20971 to 10.0.10.160:4569 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX...
2014 Aug 11
1
Letting rtp profiles be handled by rtpengine instead of Asterisk
...And here's the way I've defined my websocket peer to my sippeers table: id: 4 name: 660 ipaddr: PU.BL.IC.IP port: 5060 regseconds: 1407744248 defaultuser: 660 fullcontact: sip:660 at PU.BL.IC.IP:5060 regserver: useragent: lastms: 0 host: dynamic type: friend context: default deny: 0.0.0.0/0.0.0.0 permit: PU.BL.IC.IP secret: NULL md5secret: NULL avpf: yes force_avp: yes icesupport: yes directmedia: yes encryption: yes nat: force_r...
2014 Aug 06
1
From and To headers contain same account in INVITEs
...{EXTEN},3600,rt) same => n,Hangup And here's how the clients are set in my db: id: 4 name: 660 ipaddr: 1.1.1.1 port: 5060 regseconds: 1407320692 defaultuser: 660 fullcontact: sip:660 at 1.1.1.1:5060 regserver: useragent: lastms: 0 host: dynamic type: friend context: default deny: 0.0.0.0/0.0.0.0 permit: 1.1.1.1 secret: NULL md5secret: NULL avpf: yes force_avp: yes icesupport: yes directmedia: no encryption: yes nat: force_rport,...
2014 Jul 26
1
Rejecting secure audio stream without encryption details - when using ws clients and Kamailio integration
...f a ws client in my realtime peer table: id: 4 name: 660 ipaddr: PU.BL.IC.IP port: 5060 regseconds: 1406368294 defaultuser: 660 fullcontact: sip:660 at PU.BL.IC.IP:5060 regserver: useragent: lastms: 0 host: dynamic type: friend context: default deny: 0.0.0.0/0.0.0.0 permit: PU.BL.IC.IP secret: NULL md5secret: NULL remotesecret: NULL transport: NULL dtmfmode: NULL directmedia:...
2010 Sep 10
0
1.6.2.11 realtime sip registrations disappear from DB
Hello list, I'm using asterisk 1.6.2.11 with realtime SIP (mysql DB). I notice that when the SIP peer registers, the fields 'fullcontact', 'ipaddr', 'port', 'regserver', 'regseconds', 'lastms' are filled with values. But after a while, these fields become empty. Asterisk CLI shows : asterisk*CLI> sip show peers Name/username Host Dyn Nat ACL Port Status Realtime sterk1/sterk1 192.168.1.102 D N 5062 OK (30 ms) Cached RT test13/te...