[2010-12-01 11:48:51] SIP Response message for INCOMING dialog NOTIFY arrived [2010-12-01 11:48:51] agi://127.0.0.1:4573/extension: Variable 'PHONE_EXTEN_HD' result is not defined!!! [2010-12-01 11:48:51] agi://127.0.0.1:4573/extension: Variable 'CHECK_HOTDESK' result is not defined!!! [2010-12-01 11:48:51] -- AGI Script agi://127.0.0.1:4573/extension completed, returning 0 [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:2] Set("SIP/6010-00000060", "TOUCH_MONITOR=1291222131.170") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:3] Set("SIP/6010-00000060", "TOUCH_MIXMONITOR=1291222131.170") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:4] Set("SIP/6010-00000060", "SCOPSERV_DBPUT(default/6010/RepeatDial)=94165551234") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:5] Set("SIP/6010-00000060", "SCOPSERV_DBPUT(default/wrapup/6010/lastcall)=1291222131.170") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:6] Set("SIP/6010-00000060", "GROUP(OUTGOING)=6010") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:7] GotoIf("SIP/6010-00000060", "0?10") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:8] Set("SIP/6010-00000060", "GROUP(DEFAULT_OUTGOING)=6010") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:9] GotoIf("SIP/6010-00000060", "0?5000") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:10] Set("SIP/6010-00000060", "OUT_TENANT=default") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:11] Set("SIP/6010-00000060", "OUT_FORCECID=0") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:12] Set("SIP/6010-00000060", "OUT_LOOKUPAGI=0") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:13] Set("SIP/6010-00000060", "OUT_LOOKUPCUSTOM=0") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:14] Set("SIP/6010-00000060", "OUT_CIDNUM=5555551234") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:15] Set("SIP/6010-00000060", "OUT_CIDNAME=asterisk") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:16] Goto("SIP/6010-00000060", "50") in new stack [2010-12-01 11:48:51] -- Goto (macro-default-dial-0762*100-009692,s,50) [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:50] GotoIf("SIP/6010-00000060", "1?52") in new stack [2010-12-01 11:48:51] -- Goto (macro-default-dial-0762*100-009692,s,52) [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:52] GotoIf("SIP/6010-00000060", "0?56") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:53] AGI("SIP/6010-00000060", "agi://127.0.0.1:4573/monitortag?arg1=AUTO_RECORDING") in new stack [2010-12-01 11:48:51] agi://127.0.0.1:4573/monitortag?arg1=AUTO_RECORDING: Variable 'AUTO_RECORDING' result is 6010 [2010-12-01 11:48:51] -- AGI Script agi://127.0.0.1:4573/monitortag?arg1=AUTO_RECORDING completed, returning 0 [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:54] Set("SIP/6010-00000060", "TOUCH_MONITOR=6010_1291222131.170") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:55] Set("SIP/6010-00000060", "TOUCH_MIXMONITOR=6010_1291222131.170") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:56] GotoIf("SIP/6010-00000060", "1?60") in new stack [2010-12-01 11:48:51] -- Goto (macro-default-dial-0762*100-009692,s,60) [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:60] Set("SIP/6010-00000060", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:61] Set("SIP/6010-00000060", "OUT_TRUNK_CIDNUM=") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:62] Set("SIP/6010-00000060", "OUT_TRUNK_CIDNAME=") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:63] Set("SIP/6010-00000060", "OUT_TRUNK_FORCECID=") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:64] Set("SIP/6010-00000060", "OUT_TRUNK_CIDMODE=PHONE") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:65] Gosub("SIP/6010-00000060", "all-outgoing-checkcid|s|1") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:1] Set("SIP/6010-00000060", "ext_cidname=John Smith") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:2] GotoIf("SIP/6010-00000060", "1?50") in new stack [2010-12-01 11:48:51] -- Goto (all-outgoing-checkcid,s,50) [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:50] Set("SIP/6010-00000060", "ext_cidnum=4165552234") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:51] Set("SIP/6010-00000060", "ext_cidpres=") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:52] GotoIf("SIP/6010-00000060", "0?54") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:53] Set("SIP/6010-00000060", "CALLERID(number)=4165552234") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:54] GotoIf("SIP/6010-00000060", "0?56") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:55] Set("SIP/6010-00000060", "CALLERID(name)=John Smith") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:56] GotoIf("SIP/6010-00000060", "0?59") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:57] GotoIf("SIP/6010-00000060", "0?59") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:58] Set("SIP/6010-00000060", "CALLERID(all)="John Smith" <4165552234>") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:59] GotoIf("SIP/6010-00000060", "1?61") in new stack [2010-12-01 11:48:51] -- Goto (all-outgoing-checkcid,s,61) [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:61] Set("SIP/6010-00000060", "agentid=1") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:62] GotoIf("SIP/6010-00000060", "0?69") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:63] Set("SIP/6010-00000060", "agent_cidname=") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:64] Set("SIP/6010-00000060", "agent_cidnum=") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:65] GotoIf("SIP/6010-00000060", "1?67") in new stack [2010-12-01 11:48:51] -- Goto (all-outgoing-checkcid,s,67) [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:67] GotoIf("SIP/6010-00000060", "1?69") in new stack [2010-12-01 11:48:51] -- Goto (all-outgoing-checkcid,s,69) [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:69] Set("SIP/6010-00000060", "ext_override=1") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:70] GotoIf("SIP/6010-00000060", "0?100") in new stack [2010-12-01 11:48:51] -- Executing [s@all-outgoing-checkcid:71] Return("SIP/6010-00000060", "") in new stack [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:66] GotoIf("SIP/6010-00000060", "0?71:67") in new stack [2010-12-01 11:48:51] -- Goto (macro-default-dial-0762*100-009692,s,67) [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:67] GotoIf("SIP/6010-00000060", "0?68:70") in new stack [2010-12-01 11:48:51] -- Goto (macro-default-dial-0762*100-009692,s,70) [2010-12-01 11:48:51] -- Executing [s@macro-default-dial-0762*100-009692:70] Dial("SIP/6010-00000060", "SIP/4165551234@0762*100|60|TtwxWX") in new stack [2010-12-01 11:48:51] Audio is at externalip.com port 13532 [2010-12-01 11:48:51] Adding codec 0x4 (ulaw) to SDP [2010-12-01 11:48:51] Adding codec 0x2 (gsm) to SDP [2010-12-01 11:48:51] Adding non-codec 0x1 (telephone-event) to SDP [2010-12-01 11:48:51] Reliably Transmitting (no NAT) to siptrunk.com:5060: INVITE sip:4165551234@sip.itsp.com;user=phone SIP/2.0 Via: SIP/2.0/UDP externalip.com:5060;branch=z9hG4bK1b967f02;rport From: "John Smith" ;tag=as21a88bd9 To: Contact: Call-ID: 0e403bac4c595a1a3778c47166ba6b12@sip.itsp.com CSeq: 102 INVITE User-Agent: Asterisk PBX (asterisk) Max-Forwards: 70 Date: Wed, 01 Dec 2010 16:48:51 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Content-Type: application/sdp Content-Length: 267 v=0 o=root 27137 27137 IN IP4 externalip.com s=session c=IN IP4 externalip.com t=0 0 m=audio 13532 RTP/AVP 0 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv --- [2010-12-01 11:48:51] -- Called 4165551234@0762*100 [2010-12-01 11:48:51] <--- SIP read from siptrunk.com:5060 ---> SIP/2.0 100 Giving a try Via: SIP/2.0/UDP externalip.com:5060;branch=z9hG4bK1b967f02;rport=5060 From: "John Smith" ;tag=as21a88bd9 To: Call-ID: 0e403bac4c595a1a3778c47166ba6b12@sip.itsp.com CSeq: 102 INVITE Server: ITSP Content-Length: 0 <-------------> [2010-12-01 11:48:51] --- (8 headers 0 lines) --- [2010-12-01 11:48:51] <--- SIP read from siptrunk.com:5060 ---> SIP/2.0 183 Session Progress Via: SIP/2.0/UDP externalip.com:5060;received=externalip.com;branch=z9hG4bK1b967f02;rport=5060 Record-Route: From: "John Smith" ;tag=as21a88bd9 To: ;tag=as3b3a3c70 Call-ID: 0e403bac4c595a1a3778c47166ba6b12@sip.itsp.com Contact: CSeq: 102 INVITE Server: Ziptel PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Type: application/sdp Content-Length: 291 v=0 o=root 1189432715 1189432715 IN IP4 siptrunk.com s=Asterisk PBX 1.6.1.20 c=IN IP4 siptrunk.com t=0 0 m=audio 13244 RTP/AVP 0 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv <-------------> [2010-12-01 11:48:51] --- (13 headers 13 lines) --- [2010-12-01 11:48:51] Found RTP audio format 0 [2010-12-01 11:48:51] Found RTP audio format 3 [2010-12-01 11:48:51] Found RTP audio format 101 [2010-12-01 11:48:51] Found audio description format PCMU for ID 0 [2010-12-01 11:48:51] Found audio description format GSM for ID 3 [2010-12-01 11:48:51] Found audio description format telephone-event for ID 101 [2010-12-01 11:48:51] Capabilities: us - 0x6 (gsm|ulaw), peer - audio=0x6 (gsm|ulaw)/video=0x0 (nothing), combined - 0x6 (gsm|ulaw) [2010-12-01 11:48:51] Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event) [2010-12-01 11:48:51] Peer audio RTP is at port siptrunk.com:13244 [2010-12-01 11:48:51] -- SIP/0762*100-00000061 is making progress passing it to SIP/6010-00000060 [2010-12-01 11:48:51] Audio is at 192.168.30.254 port 19202 [2010-12-01 11:48:51] Adding codec 0x4 (ulaw) to SDP [2010-12-01 11:48:51] Adding codec 0x1000 (g722) to SDP [2010-12-01 11:48:51] Adding non-codec 0x1 (telephone-event) to SDP [2010-12-01 11:48:51] <--- Transmitting (no NAT) to 192.168.30.194:5060 ---> SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 192.168.30.194:5060;branch=z9hG4bKf3c8e86b17A657C8;received=192.168.30.194 From: "John Smith" ;tag=C93FFE40-55C41905 To: ;tag=as372d6f93 Call-ID: 561801c4-7140ffa9-b0808576@192.168.30.194 CSeq: 2 INVITE User-Agent: Asterisk PBX (asterisk) Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces Contact: Content-Type: application/sdp Content-Length: 268 v=0 o=root 27137 27137 IN IP4 192.168.30.254 s=session c=IN IP4 192.168.30.254 t=0 0 m=audio 19202 RTP/AVP 0 9 101 a=rtpmap:0 PCMU/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv <------------>