2016-05-23 12:56:37.063443 [NOTICE] switch_channel.c:1104 New Channel sofia/external/7085143073@64.7.96.3 [1c925609-1e2d-4a99-88ed-0dcde9b8afe9] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:543 (sofia/external/7085143073@64.7.96.3) Running State Change CS_NEW 2016-05-23 12:56:37.063443 [DEBUG] sofia.c:9376 sofia/external/7085143073@64.7.96.3 receiving invite from 64.7.96.3:5060 version: 1.6.8 -15-99de0ad 64bit 2016-05-23 12:56:37.063443 [DEBUG] sofia.c:6858 Channel sofia/external/7085143073@64.7.96.3 entering state [received][100] 2016-05-23 12:56:37.063443 [DEBUG] sofia.c:6868 Remote SDP: v=0 o=CiscoSystemsSIP-GW-UserAgent 9624 7114 IN IP4 64.7.96.5 s=SIP Call c=IN IP4 64.7.96.3 t=0 0 m=audio 62922 RTP/AVP 0 18 101 c=IN IP4 64.7.96.3 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=yes a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:3864 Activate Buggy RFC2833 Mode! 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:3090 Set Codec sofia/external/7085143073@64.7.96.3 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2016-05-23 12:56:37.063443 [DEBUG] switch_core_codec.c:111 sofia/external/7085143073@64.7.96.3 Original read codec set to PCMU:0 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000 2016-05-23 12:56:37.063443 [DEBUG] switch_core_media.c:4681 sofia/external/7085143073@64.7.96.3 Set 2833 dtmf send payload to 101 recv payload to 101 2016-05-23 12:56:37.063443 [DEBUG] sofia.c:7248 (sofia/external/7085143073@64.7.96.3) State Change CS_NEW -> CS_INIT 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:562 (sofia/external/7085143073@64.7.96.3) State NEW 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:543 (sofia/external/7085143073@64.7.96.3) Running State Change CS_INIT 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:586 (sofia/external/7085143073@64.7.96.3) State INIT 2016-05-23 12:56:37.063443 [DEBUG] mod_sofia.c:89 sofia/external/7085143073@64.7.96.3 SOFIA INIT 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:40 sofia/external/7085143073@64.7.96.3 Standard INIT 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:48 (sofia/external/7085143073@64.7.96.3) State Change CS_INIT -> CS_ROUTING 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:586 (sofia/external/7085143073@64.7.96.3) State INIT going to sleep 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:543 (sofia/external/7085143073@64.7.96.3) Running State Change CS_ROUTING 2016-05-23 12:56:37.063443 [DEBUG] switch_channel.c:2249 (sofia/external/7085143073@64.7.96.3) Callstate Change DOWN -> RINGING 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:602 (sofia/external/7085143073@64.7.96.3) State ROUTING 2016-05-23 12:56:37.063443 [DEBUG] mod_sofia.c:142 sofia/external/7085143073@64.7.96.3 SOFIA ROUTING 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:236 sofia/external/7085143073@64.7.96.3 Standard ROUTING 2016-05-23 12:56:37.063443 [INFO] mod_dialplan_xml.c:637 Processing SACHNOFF BRENT <7085143073>->7085871871 in context public Dialplan: sofia/external/7085143073@64.7.96.3 parsing [public->7085871871] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [7085871871] destination_number(7085871871) =~ /^(7085871871)$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 Action set(call_direction=inbound) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(domain_uuid=789b8059-92f1-4248-ac16-086cf3a45bd3) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(domain_name=bes1.sip.urbancom.net) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(domain=bes1.sip.urbancom.net) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(effective_caller_id_name=Brent Sachnoff#${caller_id_name}) Dialplan: sofia/external/7085143073@64.7.96.3 Action transfer(1001 XML bes1.sip.urbancom.net) 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:286 (sofia/external/7085143073@64.7.96.3) State Change CS_ROUTING -> CS_EXECUTE 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:602 (sofia/external/7085143073@64.7.96.3) State ROUTING going to sleep 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:543 (sofia/external/7085143073@64.7.96.3) Running State Change CS_EXECUTE 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:609 (sofia/external/7085143073@64.7.96.3) State EXECUTE 2016-05-23 12:56:37.063443 [DEBUG] mod_sofia.c:197 sofia/external/7085143073@64.7.96.3 SOFIA EXECUTE 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:328 sofia/external/7085143073@64.7.96.3 Standard EXECUTE EXECUTE sofia/external/7085143073@64.7.96.3 set(call_direction=inbound) 2016-05-23 12:56:37.063443 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [call_direction]=[inbound] EXECUTE sofia/external/7085143073@64.7.96.3 set(domain_uuid=789b8059-92f1-4248-ac16-086cf3a45bd3) 2016-05-23 12:56:37.063443 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [domain_uuid]=[789b8059-92f1-4248-ac16-086cf3a45bd3] EXECUTE sofia/external/7085143073@64.7.96.3 set(domain_name=bes1.sip.urbancom.net) 2016-05-23 12:56:37.063443 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [domain_name]=[bes1.sip.urbancom.net] EXECUTE sofia/external/7085143073@64.7.96.3 set(domain=bes1.sip.urbancom.net) 2016-05-23 12:56:37.063443 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [domain]=[bes1.sip.urbancom.net] EXECUTE sofia/external/7085143073@64.7.96.3 set(effective_caller_id_name=Brent Sachnoff#SACHNOFF BRENT ) 2016-05-23 12:56:37.063443 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [effective_caller_id_name]=[Brent Sachnoff#SACHNOFF BRENT ] EXECUTE sofia/external/7085143073@64.7.96.3 transfer(1001 XML bes1.sip.urbancom.net) 2016-05-23 12:56:37.063443 [DEBUG] switch_ivr.c:2160 (sofia/external/7085143073@64.7.96.3) State Change CS_EXECUTE -> CS_ROUTING 2016-05-23 12:56:37.063443 [NOTICE] switch_ivr.c:2167 Transfer sofia/external/7085143073@64.7.96.3 to XML[1001@bes1.sip.urbancom.net] 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:609 (sofia/external/7085143073@64.7.96.3) State EXECUTE going to sleep 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:543 (sofia/external/7085143073@64.7.96.3) Running State Change CS_ROUTING 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:602 (sofia/external/7085143073@64.7.96.3) State ROUTING 2016-05-23 12:56:37.063443 [DEBUG] mod_sofia.c:142 sofia/external/7085143073@64.7.96.3 SOFIA ROUTING 2016-05-23 12:56:37.063443 [DEBUG] switch_core_state_machine.c:236 sofia/external/7085143073@64.7.96.3 Standard ROUTING 2016-05-23 12:56:37.063443 [INFO] mod_dialplan_xml.c:637 Processing SACHNOFF BRENT <7085143073>->1001 in context bes1.sip.urbancom.net 2016-05-23 12:56:37.063443 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fc9b4046c30 Connected. 2016-05-23 12:56:37.104457 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fc9b4046c30 released. Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->user_exists] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [user_exists] () =~ // break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE EXECUTE sofia/external/7085143073@64.7.96.3 set(user_exists=true) 2016-05-23 12:56:37.104457 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [user_exists]=[true] Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [user_exists] ${user_exists}(true) =~ /^true$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 Action set(extension_uuid=${user_data ${destination_number}@${domain_name} var extension_uuid}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(hold_music=${user_data ${destination_number}@${domain_name} var hold_music}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(forward_all_enabled=${user_data ${destination_number}@${domain_name} var forward_all_enabled}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(forward_all_destination=${user_data ${destination_number}@${domain_name} var forward_all_destination}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(forward_busy_enabled=${user_data ${destination_number}@${domain_name} var forward_busy_enabled}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(forward_busy_destination=${user_data ${destination_number}@${domain_name} var forward_busy_destination}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(forward_no_answer_enabled=${user_data ${destination_number}@${domain_name} var forward_no_answer_enabled}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(forward_no_answer_destination=${user_data ${destination_number}@${domain_name} var forward_no_answer_destination}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(forward_user_not_registered_enabled=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_enabled}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(forward_user_not_registered_destination=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_destination}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(do_not_disturb=${user_data ${destination_number}@${domain_name} var do_not_disturb}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(call_timeout=${user_data ${destination_number}@${domain_name} var call_timeout}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(missed_call_app=${user_data ${destination_number}@${domain_name} var missed_call_app}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(missed_call_data=${user_data ${destination_number}@${domain_name} var missed_call_data}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(call_screen_enabled=${user_data ${destination_number}@${domain_name} var call_screen_enabled}) INLINE EXECUTE sofia/external/7085143073@64.7.96.3 set(call_screen_enabled=false) 2016-05-23 12:56:37.104457 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [call_screen_enabled]=[false] Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->call-direction] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [call-direction] ${call_direction}(inbound) =~ /^(inbound|outbound|local)$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->variables] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [variables] () =~ // break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 Action export(origination_callee_id_name=${destination_number}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->user_record] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [user_record] () =~ // break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 Action set(user_record=${user_data ${destination_number}@${domain_name} var user_record}) INLINE EXECUTE sofia/external/7085143073@64.7.96.3 set(user_record=) 2016-05-23 12:56:37.104457 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [user_record]=[UNDEF] Dialplan: sofia/external/7085143073@64.7.96.3 Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE 2016-05-23 12:56:37.104457 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fc9b4046c30 Connected. 2016-05-23 12:56:37.104457 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fc9b4046c30 released. EXECUTE sofia/external/7085143073@64.7.96.3 set(from_user_exists=false) 2016-05-23 12:56:37.104457 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [from_user_exists]=[false] Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [user_record] ${call_direction}(inbound) =~ /^inbound$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^outbound$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^local$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [user_record] ${call_direction}(inbound) =~ /^inbound$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^outbound$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^local$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->redial] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [redial] destination_number(1001) =~ /^(redial|\*870)$/ break=on-true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [redial] () =~ // break=never Dialplan: sofia/external/7085143073@64.7.96.3 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->sip.urbancom.net.11d] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [sip.urbancom.net.11d] destination_number(1001) =~ /^\+?(\d{11})$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->agent_status] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [agent_status] destination_number(1001) =~ /^\*22$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->agent_status_id] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [agent_status_id] destination_number(1001) =~ /^\*23$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->group-intercept] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [group-intercept] destination_number(1001) =~ /^\*8$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->page-extension] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [page-extension] destination_number(1001) =~ /^\*8(\d{2,7})$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->eavesdrop] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [eavesdrop] destination_number(1001) =~ /^\*33(\d{2,7})$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->call_privacy] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [call_privacy] destination_number(1001) =~ /^\*67(\d+)$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->call_return] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [call_return] destination_number(1001) =~ /^\*69$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->extension_queue] continue= Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [extension_queue] destination_number(1001) =~ /^\*800(.*)$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->intercept-ext] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [intercept-ext] destination_number(1001) =~ /^\*\*(\d+)$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->intercept-ext-polycom] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [intercept-ext-polycom] destination_number(1001) =~ /^\*97(\d+)$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->BES_Time_Condition_Test] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [BES_Time_Condition_Test] destination_number(1001) =~ /^1001$/ break=on-false 2016-05-23 12:56:37.104457 [DEBUG] switch_xml.c:3053 XML DateTime Check: date time[2016-05-23 12:56:37] =~ 2016-05-23 12:55~2016-05-23 14:00 (FAIL) Dialplan: sofia/external/7085143073@64.7.96.3 Date/TimeMatch (FAIL) [BES_Time_Condition_Test] break=never Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->dx] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [dx] destination_number(1001) =~ /^dx$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->att_xfer] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [att_xfer] destination_number(1001) =~ /^att_xfer$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->extension-to-voicemail] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [extension-to-voicemail] username(7085143073) =~ /^7085143073$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [extension-to-voicemail] destination_number(1001) =~ /^7085143073$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->send_to_voicemail] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [send_to_voicemail] destination_number(1001) =~ /^\*99(\d{2,7})$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->vmain] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [vmain] destination_number(1001) =~ /^vmain$|^\*4000$|^\*98$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->xfer_vm] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [xfer_vm] destination_number(1001) =~ /^xfer_vm$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->is_transfer] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [is_transfer] destination_number(1001) =~ /^is_transfer$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->vmain_user] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [vmain_user] destination_number(1001) =~ /^\*97$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->BES1-Conf] continue= Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [BES1-Conf] destination_number(1001) =~ /^7085871875$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->BES1-IVR] continue= Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [BES1-IVR] destination_number(1001) =~ /^1000$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->cf] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [cf] destination_number(1001) =~ /^cf$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->delay_echo] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [delay_echo] destination_number(1001) =~ /^\*9195$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->echo] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [echo] destination_number(1001) =~ /^\*9196$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->is_zrtp_secure] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 ANTI-Action eval(not_secure) Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->milliwatt] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [milliwatt] destination_number(1001) =~ /^\*9197$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->is_secure] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->tone_stream] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [tone_stream] destination_number(1001) =~ /^\*9198$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->hold_music] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [hold_music] destination_number(1001) =~ /^\*9664$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->recordings] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [recordings] destination_number(1001) =~ /^\*(732)$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->directory] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [directory] destination_number(1001) =~ /^\*411$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->wake-up] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [wake-up] destination_number(1001) =~ /^\*(925)$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->valet_park] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [valet_park] destination_number(1001) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [valet_park] destination_number(1001) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [valet_park] destination_number(1001) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->operator] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [operator] destination_number(1001) =~ /^0$|^operator$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->operator-forward] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [operator-forward] destination_number(1001) =~ /^\*000$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->do-not-disturb] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [do-not-disturb] destination_number(1001) =~ /^\*78$|\*363$/ break=on-true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [do-not-disturb] destination_number(1001) =~ /^\*79$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->call-forward] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [call-forward] destination_number(1001) =~ /^\*72$/ break=on-true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [call-forward] destination_number(1001) =~ /^\*73$/ break=on-true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [call-forward] destination_number(1001) =~ /^\*74$/ break=on-true Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->follow-me] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [follow-me] destination_number(1001) =~ /^\*21$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->clear_sip_auto_answer] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->call_screen] continue=true Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 parsing [bes1.sip.urbancom.net->local_extension] continue=false Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [local_extension] ${user_exists}(true) =~ /true/ break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 Action export(dialed_extension=${destination_number}) INLINE EXECUTE sofia/external/7085143073@64.7.96.3 export(dialed_extension=1001) 2016-05-23 12:56:37.143371 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[1001] Dialplan: sofia/external/7085143073@64.7.96.3 Action limit(hash ${domain_name} ${destination_number} ${limit_max} ${limit_destination}) Dialplan: sofia/external/7085143073@64.7.96.3 Regex (FAIL) [local_extension] ${sip_authorized}() =~ /true/ break=never Dialplan: sofia/external/7085143073@64.7.96.3 ANTI-Action set(bind_target=both) INLINE EXECUTE sofia/external/7085143073@64.7.96.3 set(bind_target=both) 2016-05-23 12:56:37.143371 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [bind_target]=[both] Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [local_extension] () =~ // break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 Action bind_digit_action(local,*1,exec:execute_extension,dx XML ${context},${bind_target}) Dialplan: sofia/external/7085143073@64.7.96.3 Action bind_digit_action(local,*2,exec:record_session,${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext},${bind_target}) Dialplan: sofia/external/7085143073@64.7.96.3 Action bind_digit_action(local,*3,exec:execute_extension,cf XML ${context},${bind_target}) Dialplan: sofia/external/7085143073@64.7.96.3 Action bind_digit_action(local,*4,exec:execute_extension,att_xfer XML ${context},${bind_target}) Dialplan: sofia/external/7085143073@64.7.96.3 Action digit_action_set_realm(local) Dialplan: sofia/external/7085143073@64.7.96.3 Regex (PASS) [local_extension] () =~ // break=on-false Dialplan: sofia/external/7085143073@64.7.96.3 Action set(hangup_after_bridge=true) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(continue_on_fail=true) Dialplan: sofia/external/7085143073@64.7.96.3 Action hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}) Dialplan: sofia/external/7085143073@64.7.96.3 Action hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(called_party_call_group=${user_data(${dialed_extension}@${domain_name} var call_group)}) Dialplan: sofia/external/7085143073@64.7.96.3 Action hash(insert/${domain_name}-last_dial/${called_party_call_group}/${uuid}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(api_hangup_hook=lua app.lua hangup) Dialplan: sofia/external/7085143073@64.7.96.3 Action bridge(user/${destination_number}@${domain_name}) Dialplan: sofia/external/7085143073@64.7.96.3 Action lua(app.lua failure_handler) Dialplan: sofia/external/7085143073@64.7.96.3 Action sleep(1000) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(voicemail_action=save) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(voicemail_id=${dialed_extension}) Dialplan: sofia/external/7085143073@64.7.96.3 Action set(voicemail_profile=default) Dialplan: sofia/external/7085143073@64.7.96.3 Action lua(app.lua voicemail) 2016-05-23 12:56:37.143371 [DEBUG] switch_core_state_machine.c:286 (sofia/external/7085143073@64.7.96.3) State Change CS_ROUTING -> CS_EXECUTE 2016-05-23 12:56:37.143371 [DEBUG] switch_core_state_machine.c:602 (sofia/external/7085143073@64.7.96.3) State ROUTING going to sleep 2016-05-23 12:56:37.143371 [DEBUG] switch_core_state_machine.c:543 (sofia/external/7085143073@64.7.96.3) Running State Change CS_EXECUTE 2016-05-23 12:56:37.143371 [DEBUG] switch_core_state_machine.c:609 (sofia/external/7085143073@64.7.96.3) State EXECUTE 2016-05-23 12:56:37.143371 [DEBUG] mod_sofia.c:197 sofia/external/7085143073@64.7.96.3 SOFIA EXECUTE 2016-05-23 12:56:37.143371 [DEBUG] switch_core_state_machine.c:328 sofia/external/7085143073@64.7.96.3 Standard EXECUTE EXECUTE sofia/external/7085143073@64.7.96.3 set(extension_uuid=8dda756a-8d4d-4472-af6c-96d4f8bc43f6) 2016-05-23 12:56:37.143371 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [extension_uuid]=[8dda756a-8d4d-4472-af6c-96d4f8bc43f6] EXECUTE sofia/external/7085143073@64.7.96.3 set(hold_music=) 2016-05-23 12:56:37.143371 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [hold_music]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(forward_all_enabled=) 2016-05-23 12:56:37.143371 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [forward_all_enabled]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(forward_all_destination=) 2016-05-23 12:56:37.143371 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [forward_all_destination]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(forward_busy_enabled=) 2016-05-23 12:56:37.163362 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [forward_busy_enabled]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(forward_busy_destination=) 2016-05-23 12:56:37.163362 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [forward_busy_destination]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(forward_no_answer_enabled=) 2016-05-23 12:56:37.163362 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [forward_no_answer_enabled]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(forward_no_answer_destination=) 2016-05-23 12:56:37.163362 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [forward_no_answer_destination]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(forward_user_not_registered_enabled=) 2016-05-23 12:56:37.183373 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [forward_user_not_registered_enabled]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(forward_user_not_registered_destination=) 2016-05-23 12:56:37.183373 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [forward_user_not_registered_destination]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(do_not_disturb=) 2016-05-23 12:56:37.183373 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [do_not_disturb]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(call_timeout=30) 2016-05-23 12:56:37.183373 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [call_timeout]=[30] EXECUTE sofia/external/7085143073@64.7.96.3 set(missed_call_app=) 2016-05-23 12:56:37.203366 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [missed_call_app]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 set(missed_call_data=) 2016-05-23 12:56:37.203366 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [missed_call_data]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 export(origination_callee_id_name=1001) 2016-05-23 12:56:37.203366 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[1001] EXECUTE sofia/external/7085143073@64.7.96.3 set(RFC2822_DATE=Mon, 23 May 2016 12:56:37 -0500) 2016-05-23 12:56:37.203366 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [RFC2822_DATE]=[Mon, 23 May 2016 12:56:37 -0500] EXECUTE sofia/external/7085143073@64.7.96.3 hash(insert/bes1.sip.urbancom.net-last_dial/7085143073/1001) EXECUTE sofia/external/7085143073@64.7.96.3 eval(not_secure) EXECUTE sofia/external/7085143073@64.7.96.3 limit(hash bes1.sip.urbancom.net 1001 ) 2016-05-23 12:56:37.203366 [DEBUG] switch_limit.c:126 incr called: bes1.sip.urbancom.net_1001 max:-1, interval:0 2016-05-23 12:56:37.203366 [DEBUG] mod_hash.c:194 Usage for bes1.sip.urbancom.net_1001 is now 1 EXECUTE sofia/external/7085143073@64.7.96.3 bind_digit_action(local,*1,exec:execute_extension,dx XML bes1.sip.urbancom.net,both) 2016-05-23 12:56:37.203366 [INFO] switch_ivr_async.c:214 Digit parser DPTOOLS: Setting realm to 'local' 2016-05-23 12:56:37.203366 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *1/local/0 callback: 0x7fca23115850 data: 0x7fc9b40259e8 2016-05-23 12:56:37.203366 [INFO] switch_ivr_async.c:214 Digit parser DPTOOLS: Setting realm to 'local' 2016-05-23 12:56:37.203366 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *1/local/0 callback: 0x7fca23115850 data: 0x7fc9b4025a60 EXECUTE sofia/external/7085143073@64.7.96.3 bind_digit_action(local,*2,exec:record_session,/var/lib/freeswitch/recordings/bes1.sip.urbancom.net/archive/2016/May/23/1c925609-1e2d-4a99-88ed-0dcde9b8afe9.wav,both) 2016-05-23 12:56:37.203366 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *2/local/0 callback: 0x7fca23115850 data: 0x7fc9b4001878 2016-05-23 12:56:37.203366 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *2/local/0 callback: 0x7fca23115850 data: 0x7fc9b4001948 EXECUTE sofia/external/7085143073@64.7.96.3 bind_digit_action(local,*3,exec:execute_extension,cf XML bes1.sip.urbancom.net,both) 2016-05-23 12:56:37.203366 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *3/local/0 callback: 0x7fca23115850 data: 0x7fc9b4001b00 2016-05-23 12:56:37.203366 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *3/local/0 callback: 0x7fca23115850 data: 0x7fc9b4001b78 EXECUTE sofia/external/7085143073@64.7.96.3 bind_digit_action(local,*4,exec:execute_extension,att_xfer XML bes1.sip.urbancom.net,both) 2016-05-23 12:56:37.203366 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *4/local/0 callback: 0x7fca23115850 data: 0x7fc9b4001cd8 2016-05-23 12:56:37.203366 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *4/local/0 callback: 0x7fca23115850 data: 0x7fc9b4001d58 EXECUTE sofia/external/7085143073@64.7.96.3 digit_action_set_realm(local) 2016-05-23 12:56:37.203366 [INFO] switch_ivr_async.c:214 Digit parser DPTOOLS: Setting realm to 'local' EXECUTE sofia/external/7085143073@64.7.96.3 set(hangup_after_bridge=true) 2016-05-23 12:56:37.203366 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [hangup_after_bridge]=[true] EXECUTE sofia/external/7085143073@64.7.96.3 set(continue_on_fail=true) 2016-05-23 12:56:37.203366 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [continue_on_fail]=[true] EXECUTE sofia/external/7085143073@64.7.96.3 hash(insert/bes1.sip.urbancom.net-call_return/1001/7085143073) EXECUTE sofia/external/7085143073@64.7.96.3 hash(insert/bes1.sip.urbancom.net-last_dial_ext/1001/1c925609-1e2d-4a99-88ed-0dcde9b8afe9) EXECUTE sofia/external/7085143073@64.7.96.3 set(called_party_call_group=) 2016-05-23 12:56:37.203366 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [called_party_call_group]=[UNDEF] EXECUTE sofia/external/7085143073@64.7.96.3 hash(insert/bes1.sip.urbancom.net-last_dial//1c925609-1e2d-4a99-88ed-0dcde9b8afe9) EXECUTE sofia/external/7085143073@64.7.96.3 set(api_hangup_hook=lua app.lua hangup) 2016-05-23 12:56:37.203366 [DEBUG] mod_dptools.c:1519 SET sofia/external/7085143073@64.7.96.3 [api_hangup_hook]=[lua app.lua hangup] EXECUTE sofia/external/7085143073@64.7.96.3 bridge(user/1001@bes1.sip.urbancom.net) 2016-05-23 12:56:37.203366 [DEBUG] switch_channel.c:1250 sofia/external/7085143073@64.7.96.3 EXPORTING[export_vars] [dialed_extension]=[1001] to event 2016-05-23 12:56:37.203366 [DEBUG] switch_channel.c:1250 sofia/external/7085143073@64.7.96.3 EXPORTING[export_vars] [origination_callee_id_name]=[1001] to event 2016-05-23 12:56:37.203366 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2016-05-23 12:56:37.223374 [DEBUG] switch_channel.c:1250 sofia/external/7085143073@64.7.96.3 EXPORTING[export_vars] [dialed_extension]=[1001] to event 2016-05-23 12:56:37.223374 [DEBUG] switch_channel.c:1250 sofia/external/7085143073@64.7.96.3 EXPORTING[export_vars] [origination_callee_id_name]=[1001] to event 2016-05-23 12:56:37.223374 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2016-05-23 12:56:37.223374 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1001@73.72.98.76:3685 [2e5ee395-3c55-48cd-90b9-b92514a7c47e] 2016-05-23 12:56:37.223374 [DEBUG] mod_sofia.c:4813 (sofia/internal/1001@73.72.98.76:3685) State Change CS_NEW -> CS_INIT 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/1001@73.72.98.76:3685) Running State Change CS_INIT 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:586 (sofia/internal/1001@73.72.98.76:3685) State INIT 2016-05-23 12:56:37.223374 [DEBUG] mod_sofia.c:89 sofia/internal/1001@73.72.98.76:3685 SOFIA INIT 2016-05-23 12:56:37.223374 [DEBUG] sofia_glue.c:1257 sofia/internal/1001@73.72.98.76:3685 sending invite version: 1.6.8 -15-99de0ad 64bit Local SDP: v=0 o=FreeSWITCH 1464004101 1464004102 IN IP4 10.20.12.50 s=FreeSWITCH c=IN IP4 10.20.12.50 t=0 0 m=audio 22096 RTP/AVP 9 0 8 3 101 13 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/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 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1001@73.72.98.76:3685 Standard INIT 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1001@73.72.98.76:3685) State Change CS_INIT -> CS_ROUTING 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:586 (sofia/internal/1001@73.72.98.76:3685) State INIT going to sleep 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/1001@73.72.98.76:3685) Running State Change CS_ROUTING 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/1001@73.72.98.76:3685) State ROUTING 2016-05-23 12:56:37.223374 [DEBUG] mod_sofia.c:142 sofia/internal/1001@73.72.98.76:3685 SOFIA ROUTING 2016-05-23 12:56:37.223374 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/1001@73.72.98.76:3685) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/1001@73.72.98.76:3685) State ROUTING going to sleep 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/1001@73.72.98.76:3685) Running State Change CS_CONSUME_MEDIA 2016-05-23 12:56:37.223374 [DEBUG] sofia.c:6858 Channel sofia/internal/1001@73.72.98.76:3685 entering state [calling][0] 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:621 (sofia/internal/1001@73.72.98.76:3685) State CONSUME_MEDIA 2016-05-23 12:56:37.223374 [DEBUG] switch_core_state_machine.c:621 (sofia/internal/1001@73.72.98.76:3685) State CONSUME_MEDIA going to sleep 2016-05-23 12:56:37.303376 [DEBUG] sofia.c:6858 Channel sofia/internal/1001@73.72.98.76:3685 entering state [proceeding][180] 2016-05-23 12:56:37.303376 [NOTICE] sofia.c:6960 Ring-Ready sofia/internal/1001@73.72.98.76:3685! 2016-05-23 12:56:37.303376 [DEBUG] switch_channel.c:3343 (sofia/internal/1001@73.72.98.76:3685) Callstate Change DOWN -> RINGING 2016-05-23 12:56:37.303376 [INFO] switch_ivr_originate.c:1215 Sending early media 2016-05-23 12:56:37.303376 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/external/7085143073@64.7.96.3] 10.20.12.50 port 18374 -> 64.7.96.3 port 62922 codec: 0 ms: 20 2016-05-23 12:56:37.303376 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms 2016-05-23 12:56:37.303376 [DEBUG] switch_core_media.c:6763 sofia/external/7085143073@64.7.96.3 Set 2833 dtmf send payload to 101 2016-05-23 12:56:37.303376 [DEBUG] switch_core_media.c:6770 sofia/external/7085143073@64.7.96.3 Set 2833 dtmf receive payload to 101 2016-05-23 12:56:37.303376 [DEBUG] switch_core_media.c:6793 sofia/external/7085143073@64.7.96.3 Set rtp dtmf delay to 40 2016-05-23 12:56:37.303376 [DEBUG] mod_sofia.c:2367 Ring SDP: v=0 o=FreeSWITCH 1464007823 1464007824 IN IP4 64.7.99.50 s=FreeSWITCH c=IN IP4 64.7.99.50 t=0 0 m=audio 18374 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 2016-05-23 12:56:37.303376 [NOTICE] mod_sofia.c:2370 Pre-Answer sofia/external/7085143073@64.7.96.3! 2016-05-23 12:56:37.303376 [DEBUG] switch_channel.c:3471 (sofia/external/7085143073@64.7.96.3) Callstate Change RINGING -> EARLY 2016-05-23 12:56:37.303376 [DEBUG] switch_ivr_originate.c:1273 Raw Codec Activation Success L16@8000hz 1 channel 20ms 2016-05-23 12:56:37.303376 [DEBUG] switch_core_codec.c:221 sofia/external/7085143073@64.7.96.3 Push codec L16:100 2016-05-23 12:56:37.303376 [DEBUG] switch_ivr_originate.c:1342 Play Ringback Tone [%(2000,4000,440,480)] 2016-05-23 12:56:37.323371 [DEBUG] sofia.c:6858 Channel sofia/external/7085143073@64.7.96.3 entering state [early][183] 2016-05-23 12:56:37.503443 [DEBUG] switch_rtp.c:6707 Correct audio ip/port confirmed. freeswitch@fusionpbx01-beta> freeswitch@fusionpbx01-beta> freeswitch@fusionpbx01-beta> freeswitch@fusionpbx01-beta> freeswitch@fusionpbx01-beta> freeswitch@fusionpbx01-beta> 2016-05-23 12:56:44.423389 [DEBUG] sofia.c:6858 Channel sofia/external/7085143073@64.7.96.3 entering state [terminated][487] 2016-05-23 12:56:44.423389 [NOTICE] sofia.c:7881 Hangup sofia/external/7085143073@64.7.96.3 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2016-05-23 12:56:44.423389 [DEBUG] mod_hash.c:297 Usage for bes1.sip.urbancom.net_1001 is now 0 2016-05-23 12:56:44.423389 [DEBUG] switch_core_codec.c:246 sofia/external/7085143073@64.7.96.3 Restore previous codec PCMU:0. 2016-05-23 12:56:44.423389 [NOTICE] switch_ivr_originate.c:3522 Hangup sofia/internal/1001@73.72.98.76:3685 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL] 2016-05-23 12:56:44.423389 [DEBUG] switch_ivr_originate.c:3739 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/1001@73.72.98.76:3685) Running State Change CS_HANGUP 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:809 (sofia/internal/1001@73.72.98.76:3685) Callstate Change RINGING -> HANGUP 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/1001@73.72.98.76:3685) State HANGUP 2016-05-23 12:56:44.423389 [DEBUG] mod_sofia.c:431 sofia/internal/1001@73.72.98.76:3685 Overriding SIP cause 487 with 487 from the other leg 2016-05-23 12:56:44.423389 [DEBUG] mod_sofia.c:437 Channel sofia/internal/1001@73.72.98.76:3685 hanging up, cause: ORIGINATOR_CANCEL 2016-05-23 12:56:44.423389 [NOTICE] switch_ivr_originate.c:2762 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL] 2016-05-23 12:56:44.423389 [DEBUG] switch_ivr_originate.c:3750 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL] 2016-05-23 12:56:44.423389 [DEBUG] mod_sofia.c:501 Sending CANCEL to sofia/internal/1001@73.72.98.76:3685 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1001@73.72.98.76:3685 Standard HANGUP, cause: ORIGINATOR_CANCEL 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/1001@73.72.98.76:3685) State HANGUP going to sleep 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:578 (sofia/internal/1001@73.72.98.76:3685) State Change CS_HANGUP -> CS_REPORTING 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/1001@73.72.98.76:3685) Running State Change CS_REPORTING 2016-05-23 12:56:44.423389 [INFO] mod_dptools.c:3401 Originate Failed. Cause: ORIGINATOR_CANCEL 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:897 (sofia/internal/1001@73.72.98.76:3685) State REPORTING 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1001@73.72.98.76:3685 Standard REPORTING, cause: ORIGINATOR_CANCEL 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:897 (sofia/internal/1001@73.72.98.76:3685) State REPORTING going to sleep 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/1001@73.72.98.76:3685) State Change CS_REPORTING -> CS_DESTROY 2016-05-23 12:56:44.423389 [DEBUG] switch_core_session.c:1646 Session 446 (sofia/internal/1001@73.72.98.76:3685) Locked, Waiting on external entities 2016-05-23 12:56:44.423389 [NOTICE] switch_core_session.c:1664 Session 446 (sofia/internal/1001@73.72.98.76:3685) Ended 2016-05-23 12:56:44.423389 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/1001@73.72.98.76:3685 [CS_DESTROY] 2016-05-23 12:56:44.423389 [DEBUG] switch_core_session.c:2796 sofia/external/7085143073@64.7.96.3 skip receive message [PHONE_EVENT] (channel is hungup already) 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:609 (sofia/external/7085143073@64.7.96.3) State EXECUTE going to sleep 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:543 (sofia/external/7085143073@64.7.96.3) Running State Change CS_HANGUP 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:809 (sofia/external/7085143073@64.7.96.3) Callstate Change EARLY -> HANGUP 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:700 (sofia/internal/1001@73.72.98.76:3685) Running State Change CS_DESTROY 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:811 (sofia/external/7085143073@64.7.96.3) State HANGUP 2016-05-23 12:56:44.423389 [DEBUG] mod_sofia.c:437 Channel sofia/external/7085143073@64.7.96.3 hanging up, cause: ORIGINATOR_CANCEL 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:60 sofia/external/7085143073@64.7.96.3 Standard HANGUP, cause: ORIGINATOR_CANCEL 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:811 (sofia/external/7085143073@64.7.96.3) State HANGUP going to sleep 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:710 (sofia/internal/1001@73.72.98.76:3685) State DESTROY 2016-05-23 12:56:44.423389 [DEBUG] mod_sofia.c:342 sofia/internal/1001@73.72.98.76:3685 SOFIA DESTROY 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1001@73.72.98.76:3685 Standard DESTROY 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:710 (sofia/internal/1001@73.72.98.76:3685) State DESTROY going to sleep 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:742 Hangup Command with no Session lua(app.lua hangup): 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:578 (sofia/external/7085143073@64.7.96.3) State Change CS_HANGUP -> CS_REPORTING 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:543 (sofia/external/7085143073@64.7.96.3) Running State Change CS_REPORTING 2016-05-23 12:56:44.423389 [DEBUG] switch_core_state_machine.c:897 (sofia/external/7085143073@64.7.96.3) State REPORTING 2016-05-23 12:56:44.483363 [DEBUG] switch_core_state_machine.c:174 sofia/external/7085143073@64.7.96.3 Standard REPORTING, cause: ORIGINATOR_CANCEL 2016-05-23 12:56:44.483363 [DEBUG] switch_core_state_machine.c:897 (sofia/external/7085143073@64.7.96.3) State REPORTING going to sleep 2016-05-23 12:56:44.483363 [DEBUG] switch_core_state_machine.c:569 (sofia/external/7085143073@64.7.96.3) State Change CS_REPORTING -> CS_DESTROY 2016-05-23 12:56:44.483363 [DEBUG] switch_core_session.c:1646 Session 445 (sofia/external/7085143073@64.7.96.3) Locked, Waiting on external entities 2016-05-23 12:56:44.483363 [NOTICE] switch_core_session.c:1664 Session 445 (sofia/external/7085143073@64.7.96.3) Ended 2016-05-23 12:56:44.483363 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/7085143073@64.7.96.3 [CS_DESTROY] 2016-05-23 12:56:44.483363 [DEBUG] switch_core_state_machine.c:700 (sofia/external/7085143073@64.7.96.3) Running State Change CS_DESTROY 2016-05-23 12:56:44.483363 [DEBUG] switch_core_state_machine.c:710 (sofia/external/7085143073@64.7.96.3) State DESTROY 2016-05-23 12:56:44.483363 [DEBUG] mod_sofia.c:342 sofia/external/7085143073@64.7.96.3 SOFIA DESTROY 2016-05-23 12:56:44.483363 [DEBUG] switch_core_state_machine.c:181 sofia/external/7085143073@64.7.96.3 Standard DESTROY 2016-05-23 12:56:44.483363 [DEBUG] switch_core_state_machine.c:710 (sofia/external/7085143073@64.7.96.3) State DESTROY going to sleep freeswitch@fusionpbx01-beta>