Sip read: INVITE sip:600@192.168.1.251 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100;branch=z9hG4bK1989f45755275eb2 From: ;tag=f8c6577837d1d6d0 To: Contact: Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 14727 INVITE User-Agent: Grandstream BT100 1.0.4.55 Max-Forwards: 70 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE Content-Type: application/sdp Content-Length: 249 v=0 o=phone100 8000 8000 IN IP4 192.168.1.100 s=SIP Call c=IN IP4 192.168.1.100 t=0 0 m=audio 5004 RTP/AVP 0 8 18 4 15 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=rtpmap:4 G723/8000 a=rtpmap:15 G728/8000 a=ptime:20 12 headers, 12 lines Using latest request as basis request Sending to 192.168.1.100 : 5060 (non-NAT) Found RTP audio format 0 Found RTP audio format 8 Found RTP audio format 18 Found RTP audio format 4 Found RTP audio format 15 Found description format PCMU Found description format PCMA Found description format G729 Found description format G723 Found description format G728 Capabilities: us - 12, them - 269/0, combined - 12 Non-codec capabilities: us - 1, them - 0, combined - 0 Found user 'phone100' Looking for 600 in from-ext list_route: hop: Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.1.100;branch=z9hG4bK1989f45755275eb2 From: ;tag=f8c6577837d1d6d0 To: ;tag=as5996ed87 Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 14727 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Length: 0 to 192.168.1.100:5060 -- Executing Answer("SIP/phone100-592c", "") in new stack We're at 218.214.53.211 port 19252 Answering/Requesting with preferred capability 4 Answering/Requesting with preferred capability 8 Reliably Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100;branch=z9hG4bK1989f45755275eb2 From: ;tag=f8c6577837d1d6d0 To: ;tag=as5996ed87 Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 14727 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 188 v=0 o=root 12684 12684 IN IP4 218.214.53.211 s=session c=IN IP4 218.214.53.211 t=0 0 m=audio 19252 RTP/AVP 0 8 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - to 192.168.1.100:5060 -- Executing Ringing("SIP/phone100-592c", "") in new stack -- Executing DigitTimeout("SIP/phone100-592c", "10") in new stack -- Set Digit Timeout to 10 -- Executing ResponseTimeout("SIP/phone100-592c", "30") in new stack -- Set Response Timeout to 30 -- Executing AGI("SIP/phone100-592c", "initcall.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/initcall.agi AGI Environment Dump: -- accountcode = phone100 -- callerid = "GrandStream"<100> -- channel = SIP/phone100-592c -- context = from-ext -- dnid = 600 -- enhanced = 0.0 -- extension = 600 -- language = en -- priority = 5 -- rdnis = unknown -- request = (null) -- type = SIP -- uniqueid = 1084330407.5 ================== START START-PRI ====================== phone ID: 100 -- Playing 'V040' (language 'en') Destroying call '359154b32afa7ab4@192.168.1.100' Retransmitting #1 (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100;branch=z9hG4bK1989f45755275eb2 From: ;tag=f8c6577837d1d6d0 To: ;tag=as5996ed87 Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 14727 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 188 v=0 o=root 12684 12684 IN IP4 218.214.53.211 s=session c=IN IP4 218.214.53.211 t=0 0 m=audio 19252 RTP/AVP 0 8 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - to 192.168.1.100:5060 Retransmitting #2 (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100;branch=z9hG4bK1989f45755275eb2 From: ;tag=f8c6577837d1d6d0 To: ;tag=as5996ed87 Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 14727 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 188 v=0 o=root 12684 12684 IN IP4 218.214.53.211 s=session c=IN IP4 218.214.53.211 t=0 0 m=audio 19252 RTP/AVP 0 8 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - to 192.168.1.100:5060 Sip read: 0 headers, 0 lines Retransmitting #3 (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100;branch=z9hG4bK1989f45755275eb2 From: ;tag=f8c6577837d1d6d0 To: ;tag=as5996ed87 Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 14727 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 188 v=0 o=root 12684 12684 IN IP4 218.214.53.211 s=session c=IN IP4 218.214.53.211 t=0 0 m=audio 19252 RTP/AVP 0 8 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - to 192.168.1.100:5060 Retransmitting #4 (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100;branch=z9hG4bK1989f45755275eb2 From: ;tag=f8c6577837d1d6d0 To: ;tag=as5996ed87 Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 14727 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 188 v=0 o=root 12684 12684 IN IP4 218.214.53.211 s=session c=IN IP4 218.214.53.211 t=0 0 m=audio 19252 RTP/AVP 0 8 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - to 192.168.1.100:5060 Retransmitting #5 (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100;branch=z9hG4bK1989f45755275eb2 From: ;tag=f8c6577837d1d6d0 To: ;tag=as5996ed87 Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 14727 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Type: application/sdp Content-Length: 188 v=0 o=root 12684 12684 IN IP4 218.214.53.211 s=session c=IN IP4 218.214.53.211 t=0 0 m=audio 19252 RTP/AVP 0 8 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - to 192.168.1.100:5060 May 12 12:53:33 WARNING[114696]: chan_sip.c:583 retrans_pkt: Maximum retries exceeded on call c6166529a87adf98@192.168.1.100 for seqno 14727 (Non-critical Response) input digits : DBD::mysql::st execute failed: You have an error in your SQL syntax near '' at line 1 at /var/lib/asterisk/agi-bin/initcall.agi line 158, line 15. DBD::mysql::st fetchrow_array failed: fetch() without execute() at /var/lib/asterisk/agi-bin/initcall.agi line 159, line 15. Old Balance : Sip read: 0 headers, 0 lines -- Playing 'V040' (language 'en') Sip read: 0 headers, 0 lines input digits : DBD::mysql::st execute failed: You have an error in your SQL syntax near '' at line 1 at /var/lib/asterisk/agi-bin/initcall.agi line 158, line 17. DBD::mysql::st fetchrow_array failed: fetch() without execute() at /var/lib/asterisk/agi-bin/initcall.agi line 159, line 17. Old Balance : -- Playing 'V040' (language 'en') Sip read: 0 headers, 0 lines Sip read: 0 headers, 0 lines input digits : DBD::mysql::st execute failed: You have an error in your SQL syntax near '' at line 1 at /var/lib/asterisk/agi-bin/initcall.agi line 158, line 19. DBD::mysql::st fetchrow_array failed: fetch() without execute() at /var/lib/asterisk/agi-bin/initcall.agi line 159, line 19. Old Balance : Card count: 3 -- AGI Script (null) completed, returning 0 -- Executing Hangup("SIP/phone100-592c", "") in new stack == Spawn extension (from-ext, 600, 6) exited non-zero on 'SIP/phone100-592c' -- Executing DeadAGI("SIP/phone100-592c", "end-call.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/end-call.agi AGI Environment Dump: -- accountcode = phone100 -- callerid = "GrandStream"<100> -- channel = SIP/phone100-592c -- context = from-ext -- dnid = 600 -- enhanced = 0.0 -- extension = h -- language = en -- priority = 1 -- rdnis = unknown -- request = (null) -- type = SIP -- uniqueid = 1084330407.5 ================== START END-PRI ====================== Pri Records: Disconnecting from MySQL ================== END END-PRI ====================== -- AGI Script (null) completed, returning 0 cdr_mysql: SQL command as follows: INSERT INTO cdr (accountcode,src,dst,dcontext,clid,channel,dstchannel,lastapp,lastdata,starttime,answertime,endtime,duration,billsec,disposition,amaflags,uniqueid) VALUES ('phone100','100','600','from-ext','"GrandStream"<100>','SIP/phone100-592c','','DeadAGI','end-call.agi','2004-05-12 12:53:27','2004-05-12 12:53:27','2004-05-12 12:54:18',51,51,'ANSWERED','BILLING','1084330407.5') set_destination: Parsing for address/port to send to set_destination: set destination to 192.168.1.100, port 5060 Reliably Transmitting: BYE sip:phone100@192.168.1.100 SIP/2.0 Via: SIP/2.0/UDP 218.214.53.211:5060;branch=z9hG4bK236f800f From: ;tag=as5996ed87 To: ;tag=f8c6577837d1d6d0 Contact: Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 102 BYE User-Agent: Asterisk PBX Content-Length: 0 (no NAT) to 192.168.1.100:5060 Sip read: SIP/2.0 481 no such call Via: SIP/2.0/UDP 218.214.53.211:5060;branch=z9hG4bK236f800f From: ;tag=as5996ed87 To: ;tag=f8c6577837d1d6d0 Call-ID: c6166529a87adf98@192.168.1.100 CSeq: 102 BYE User-Agent: Grandstream BT100 1.0.4.55 Content-Length: 0 8 headers, 0 lines Message is BYE