freeswitch@phone.mydomain.com> recv 831 bytes from udp/[184.151.114.44]:9184 at 13:05:33.432884: ------------------------------------------------------------------------ INVITE sip:1000@phone.mydomain.com SIP/2.0 Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---ff75fe755620be7d;rport Max-Forwards: 70 Contact: To: From: "1004";tag=9e709c2f Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 1 INVITE Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE Content-Type: application/sdp Supported: replaces, 100rel User-Agent: Bria Android 3.9.4 build 97204 Content-Length: 186 v=0 o=- 325038855 1 IN IP4 10.220.224.191 s=Cpc session c=IN IP4 10.220.224.191 t=0 0 m=audio 51976 RTP/AVP 0 8 101 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv ------------------------------------------------------------------------ send 355 bytes to udp/[184.151.114.44]:9184 at 13:05:33.433143: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---ff75fe755620be7d;rport=9184;received=184.151.114.44 From: "1004";tag=9e709c2f To: Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 1 INVITE User-Agent: FreeSWITCH Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:32.990495 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1004@phone.mydomain.com [8e4e2598-8c2e-4327-95ec-26435f2de543] 2017-06-26 13:05:32.990495 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_NEW (Cur 1 Tot 9) 2017-06-26 13:05:32.990495 [DEBUG] sofia.c:9837 sofia/internal/1004@phone.mydomain.com receiving invite from 184.151.114.44:9184 version: 1.6.18 -35-6e79667 64bit 2017-06-26 13:05:32.990495 [DEBUG] sofia.c:10008 IP 184.151.114.44 Rejected by acl "domains". Falling back to Digest auth. 2017-06-26 13:05:32.990495 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [1000@phone.mydomain.com] from ip 184.151.114.44 2017-06-26 13:05:32.990495 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/1004@phone.mydomain.com) State NEW send 864 bytes to udp/[184.151.114.44]:9184 at 13:05:33.433795: ------------------------------------------------------------------------ SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---ff75fe755620be7d;rport=9184;received=184.151.114.44 From: "1004";tag=9e709c2f To: ;tag=B5tFFNr0vt5ZK Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 1 INVITE User-Agent: FreeSWITCH Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Proxy-Authenticate: Digest realm="phone.mydomain.com", nonce="dfb78cee-ffdd-470a-92c5-af8d3ff7692f", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:32.990495 [DEBUG] sofia.c:2334 detaching session 8e4e2598-8c2e-4327-95ec-26435f2de543 recv 356 bytes from udp/[184.151.114.44]:9184 at 13:05:33.512541: ------------------------------------------------------------------------ ACK sip:1000@phone.mydomain.com SIP/2.0 Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---ff75fe755620be7d;rport Max-Forwards: 70 To: ;tag=B5tFFNr0vt5ZK From: "1004";tag=9e709c2f Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 1 ACK Content-Length: 0 ------------------------------------------------------------------------ recv 1103 bytes from udp/[184.151.114.44]:9184 at 13:05:33.540261: ------------------------------------------------------------------------ INVITE sip:1000@phone.mydomain.com SIP/2.0 Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport Max-Forwards: 70 Contact: To: From: "1004";tag=9e709c2f Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 2 INVITE Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE Content-Type: application/sdp Proxy-Authorization: Digest username="1004",realm="phone.mydomain.com",nonce="dfb78cee-ffdd-470a-92c5-af8d3ff7692f",uri="sip:1000@phone.mydomain.com",response="4e2009e794dca2625dd4abd570ca3384",cnonce="597e50d9cb94d506bd478b1fae151fa8",nc=00000001,qop=auth,algorithm=MD5 Supported: replaces, 100rel User-Agent: Bria Android 3.9.4 build 97204 Content-Length: 186 v=0 o=- 325038855 1 IN IP4 10.220.224.191 s=Cpc session c=IN IP4 10.220.224.191 t=0 0 m=audio 51976 RTP/AVP 0 8 101 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv ------------------------------------------------------------------------ send 355 bytes to udp/[184.151.114.44]:9184 at 13:05:33.540400: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport=9184;received=184.151.114.44 From: "1004";tag=9e709c2f To: Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 2 INVITE User-Agent: FreeSWITCH Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:33.110488 [DEBUG] sofia.c:2442 Re-attaching to session 8e4e2598-8c2e-4327-95ec-26435f2de543 2017-06-26 13:05:33.110488 [DEBUG] sofia.c:9837 sofia/internal/1004@phone.mydomain.com receiving invite from 184.151.114.44:9184 version: 1.6.18 -35-6e79667 64bit 2017-06-26 13:05:33.110488 [DEBUG] sofia.c:10008 IP 184.151.114.44 Rejected by acl "domains". Falling back to Digest auth. 2017-06-26 13:05:33.130478 [DEBUG] sofia.c:11132 Setting NAT mode based on via received 2017-06-26 13:05:33.130478 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [received][100] 2017-06-26 13:05:33.130478 [DEBUG] sofia.c:7058 Remote SDP: v=0 o=- 325038855 1 IN IP4 10.220.224.191 s=Cpc session c=IN IP4 10.220.224.191 t=0 0 m=audio 51976 RTP/AVP 0 8 101 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:3057 Set Codec sofia/internal/1004@phone.mydomain.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2017-06-26 13:05:33.130478 [DEBUG] switch_core_codec.c:111 sofia/internal/1004@phone.mydomain.com Original read codec set to PCMU:0 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4763 sofia/internal/1004@phone.mydomain.com Set 2833 dtmf send payload to 101 recv payload to 101 2017-06-26 13:05:33.130478 [DEBUG] sofia.c:7471 (sofia/internal/1004@phone.mydomain.com) State Change CS_NEW -> CS_INIT 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_INIT (Cur 1 Tot 9) 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1004@phone.mydomain.com) State INIT 2017-06-26 13:05:33.130478 [DEBUG] mod_sofia.c:90 sofia/internal/1004@phone.mydomain.com SOFIA INIT 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1004@phone.mydomain.com Standard INIT 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1004@phone.mydomain.com) State Change CS_INIT -> CS_ROUTING 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1004@phone.mydomain.com) State INIT going to sleep 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_ROUTING (Cur 1 Tot 9) 2017-06-26 13:05:33.130478 [DEBUG] switch_channel.c:2249 (sofia/internal/1004@phone.mydomain.com) Callstate Change DOWN -> RINGING 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1004@phone.mydomain.com) State ROUTING 2017-06-26 13:05:33.130478 [DEBUG] mod_sofia.c:143 sofia/internal/1004@phone.mydomain.com SOFIA ROUTING 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:236 sofia/internal/1004@phone.mydomain.com Standard ROUTING 2017-06-26 13:05:33.130478 [INFO] mod_dialplan_xml.c:637 Processing 1004 <1004>->1000 in context phone.mydomain.com Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->user_exists] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_exists] () =~ // break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE EXECUTE sofia/internal/1004@phone.mydomain.com set(user_exists=true) 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [user_exists]=[true] Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_exists] ${user_exists}(true) =~ /^true$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Action set(extension_uuid=${user_data ${destination_number}@${domain_name} var extension_uuid}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(hold_music=${user_data ${destination_number}@${domain_name} var hold_music}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_all_enabled=${user_data ${destination_number}@${domain_name} var forward_all_enabled}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_all_destination=${user_data ${destination_number}@${domain_name} var forward_all_destination}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_busy_enabled=${user_data ${destination_number}@${domain_name} var forward_busy_enabled}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_busy_destination=${user_data ${destination_number}@${domain_name} var forward_busy_destination}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_no_answer_enabled=${user_data ${destination_number}@${domain_name} var forward_no_answer_enabled}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_no_answer_destination=${user_data ${destination_number}@${domain_name} var forward_no_answer_destination}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_user_not_registered_enabled=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_enabled}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_user_not_registered_destination=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_destination}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(do_not_disturb=${user_data ${destination_number}@${domain_name} var do_not_disturb}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(call_timeout=${user_data ${destination_number}@${domain_name} var call_timeout}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(missed_call_app=${user_data ${destination_number}@${domain_name} var missed_call_app}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(missed_call_data=${user_data ${destination_number}@${domain_name} var missed_call_data}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(call_screen_enabled=${user_data ${destination_number}@${domain_name} var call_screen_enabled}) INLINE EXECUTE sofia/internal/1004@phone.mydomain.com set(call_screen_enabled=false) 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [call_screen_enabled]=[false] Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call-direction] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com ANTI-Action set(call_direction=local) Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->variables] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [variables] () =~ // break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Action export(origination_callee_id_name=${destination_number}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->user_record] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] () =~ // break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Action set(user_record=${user_data ${destination_number}@${domain_name} var user_record}) INLINE EXECUTE sofia/internal/1004@phone.mydomain.com set(user_record=all) 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [user_record]=[all] Dialplan: sofia/internal/1004@phone.mydomain.com Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE EXECUTE sofia/internal/1004@phone.mydomain.com set(from_user_exists=true) 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [from_user_exists]=[true] Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_record}(all) =~ /^all$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Action set(record_session=true) INLINE EXECUTE sofia/internal/1004@phone.mydomain.com set(record_session=true) 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [record_session]=[true] Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${user_record}(all) =~ /^inbound$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${user_record}(all) =~ /^outbound$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${user_record}(all) =~ /^local$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE EXECUTE sofia/internal/1004@phone.mydomain.com set(from_user_record=) 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [from_user_record]=[UNDEF] Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${record_session}(true) =~ /^true$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Action export(nolocal:api_on_answer=uuid_record ${uuid} start ${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}) Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->redial] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [redial] destination_number(1000) =~ /^(redial|\*870)$/ break=on-true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [redial] () =~ // break=never Dialplan: sofia/internal/1004@phone.mydomain.com Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->speed_dial] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [speed_dial] destination_number(1000) =~ /^\*0(.*)$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->agent_status] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [agent_status] destination_number(1000) =~ /^\*22$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->To_Algeria-voip.ms] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [To_Algeria-voip.ms] destination_number(1000) =~ /^(?:00)?(213+\d{8}|213+\d{9})$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->To_PSTN] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [To_PSTN] destination_number(1000) =~ /^(1+\d{10}|\d{10})$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->To_PSTN_Special#] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [To_PSTN_Special#] destination_number(1000) =~ /^(\d{3})$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->agent_status_id] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [agent_status_id] destination_number(1000) =~ /^\*23$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->group-intercept] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [group-intercept] destination_number(1000) =~ /^\*8$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->page-extension] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [page-extension] destination_number(1000) =~ /^\*8(\d{2,7})$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->eavesdrop] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [eavesdrop] destination_number(1000) =~ /^\*33(\d{2,7})$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call_privacy] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call_privacy] destination_number(1000) =~ /^\*67(\d+)$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call_return] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call_return] destination_number(1000) =~ /^\*69$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->extension_queue] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [extension_queue] destination_number(1000) =~ /^\*800(.*)$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->intercept-ext] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [intercept-ext] destination_number(1000) =~ /^\*\*(\d+)$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->intercept-ext-polycom] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [intercept-ext-polycom] destination_number(1000) =~ /^\*97(\d+)$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->dx] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [dx] destination_number(1000) =~ /^dx$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->att_xfer] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [att_xfer] destination_number(1000) =~ /^att_xfer$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->extension-to-voicemail] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [extension-to-voicemail] ${user_exists}(true) =~ /^true$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [extension-to-voicemail] username(1004) =~ /^1004$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [extension-to-voicemail] destination_number(1000) =~ /^1004$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->send_to_voicemail] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [send_to_voicemail] destination_number(1000) =~ /^\*99(\d{2,10})$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->vmain] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [vmain] destination_number(1000) =~ /^vmain$|^\*4000$|^\*98$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->xfer_vm] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [xfer_vm] destination_number(1000) =~ /^xfer_vm$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->is_transfer] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [is_transfer] destination_number(1000) =~ /^is_transfer$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->vmain_user] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [vmain_user] destination_number(1000) =~ /^\*97$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->cf] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [cf] destination_number(1000) =~ /^cf$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->delay_echo] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [delay_echo] destination_number(1000) =~ /^\*9195$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->echo] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [echo] destination_number(1000) =~ /^\*9196$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->is_zrtp_secure] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com ANTI-Action eval(not_secure) Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->milliwatt] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [milliwatt] destination_number(1000) =~ /^\*9197$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->is_secure] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->tone_stream] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [tone_stream] destination_number(1000) =~ /^\*9198$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->hold_music] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [hold_music] destination_number(1000) =~ /^\*9664$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->recordings] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [recordings] destination_number(1000) =~ /^\*(732)$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->directory] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [directory] destination_number(1000) =~ /^\*411$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->wake-up] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [wake-up] destination_number(1000) =~ /^\*(925)$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->valet_park] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [valet_park] destination_number(1000) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [valet_park] destination_number(1000) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [valet_park] destination_number(1000) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->operator] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [operator] destination_number(1000) =~ /^0$|^operator$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->operator-forward] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [operator-forward] destination_number(1000) =~ /^\*000$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->do-not-disturb] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [do-not-disturb] destination_number(1000) =~ /^\*77$/ break=on-true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [do-not-disturb] destination_number(1000) =~ /^\*78$|\*363$/ break=on-true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [do-not-disturb] destination_number(1000) =~ /^\*79$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call-forward] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call-forward] destination_number(1000) =~ /^\*72$/ break=on-true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call-forward] destination_number(1000) =~ /^\*73$/ break=on-true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call-forward] destination_number(1000) =~ /^\*74$/ break=on-true Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->follow-me] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [follow-me] destination_number(1000) =~ /^\*21$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->clear_sip_auto_answer] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->talking clock date and time] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [talking clock date and time] destination_number(1000) =~ /^\*9172$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->talking clock time] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [talking clock time] destination_number(1000) =~ /^\*9170$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->talking clock date] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [talking clock date] destination_number(1000) =~ /^\*9171$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call_screen] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->local_extension] continue=true Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [local_extension] ${user_exists}(true) =~ /true/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Action export(dialed_extension=${destination_number}) INLINE EXECUTE sofia/internal/1004@phone.mydomain.com export(dialed_extension=1000) 2017-06-26 13:05:33.130478 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[1000] Dialplan: sofia/internal/1004@phone.mydomain.com Action limit(hash ${domain_name} ${destination_number} ${limit_max} ${limit_destination}) Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [local_extension] () =~ // break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Action set(hangup_after_bridge=true) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(continue_on_fail=true) Dialplan: sofia/internal/1004@phone.mydomain.com Action hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}) Dialplan: sofia/internal/1004@phone.mydomain.com Action hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(called_party_call_group=${user_data(${dialed_extension}@${domain_name} var call_group)}) Dialplan: sofia/internal/1004@phone.mydomain.com Action hash(insert/${domain_name}-last_dial/${called_party_call_group}/${uuid}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(api_hangup_hook=lua app.lua hangup) Dialplan: sofia/internal/1004@phone.mydomain.com Action export(domain_name=${domain_name}) Dialplan: sofia/internal/1004@phone.mydomain.com Action bridge(user/${destination_number}@${domain_name}) Dialplan: sofia/internal/1004@phone.mydomain.com Action lua(app.lua failure_handler) Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->voicemail] continue=false Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [voicemail] ${user_exists}(true) =~ /true/ break=on-false Dialplan: sofia/internal/1004@phone.mydomain.com Action answer() Dialplan: sofia/internal/1004@phone.mydomain.com Action sleep(1000) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(voicemail_action=save) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(voicemail_id=${destination_number}) Dialplan: sofia/internal/1004@phone.mydomain.com Action set(voicemail_profile=default) Dialplan: sofia/internal/1004@phone.mydomain.com Action lua(app.lua voicemail) 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/1004@phone.mydomain.com) State Change CS_ROUTING -> CS_EXECUTE 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1004@phone.mydomain.com) State ROUTING going to sleep 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_EXECUTE (Cur 1 Tot 9) 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1004@phone.mydomain.com) State EXECUTE 2017-06-26 13:05:33.130478 [DEBUG] mod_sofia.c:198 sofia/internal/1004@phone.mydomain.com SOFIA EXECUTE 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:328 sofia/internal/1004@phone.mydomain.com Standard EXECUTE EXECUTE sofia/internal/1004@phone.mydomain.com set(extension_uuid=6ce5b1b0-e605-4504-b86a-785b0f9185f4) 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [extension_uuid]=[6ce5b1b0-e605-4504-b86a-785b0f9185f4] EXECUTE sofia/internal/1004@phone.mydomain.com set(hold_music=local_stream://default) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [hold_music]=[local_stream://default] EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_all_enabled=) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_all_enabled]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_all_destination=) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_all_destination]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_busy_enabled=) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_busy_enabled]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_busy_destination=) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_busy_destination]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_no_answer_enabled=) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_no_answer_enabled]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_no_answer_destination=) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_no_answer_destination]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_user_not_registered_enabled=) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_user_not_registered_enabled]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_user_not_registered_destination=) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_user_not_registered_destination]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(do_not_disturb=) 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [do_not_disturb]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(call_timeout=30) 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [call_timeout]=[30] EXECUTE sofia/internal/1004@phone.mydomain.com set(missed_call_app=) 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [missed_call_app]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(missed_call_data=) 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [missed_call_data]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com set(call_direction=local) 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [call_direction]=[local] EXECUTE sofia/internal/1004@phone.mydomain.com export(origination_callee_id_name=1000) 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[1000] EXECUTE sofia/internal/1004@phone.mydomain.com set(RFC2822_DATE=Mon, 26 Jun 2017 13:05:33 -0400) 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [RFC2822_DATE]=[Mon, 26 Jun 2017 13:05:33 -0400] EXECUTE sofia/internal/1004@phone.mydomain.com export(nolocal:api_on_answer=uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav) 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [api_on_answer]=[uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav] EXECUTE sofia/internal/1004@phone.mydomain.com hash(insert/phone.mydomain.com-last_dial/1004/1000) EXECUTE sofia/internal/1004@phone.mydomain.com eval(not_secure) EXECUTE sofia/internal/1004@phone.mydomain.com limit(hash phone.mydomain.com 1000 5 error/user_busy) 2017-06-26 13:05:33.170492 [DEBUG] switch_limit.c:126 incr called: phone.mydomain.com_1000 max:5, interval:0 2017-06-26 13:05:33.170492 [DEBUG] mod_hash.c:196 Usage for phone.mydomain.com_1000 is now 1/5 EXECUTE sofia/internal/1004@phone.mydomain.com set(hangup_after_bridge=true) 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [hangup_after_bridge]=[true] EXECUTE sofia/internal/1004@phone.mydomain.com set(continue_on_fail=true) 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [continue_on_fail]=[true] EXECUTE sofia/internal/1004@phone.mydomain.com hash(insert/phone.mydomain.com-call_return/1000/1004) EXECUTE sofia/internal/1004@phone.mydomain.com hash(insert/phone.mydomain.com-last_dial_ext/1000/8e4e2598-8c2e-4327-95ec-26435f2de543) EXECUTE sofia/internal/1004@phone.mydomain.com set(called_party_call_group=) 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [called_party_call_group]=[UNDEF] EXECUTE sofia/internal/1004@phone.mydomain.com hash(insert/phone.mydomain.com-last_dial//8e4e2598-8c2e-4327-95ec-26435f2de543) EXECUTE sofia/internal/1004@phone.mydomain.com set(api_hangup_hook=lua app.lua hangup) 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [api_hangup_hook]=[lua app.lua hangup] EXECUTE sofia/internal/1004@phone.mydomain.com export(domain_name=phone.mydomain.com) 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[phone.mydomain.com] EXECUTE sofia/internal/1004@phone.mydomain.com bridge(user/1000@phone.mydomain.com) 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [dialed_extension]=[1000] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [origination_callee_id_name]=[1000] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [api_on_answer]=[uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [dialed_extension]=[1000] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [origination_callee_id_name]=[1000] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [api_on_answer]=[uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event 2017-06-26 13:05:33.170492 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2017-06-26 13:05:33.170492 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1000@192.168.0.2:5060 [b207db9e-4877-4417-81dd-3e8cc596a6f1] 2017-06-26 13:05:33.170492 [DEBUG] mod_sofia.c:4819 (sofia/internal/1000@192.168.0.2:5060) State Change CS_NEW -> CS_INIT 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_INIT (Cur 2 Tot 10) 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1000@192.168.0.2:5060) State INIT 2017-06-26 13:05:33.170492 [DEBUG] mod_sofia.c:90 sofia/internal/1000@192.168.0.2:5060 SOFIA INIT 2017-06-26 13:05:33.170492 [DEBUG] sofia_glue.c:1295 sofia/internal/1000@192.168.0.2:5060 sending invite version: 1.6.18 -35-6e79667 64bit Local SDP: v=0 o=FreeSWITCH 1498486699 1498486700 IN IP4 192.168.0.7 s=FreeSWITCH c=IN IP4 192.168.0.7 t=0 0 m=audio 10034 RTP/AVP 0 9 8 3 101 13 a=rtpmap:0 PCMU/8000 a=rtpmap:9 G722/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 a=sendrecv 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1000@192.168.0.2:5060 Standard INIT 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1000@192.168.0.2:5060) State Change CS_INIT -> CS_ROUTING 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1000@192.168.0.2:5060) State INIT going to sleep send 1205 bytes to udp/[192.168.0.2]:5060 at 13:05:33.611932: ------------------------------------------------------------------------ INVITE sip:1000@192.168.0.2:5060 SIP/2.0 Via: SIP/2.0/UDP 69.196.155.55;rport;branch=z9hG4bK0r1DD8892Ut9B Max-Forwards: 69 From: "1004" ;tag=DQD1jBt7pcj5a To: Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f CSeq: 108912302 INVITE Contact: User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 313 X-FS-Support: update_display,send_info Remote-Party-ID: "1004" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1498486699 1498486700 IN IP4 192.168.0.7 s=FreeSWITCH c=IN IP4 192.168.0.7 t=0 0 m=audio 10034 RTP/AVP 0 9 8 3 101 13 a=rtpmap:0 PCMU/8000 a=rtpmap:9 G722/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 ------------------------------------------------------------------------ 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_ROUTING (Cur 2 Tot 10) 2017-06-26 13:05:33.170492 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [calling][0] 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@192.168.0.2:5060) State ROUTING 2017-06-26 13:05:33.170492 [DEBUG] mod_sofia.c:143 sofia/internal/1000@192.168.0.2:5060 SOFIA ROUTING 2017-06-26 13:05:33.170492 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/1000@192.168.0.2:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@192.168.0.2:5060) State ROUTING going to sleep 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 10) 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1000@192.168.0.2:5060) State CONSUME_MEDIA 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1000@192.168.0.2:5060) State CONSUME_MEDIA going to sleep recv 303 bytes from udp/[192.168.0.2]:5060 at 13:05:33.629580: ------------------------------------------------------------------------ SIP/2.0 100 Trying To: From: "1004" ;tag=DQD1jBt7pcj5a Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f CSeq: 108912302 INVITE Via: SIP/2.0/UDP 69.196.155.55;branch=z9hG4bK0r1DD8892Ut9B Server: Linksys/SPA3000-3.1.20(GW) Content-Length: 0 ------------------------------------------------------------------------ recv 402 bytes from udp/[192.168.0.2]:5060 at 13:05:33.645728: ------------------------------------------------------------------------ SIP/2.0 180 Ringing To: ;tag=6665e9207b28ede3i0 From: "1004" ;tag=DQD1jBt7pcj5a Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f CSeq: 108912302 INVITE Via: SIP/2.0/UDP 69.196.155.55;branch=z9hG4bK0r1DD8892Ut9B Server: Linksys/SPA3000-3.1.20(GW) Remote-Party-ID: MK ;screen=yes;party=called Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:33.210473 [INFO] sofia.c:1279 sofia/internal/1000@192.168.0.2:5060 Update Callee ID to "MK" <1000> 2017-06-26 13:05:33.210473 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [proceeding][180] 2017-06-26 13:05:33.210473 [NOTICE] sofia.c:7156 Ring-Ready sofia/internal/1000@192.168.0.2:5060! 2017-06-26 13:05:33.210473 [DEBUG] switch_channel.c:3346 (sofia/internal/1000@192.168.0.2:5060) Callstate Change DOWN -> RINGING 2017-06-26 13:05:33.210473 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/internal/1004@phone.mydomain.com! send 857 bytes to udp/[184.151.114.44]:9184 at 13:05:33.652697: ------------------------------------------------------------------------ SIP/2.0 180 Ringing Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport=9184;received=184.151.114.44 From: "1004";tag=9e709c2f To: ;tag=cem8gg93S3UjF Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 2 INVITE Contact: User-Agent: FreeSWITCH Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Length: 0 Remote-Party-ID: "MK" ;party=calling;privacy=off;screen=no ------------------------------------------------------------------------ 2017-06-26 13:05:33.210473 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [early][180] 2017-06-26 13:05:33.210473 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/internal/1004@phone.mydomain.com! recv 816 bytes from udp/[192.168.0.2]:5060 at 13:05:35.157447: ------------------------------------------------------------------------ SIP/2.0 200 OK To: ;tag=6665e9207b28ede3i0 From: "1004" ;tag=DQD1jBt7pcj5a Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f CSeq: 108912302 INVITE Via: SIP/2.0/UDP 69.196.155.55;branch=z9hG4bK0r1DD8892Ut9B Contact: MK Server: Linksys/SPA3000-3.1.20(GW) Remote-Party-ID: MK ;screen=yes;party=called Content-Length: 251 Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER Supported: x-sipura, replaces Content-Type: application/sdp v=0 o=- 365060 365060 IN IP4 192.168.0.2 s=- c=IN IP4 192.168.0.2 t=0 0 m=audio 16398 RTP/AVP 0 100 101 a=rtpmap:0 PCMU/8000 a=rtpmap:100 NSE/8000 a=fmtp:100 192-193 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv ------------------------------------------------------------------------ 2017-06-26 13:05:34.710535 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [completing][200] 2017-06-26 13:05:34.710535 [DEBUG] sofia.c:7058 Remote SDP: v=0 o=- 365060 365060 IN IP4 192.168.0.2 s=- c=IN IP4 192.168.0.2 t=0 0 m=audio 16398 RTP/AVP 0 100 101 a=rtpmap:0 PCMU/8000 a=rtpmap:100 NSE/8000 a=fmtp:100 192-193 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 send 375 bytes to udp/[192.168.0.2]:5060 at 13:05:35.158438: ------------------------------------------------------------------------ ACK sip:1000@192.168.0.2:5060 SIP/2.0 Via: SIP/2.0/UDP 69.196.155.55;rport;branch=z9hG4bK11t6e3SD04gvQ Max-Forwards: 70 From: "1004" ;tag=DQD1jBt7pcj5a To: ;tag=6665e9207b28ede3i0 Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f CSeq: 108912302 ACK Contact: Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:34.730480 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [ready][200] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:20:0:1]/[G722:9:8000:20:64000:1] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:20:0:1]/[GSM:3:8000:20:13200:1] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:3057 Set Codec sofia/internal/1000@192.168.0.2:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2017-06-26 13:05:34.730480 [DEBUG] switch_core_codec.c:111 sofia/internal/1000@192.168.0.2:5060 Original read codec set to PCMU:0 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4763 sofia/internal/1000@192.168.0.2:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/internal/1000@192.168.0.2:5060] 192.168.0.7 port 10034 -> 192.168.0.2 port 16398 codec: 0 ms: 20 2017-06-26 13:05:34.730480 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7175 sofia/internal/1000@192.168.0.2:5060 Set 2833 dtmf send payload to 101 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7182 sofia/internal/1000@192.168.0.2:5060 Set 2833 dtmf receive payload to 101 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7205 sofia/internal/1000@192.168.0.2:5060 Set rtp dtmf delay to 40 2017-06-26 13:05:34.730480 [NOTICE] sofia.c:8182 Channel [sofia/internal/1000@192.168.0.2:5060] has been answered 2017-06-26 13:05:34.730480 [DEBUG] switch_channel.c:3571 sofia/internal/1000@192.168.0.2:5060 process uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav: uuid_record(8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav) 2017-06-26 13:05:34.730480 [INFO] switch_ivr_async.c:2371 Sending early media 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/internal/1004@phone.mydomain.com] 192.168.0.7 port 10062 -> 10.220.224.191 port 51976 codec: 0 ms: 20 2017-06-26 13:05:34.730480 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7175 sofia/internal/1004@phone.mydomain.com Set 2833 dtmf send payload to 101 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7182 sofia/internal/1004@phone.mydomain.com Set 2833 dtmf receive payload to 101 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7205 sofia/internal/1004@phone.mydomain.com Set rtp dtmf delay to 40 2017-06-26 13:05:34.730480 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1498486672 1498486673 IN IP4 69.196.155.55 s=FreeSWITCH c=IN IP4 69.196.155.55 t=0 0 m=audio 10062 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2017-06-26 13:05:34.730480 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/internal/1004@phone.mydomain.com! 2017-06-26 13:05:34.730480 [DEBUG] switch_channel.c:3474 (sofia/internal/1004@phone.mydomain.com) Callstate Change RINGING -> EARLY send 1126 bytes to udp/[184.151.114.44]:9184 at 13:05:35.163087: ------------------------------------------------------------------------ SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport=9184;received=184.151.114.44 From: "1004";tag=9e709c2f To: ;tag=cem8gg93S3UjF Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 2 INVITE Contact: User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 222 Remote-Party-ID: "MK" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1498486672 1498486673 IN IP4 69.196.155.55 s=FreeSWITCH c=IN IP4 69.196.155.55 t=0 0 m=audio 10062 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 ------------------------------------------------------------------------ 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/internal/1004@phone.mydomain.com 2017-06-26 13:05:34.730480 [DEBUG] switch_channel.c:3773 (sofia/internal/1000@192.168.0.2:5060) Callstate Change RINGING -> ACTIVE 2017-06-26 13:05:34.730480 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [early][183] 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:6857 Audio params are unchanged for sofia/internal/1004@phone.mydomain.com. 2017-06-26 13:05:34.730480 [DEBUG] mod_sofia.c:850 Local SDP sofia/internal/1004@phone.mydomain.com: v=0 o=FreeSWITCH 1498486672 1498486674 IN IP4 69.196.155.55 s=FreeSWITCH c=IN IP4 69.196.155.55 t=0 0 m=audio 10062 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv send 1148 bytes to udp/[184.151.114.44]:9184 at 13:05:35.177771: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport=9184;received=184.151.114.44 From: "1004";tag=9e709c2f To: ;tag=cem8gg93S3UjF Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 2 INVITE Contact: User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 120;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 222 Remote-Party-ID: "MK" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1498486672 1498486673 IN IP4 69.196.155.55 s=FreeSWITCH c=IN IP4 69.196.155.55 t=0 0 m=audio 10062 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 ------------------------------------------------------------------------ 2017-06-26 13:05:34.730480 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/internal/1004@phone.mydomain.com] has been answered 2017-06-26 13:05:34.730480 [DEBUG] switch_channel.c:3773 (sofia/internal/1004@phone.mydomain.com) Callstate Change EARLY -> ACTIVE 2017-06-26 13:05:34.730480 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [completed][200] 2017-06-26 13:05:34.730480 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/internal/1000@192.168.0.2:5060] 2017-06-26 13:05:34.750490 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/internal/1000@192.168.0.2:5060] 2017-06-26 13:05:34.750490 [DEBUG] switch_ivr_bridge.c:1614 (sofia/internal/1000@192.168.0.2:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2017-06-26 13:05:34.750490 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 10) 2017-06-26 13:05:34.750490 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/1000@192.168.0.2:5060) State EXCHANGE_MEDIA 2017-06-26 13:05:34.750490 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2017-06-26 13:05:34.750490 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech recv 511 bytes from udp/[184.151.114.44]:9184 at 13:05:35.427109: ------------------------------------------------------------------------ ACK sip:1000@69.196.155.55:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---f269497403c44e28;rport Max-Forwards: 70 Contact: To: ;tag=cem8gg93S3UjF From: "1004";tag=9e709c2f Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 2 ACK User-Agent: Bria Android 3.9.4 build 97204 Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:35.010518 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [ready][200] recv 797 bytes from udp/[184.151.114.44]:9184 at 13:05:43.926970: ------------------------------------------------------------------------ BYE sip:1000@69.196.155.55:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---5ef4dc7ce028d025;rport Max-Forwards: 70 Contact: To: ;tag=cem8gg93S3UjF From: "1004";tag=9e709c2f Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 3 BYE Proxy-Authorization: Digest username="1004",realm="phone.mydomain.com",nonce="dfb78cee-ffdd-470a-92c5-af8d3ff7692f",uri="sip:1000@69.196.155.55:5060;transport=udp",response="8eb92e9034d9b913614b4d46126e071f",cnonce="114bc604630719e60eaff5d38eee5936",nc=00000002,qop=auth,algorithm=MD5 User-Agent: Bria Android 3.9.4 build 97204 Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:43.510478 [NOTICE] sofia.c:1012 Hangup sofia/internal/1004@phone.mydomain.com [CS_EXECUTE] [NORMAL_CLEARING] 2017-06-26 13:05:43.510478 [DEBUG] mod_hash.c:297 Usage for phone.mydomain.com_1000 is now 0 send 510 bytes to udp/[184.151.114.44]:9184 at 13:05:43.942057: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---5ef4dc7ce028d025;rport=9184;received=184.151.114.44 From: "1004";tag=9e709c2f To: ;tag=cem8gg93S3UjF Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk CSeq: 3 BYE User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:43.510478 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/internal/1004@phone.mydomain.com] 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/internal/1000@192.168.0.2:5060] 2017-06-26 13:05:43.530494 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/internal/1000@192.168.0.2:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/1000@192.168.0.2:5060) State EXCHANGE_MEDIA going to sleep 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_HANGUP (Cur 2 Tot 10) 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1000@192.168.0.2:5060) Callstate Change ACTIVE -> HANGUP 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@192.168.0.2:5060) State HANGUP 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:432 sofia/internal/1000@192.168.0.2:5060 Overriding SIP cause 480 with 200 from the other leg 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:438 Channel sofia/internal/1000@192.168.0.2:5060 hanging up, cause: NORMAL_CLEARING 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_bridge.c:1712 sofia/internal/1000@192.168.0.2:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_bridge.c:1715 sofia/internal/1004@phone.mydomain.com skip receive message [UNBRIDGE] (channel is hungup already) 2017-06-26 13:05:43.530494 [DEBUG] switch_core_session.c:2814 sofia/internal/1004@phone.mydomain.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1004@phone.mydomain.com) State EXECUTE going to sleep 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_HANGUP (Cur 2 Tot 10) 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/internal/1000@192.168.0.2:5060 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_async.c:1380 Channel is hung up send 545 bytes to udp/[192.168.0.2]:5060 at 13:05:43.960137: ------------------------------------------------------------------------ BYE sip:1000@192.168.0.2:5060 SIP/2.0 Via: SIP/2.0/UDP 69.196.155.55;rport;branch=z9hG4bK2amZgyaHXD7eK Max-Forwards: 70 From: "1004" ;tag=DQD1jBt7pcj5a To: ;tag=6665e9207b28ede3i0 Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f CSeq: 108912303 BYE User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Reason: Q.850;cause=16;text="NORMAL_CLEARING" Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1000@192.168.0.2:5060 Standard HANGUP, cause: NORMAL_CLEARING 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@192.168.0.2:5060) State HANGUP going to sleep 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1000@192.168.0.2:5060) State Change CS_HANGUP -> CS_REPORTING 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_REPORTING (Cur 2 Tot 10) 2017-06-26 13:05:43.530494 [DEBUG] switch_core_media_bug.c:1296 Removing BUG from sofia/internal/1004@phone.mydomain.com 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1004@phone.mydomain.com) Callstate Change ACTIVE -> HANGUP 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1004@phone.mydomain.com) State HANGUP 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:438 Channel sofia/internal/1004@phone.mydomain.com hanging up, cause: NORMAL_CLEARING 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@192.168.0.2:5060) State REPORTING 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1000@192.168.0.2:5060 Standard REPORTING, cause: NORMAL_CLEARING 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@192.168.0.2:5060) State REPORTING going to sleep 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1000@192.168.0.2:5060) State Change CS_REPORTING -> CS_DESTROY 2017-06-26 13:05:43.530494 [DEBUG] switch_core_session.c:1664 Session 10 (sofia/internal/1000@192.168.0.2:5060) Locked, Waiting on external entities 2017-06-26 13:05:43.530494 [NOTICE] switch_core_session.c:1682 Session 10 (sofia/internal/1000@192.168.0.2:5060) Ended 2017-06-26 13:05:43.530494 [NOTICE] switch_core_session.c:1686 Close Channel sofia/internal/1000@192.168.0.2:5060 [CS_DESTROY] 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1004@phone.mydomain.com Standard HANGUP, cause: NORMAL_CLEARING 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1004@phone.mydomain.com) State HANGUP going to sleep 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_DESTROY (Cur 1 Tot 10) 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@192.168.0.2:5060) State DESTROY 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:343 sofia/internal/1000@192.168.0.2:5060 SOFIA DESTROY 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1000@192.168.0.2:5060 Standard DESTROY 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@192.168.0.2:5060) State DESTROY going to sleep 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:783 Hangup Command with no Session lua(app.lua hangup): 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1004@phone.mydomain.com) State Change CS_HANGUP -> CS_REPORTING 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_REPORTING (Cur 1 Tot 10) 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1004@phone.mydomain.com) State REPORTING recv 319 bytes from udp/[192.168.0.2]:5060 at 13:05:43.978279: ------------------------------------------------------------------------ SIP/2.0 200 OK To: ;tag=6665e9207b28ede3i0 From: "1004" ;tag=DQD1jBt7pcj5a Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f CSeq: 108912303 BYE Via: SIP/2.0/UDP 69.196.155.55;branch=z9hG4bK2amZgyaHXD7eK Server: Linksys/SPA3000-3.1.20(GW) Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1004@phone.mydomain.com Standard REPORTING, cause: NORMAL_CLEARING 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1004@phone.mydomain.com) State REPORTING going to sleep 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1004@phone.mydomain.com) State Change CS_REPORTING -> CS_DESTROY 2017-06-26 13:05:43.590496 [DEBUG] switch_core_session.c:1664 Session 9 (sofia/internal/1004@phone.mydomain.com) Locked, Waiting on external entities 2017-06-26 13:05:43.590496 [NOTICE] switch_core_session.c:1682 Session 9 (sofia/internal/1004@phone.mydomain.com) Ended 2017-06-26 13:05:43.590496 [NOTICE] switch_core_session.c:1686 Close Channel sofia/internal/1004@phone.mydomain.com [CS_DESTROY] 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_DESTROY (Cur 0 Tot 10) 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1004@phone.mydomain.com) State DESTROY 2017-06-26 13:05:43.590496 [DEBUG] mod_sofia.c:343 sofia/internal/1004@phone.mydomain.com SOFIA DESTROY 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1004@phone.mydomain.com Standard DESTROY 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1004@phone.mydomain.com) State DESTROY going to sleep recv 726 bytes from udp/[192.168.0.2]:5060 at 13:05:44.537057: ------------------------------------------------------------------------ REGISTER sip:phone.mydomain.com SIP/2.0 Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK-7b9d2aed From: MK ;tag=4807dda592efea38o0 To: MK Call-ID: be665072-3a3ccd20@192.168.0.2 CSeq: 51312 REGISTER Max-Forwards: 70 Authorization: Digest username="1000",realm="phone.mydomain.com",nonce="2a27e7fe-5d08-4bc0-8dd0-6698e138fd83",uri="sip:phone.mydomain.com",algorithm=MD5,response="aab2fc33a681cf0e974440f1b4e3944d",qop=auth,nc=00000004,cnonce="6c2657ab" Contact: MK ;expires=120 User-Agent: Linksys/SPA3000-3.1.20(GW) Content-Length: 0 Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER Supported: x-sipura, replaces ------------------------------------------------------------------------ send 543 bytes to udp/[192.168.0.2]:5060 at 13:05:44.542406: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK-7b9d2aed;rport=5060 From: MK ;tag=4807dda592efea38o0 To: MK ;tag=e06Sm6aBmN8Qp Call-ID: be665072-3a3ccd20@192.168.0.2 CSeq: 51312 REGISTER Contact: ;expires=120 Date: Mon, 26 Jun 2017 17:05:44 GMT User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Content-Length: 0 ------------------------------------------------------------------------ recv 756 bytes from udp/[192.168.0.2]:5061 at 13:05:44.566026: ------------------------------------------------------------------------ REGISTER sip:phone.mydomain.com SIP/2.0 Via: SIP/2.0/UDP 192.168.0.2:5061;branch=z9hG4bK-115b52bf From: Num. externe ;tag=3f3b3a3d25d67680o1 To: Num. externe Call-ID: 160ff728-ff2d65e2@192.168.0.2 CSeq: 13974 REGISTER Max-Forwards: 70 Authorization: Digest username="1001",realm="phone.mydomain.com",nonce="f5dfbf98-6ff3-46da-a63c-607a273318df",uri="sip:phone.mydomain.com",algorithm=MD5,response="f458e14c5fc091d8c1479c2308287580",qop=auth,nc=00000004,cnonce="737de076" Contact: Num. externe ;expires=120 User-Agent: Linksys/SPA3000-3.1.20(GW) Content-Length: 0 Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER Supported: x-sipura, replaces ------------------------------------------------------------------------ send 563 bytes to udp/[192.168.0.2]:5061 at 13:05:44.571045: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.2:5061;branch=z9hG4bK-115b52bf;rport=5061 From: Num. externe ;tag=3f3b3a3d25d67680o1 To: Num. externe ;tag=F9Zjp1UeHyyaj Call-ID: 160ff728-ff2d65e2@192.168.0.2 CSeq: 13974 REGISTER Contact: ;expires=120 Date: Mon, 26 Jun 2017 17:05:44 GMT User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Content-Length: 0 ------------------------------------------------------------------------ recv 573 bytes from udp/[184.151.114.44]:9184 at 13:05:46.606154: ------------------------------------------------------------------------ REGISTER sip:phone.mydomain.com SIP/2.0 Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---246d8f531f8e807a;rport Max-Forwards: 70 Contact: To: "1004" From: "1004";tag=58cc8157 Call-ID: 142520_rel51ZThhMTEzOGY2N2NiOGRlMDkxZTg4YWE2YmVjOGVkNmU CSeq: 1 REGISTER Expires: 60 Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE User-Agent: Bria Android 3.9.4 build 97204 Content-Length: 0 ------------------------------------------------------------------------ 2017-06-26 13:05:46.170528 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'internal' for [1004@phone.mydomain.com] from ip 184.151.114.44 send 658 bytes to udp/[184.151.114.44]:9184 at 13:05:46.606657: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---246d8f531f8e807a;rport=9184;received=184.151.114.44 From: "1004";tag=58cc8157 To: "1004" ;tag=gjSBrvcje7mXD Call-ID: 142520_rel51ZThhMTEzOGY2N2NiOGRlMDkxZTg4YWE2YmVjOGVkNmU CSeq: 1 REGISTER User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces WWW-Authenticate: Digest realm="phone.mydomain.com", nonce="03717b5a-6562-47c5-94ad-26c6b8d06016", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ freeswitch@phone.mydomain.com> /exit mo@phone:~$