freeswitch@phone.mydomain.com> 2017-06-26 11:21:41.890575 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'internal' for [1004@phone.mydomain.com] from ip 184.151.111.190 2017-06-26 11:21:47.030541 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1004@phone.mydomain.com [0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0] 2017-06-26 11:21:47.030541 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_NEW (Cur 1 Tot 1) 2017-06-26 11:21:47.030541 [DEBUG] sofia.c:9837 sofia/internal/1004@phone.mydomain.com receiving invite from 184.151.111.190:4738 version: 1.6.18 -35-6e79667 64bit 2017-06-26 11:21:47.030541 [DEBUG] sofia.c:10008 IP 184.151.111.190 Rejected by acl "domains". Falling back to Digest auth. 2017-06-26 11:21:47.030541 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [1000@phone.mydomain.com] from ip 184.151.111.190 2017-06-26 11:21:47.030541 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/1004@phone.mydomain.com) State NEW 2017-06-26 11:21:47.030541 [DEBUG] sofia.c:2334 detaching session 0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0 2017-06-26 11:21:47.150552 [DEBUG] sofia.c:2442 Re-attaching to session 0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0 2017-06-26 11:21:47.150552 [DEBUG] sofia.c:9837 sofia/internal/1004@phone.mydomain.com receiving invite from 184.151.111.190:4738 version: 1.6.18 -35-6e79667 64bit 2017-06-26 11:21:47.150552 [DEBUG] sofia.c:10008 IP 184.151.111.190 Rejected by acl "domains". Falling back to Digest auth. 2017-06-26 11:21:47.150552 [DEBUG] sofia.c:11132 Setting NAT mode based on via received 2017-06-26 11:21:47.150552 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [received][100] 2017-06-26 11:21:47.150552 [DEBUG] sofia.c:7058 Remote SDP: v=0 o=1004 1513 2023 IN IP4 100.105.42.224 s=Talk c=IN IP4 100.105.42.224 b=AS:380 t=0 0 a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics m=audio 7076 RTP/AVP 0 8 3 101 a=rtpmap:101 telephone-event/8000 a=rtcp-fb:* ccm tmmbr 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000 2017-06-26 11:21:47.150552 [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 11:21:47.150552 [DEBUG] switch_core_codec.c:111 sofia/internal/1004@phone.mydomain.com Original read codec set to PCMU:0 2017-06-26 11:21:47.150552 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000 2017-06-26 11:21:47.150552 [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 11:21:47.150552 [DEBUG] sofia.c:7471 (sofia/internal/1004@phone.mydomain.com) State Change CS_NEW -> CS_INIT 2017-06-26 11:21:47.150552 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_INIT (Cur 1 Tot 1) 2017-06-26 11:21:47.150552 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1004@phone.mydomain.com) State INIT 2017-06-26 11:21:47.150552 [DEBUG] mod_sofia.c:90 sofia/internal/1004@phone.mydomain.com SOFIA INIT 2017-06-26 11:21:47.150552 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1004@phone.mydomain.com Standard INIT 2017-06-26 11:21:47.150552 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1004@phone.mydomain.com) State Change CS_INIT -> CS_ROUTING 2017-06-26 11:21:47.150552 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1004@phone.mydomain.com) State INIT going to sleep 2017-06-26 11:21:47.150552 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_ROUTING (Cur 1 Tot 1) 2017-06-26 11:21:47.150552 [DEBUG] switch_channel.c:2249 (sofia/internal/1004@phone.mydomain.com) Callstate Change DOWN -> RINGING 2017-06-26 11:21:47.150552 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1004@phone.mydomain.com) State ROUTING 2017-06-26 11:21:47.150552 [DEBUG] mod_sofia.c:143 sofia/internal/1004@phone.mydomain.com SOFIA ROUTING 2017-06-26 11:21:47.150552 [DEBUG] switch_core_state_machine.c:236 sofia/internal/1004@phone.mydomain.com Standard ROUTING 2017-06-26 11:21:47.150552 [INFO] mod_dialplan_xml.c:637 Processing 1004 <1004>->1000 in context phone.mydomain.com 2017-06-26 11:21:47.170531 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fade006afb0 Connected. 2017-06-26 11:21:47.190547 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fade006afb0 released. 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 11:21:47.190547 [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 11:21:47.190547 [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 11:21:47.190547 [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 11:21:47.190547 [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 11:21:47.190547 [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 11:21:47.190547 [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 11:21:47.210529 [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 11:21:47.210529 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/1004@phone.mydomain.com) State Change CS_ROUTING -> CS_EXECUTE 2017-06-26 11:21:47.210529 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1004@phone.mydomain.com) State ROUTING going to sleep 2017-06-26 11:21:47.210529 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_EXECUTE (Cur 1 Tot 1) 2017-06-26 11:21:47.210529 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1004@phone.mydomain.com) State EXECUTE 2017-06-26 11:21:47.210529 [DEBUG] mod_sofia.c:198 sofia/internal/1004@phone.mydomain.com SOFIA EXECUTE 2017-06-26 11:21:47.210529 [DEBUG] switch_core_state_machine.c:328 sofia/internal/1004@phone.mydomain.com Standard EXECUTE 2017-06-26 11:21:47.210529 [CONSOLE] sofia_presence.c:1619 Event Thread Started EXECUTE sofia/internal/1004@phone.mydomain.com set(extension_uuid=6ce5b1b0-e605-4504-b86a-785b0f9185f4) 2017-06-26 11:21:47.210529 [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 11:21:47.210529 [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 11:21:47.210529 [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 11:21:47.210529 [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 11:21:47.210529 [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 11:21:47.210529 [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 11:21:47.210529 [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 11:21:47.210529 [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 11:21:47.210529 [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 11:21:47.230535 [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 11:21:47.230535 [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 11:21:47.230535 [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 11:21:47.230535 [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 11:21:47.230535 [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 11:21:47.230535 [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 11:21:47.230535 [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 11:21:47 -0400) 2017-06-26 11:21:47.230535 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [RFC2822_DATE]=[Mon, 26 Jun 2017 11:21:47 -0400] EXECUTE sofia/internal/1004@phone.mydomain.com export(nolocal:api_on_answer=uuid_record 0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0.wav) 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [api_on_answer]=[uuid_record 0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0.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 11:21:47.230535 [DEBUG] switch_limit.c:126 incr called: phone.mydomain.com_1000 max:5, interval:0 2017-06-26 11:21:47.230535 [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 11:21:47.230535 [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 11:21:47.230535 [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/0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0) EXECUTE sofia/internal/1004@phone.mydomain.com set(called_party_call_group=) 2017-06-26 11:21:47.230535 [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//0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0) EXECUTE sofia/internal/1004@phone.mydomain.com set(api_hangup_hook=lua app.lua hangup) 2017-06-26 11:21:47.230535 [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 11:21:47.230535 [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 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [dialed_extension]=[1000] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [origination_callee_id_name]=[1000] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [api_on_answer]=[uuid_record 0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0.wav] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [dialed_extension]=[1000] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [origination_callee_id_name]=[1000] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [api_on_answer]=[uuid_record 0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0.wav] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event 2017-06-26 11:21:47.230535 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2017-06-26 11:21:47.230535 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1000@192.168.0.2:5060 [b9a445bf-ad1b-4b10-8a23-60f62e7dca7b] 2017-06-26 11:21:47.230535 [DEBUG] mod_sofia.c:4819 (sofia/internal/1000@192.168.0.2:5060) State Change CS_NEW -> CS_INIT 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_INIT (Cur 2 Tot 2) 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1000@192.168.0.2:5060) State INIT 2017-06-26 11:21:47.230535 [DEBUG] mod_sofia.c:90 sofia/internal/1000@192.168.0.2:5060 SOFIA INIT 2017-06-26 11:21:47.230535 [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 1498480467 1498480468 IN IP4 192.168.0.7 s=FreeSWITCH c=IN IP4 192.168.0.7 t=0 0 m=audio 10040 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 11:21:47.230535 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1000@192.168.0.2:5060 Standard INIT 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1000@192.168.0.2:5060) State Change CS_INIT -> CS_ROUTING 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1000@192.168.0.2:5060) State INIT going to sleep 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_ROUTING (Cur 2 Tot 2) 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@192.168.0.2:5060) State ROUTING 2017-06-26 11:21:47.230535 [DEBUG] mod_sofia.c:143 sofia/internal/1000@192.168.0.2:5060 SOFIA ROUTING 2017-06-26 11:21:47.230535 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/1000@192.168.0.2:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@192.168.0.2:5060) State ROUTING going to sleep 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) 2017-06-26 11:21:47.230535 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [calling][0] 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1000@192.168.0.2:5060) State CONSUME_MEDIA 2017-06-26 11:21:47.230535 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1000@192.168.0.2:5060) State CONSUME_MEDIA going to sleep 2017-06-26 11:21:47.270531 [INFO] sofia.c:1279 sofia/internal/1000@192.168.0.2:5060 Update Callee ID to "MK" <1000> 2017-06-26 11:21:47.270531 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [proceeding][180] 2017-06-26 11:21:47.270531 [NOTICE] sofia.c:7156 Ring-Ready sofia/internal/1000@192.168.0.2:5060! 2017-06-26 11:21:47.270531 [DEBUG] switch_channel.c:3346 (sofia/internal/1000@192.168.0.2:5060) Callstate Change DOWN -> RINGING 2017-06-26 11:21:47.290527 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/internal/1004@phone.mydomain.com! 2017-06-26 11:21:47.290527 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [early][180] 2017-06-26 11:21:47.290527 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/internal/1004@phone.mydomain.com! 2017-06-26 11:21:49.190573 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [completing][200] 2017-06-26 11:21:49.190573 [DEBUG] sofia.c:7058 Remote SDP: v=0 o=- 419935 419935 IN IP4 192.168.0.2 s=- c=IN IP4 192.168.0.2 t=0 0 m=audio 16388 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:30 2017-06-26 11:21:49.190573 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [ready][200] 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMU:0:8000:20:64000:1] 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4481 Audio Codec Compare [PCMU:0:8000:20:64000:1] is saved as a near-match 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[G722:9:8000:20:64000:1] 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMA:8:8000:20:64000:1] 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[GSM:3:8000:20:13200:1] 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:30:0:1]/[G722:9:8000:20:64000:1] 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:30:0:1]/[GSM:3:8000:20:13200:1] 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4552 Substituting codec PCMU@30i@8000h@1c 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:3057 Set Codec sofia/internal/1000@192.168.0.2:5060 PCMU/8000 30 ms 240 samples 64000 bits 1 channels 2017-06-26 11:21:49.190573 [DEBUG] switch_core_codec.c:111 sofia/internal/1000@192.168.0.2:5060 Original read codec set to PCMU:0 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000 2017-06-26 11:21:49.190573 [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 11:21:49.190573 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/internal/1000@192.168.0.2:5060] 192.168.0.7 port 10040 -> 192.168.0.2 port 16388 codec: 0 ms: 30 2017-06-26 11:21:49.190573 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 240 bytes per 30ms 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:7175 sofia/internal/1000@192.168.0.2:5060 Set 2833 dtmf send payload to 101 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:7182 sofia/internal/1000@192.168.0.2:5060 Set 2833 dtmf receive payload to 101 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:7205 sofia/internal/1000@192.168.0.2:5060 Set rtp dtmf delay to 40 2017-06-26 11:21:49.190573 [NOTICE] sofia.c:8182 Channel [sofia/internal/1000@192.168.0.2:5060] has been answered 2017-06-26 11:21:49.190573 [DEBUG] switch_channel.c:3571 sofia/internal/1000@192.168.0.2:5060 process uuid_record 0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0.wav: uuid_record(0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0.wav) 2017-06-26 11:21:49.190573 [INFO] switch_ivr_async.c:2371 Sending early media 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/internal/1004@phone.mydomain.com] 192.168.0.7 port 10020 -> 100.105.42.224 port 7076 codec: 0 ms: 20 2017-06-26 11:21:49.190573 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:7175 sofia/internal/1004@phone.mydomain.com Set 2833 dtmf send payload to 101 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:7182 sofia/internal/1004@phone.mydomain.com Set 2833 dtmf receive payload to 101 2017-06-26 11:21:49.190573 [DEBUG] switch_core_media.c:7205 sofia/internal/1004@phone.mydomain.com Set rtp dtmf delay to 40 2017-06-26 11:21:49.190573 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1498480489 1498480490 IN IP4 69.196.155.55 s=FreeSWITCH c=IN IP4 69.196.155.55 t=0 0 m=audio 10020 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 11:21:49.190573 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/internal/1004@phone.mydomain.com! 2017-06-26 11:21:49.190573 [DEBUG] switch_channel.c:3474 (sofia/internal/1004@phone.mydomain.com) Callstate Change RINGING -> EARLY 2017-06-26 11:21:49.210529 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/internal/1004@phone.mydomain.com 2017-06-26 11:21:49.210529 [DEBUG] switch_channel.c:3773 (sofia/internal/1000@192.168.0.2:5060) Callstate Change RINGING -> ACTIVE 2017-06-26 11:21:49.210529 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [early][183] 2017-06-26 11:21:49.210529 [DEBUG] switch_core_media.c:6857 Audio params are unchanged for sofia/internal/1004@phone.mydomain.com. 2017-06-26 11:21:49.210529 [DEBUG] mod_sofia.c:850 Local SDP sofia/internal/1004@phone.mydomain.com: v=0 o=FreeSWITCH 1498480489 1498480491 IN IP4 69.196.155.55 s=FreeSWITCH c=IN IP4 69.196.155.55 t=0 0 m=audio 10020 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 11:21:49.210529 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/internal/1004@phone.mydomain.com] has been answered 2017-06-26 11:21:49.210529 [DEBUG] switch_channel.c:3773 (sofia/internal/1004@phone.mydomain.com) Callstate Change EARLY -> ACTIVE 2017-06-26 11:21:49.210529 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [completed][200] 2017-06-26 11:21:49.210529 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/internal/1000@192.168.0.2:5060] 2017-06-26 11:21:49.210529 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/internal/1000@192.168.0.2:5060] 2017-06-26 11:21:49.210529 [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 11:21:49.210529 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 2) 2017-06-26 11:21:49.210529 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/1000@192.168.0.2:5060) State EXCHANGE_MEDIA 2017-06-26 11:21:49.210529 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2017-06-26 11:21:49.210529 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech 2017-06-26 11:21:49.210529 [DEBUG] switch_core_io.c:1448 Engaging Write Buffer at 320 bytes to accommodate 480->320 2017-06-26 11:21:49.510582 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [ready][200] 2017-06-26 11:21:54.650546 [NOTICE] sofia.c:1012 Hangup sofia/internal/1000@192.168.0.2:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2017-06-26 11:21:54.650546 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/internal/1000@192.168.0.2:5060] 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/1000@192.168.0.2:5060) State EXCHANGE_MEDIA going to sleep 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_HANGUP (Cur 2 Tot 2) 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1000@192.168.0.2:5060) Callstate Change ACTIVE -> HANGUP 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@192.168.0.2:5060) State HANGUP 2017-06-26 11:21:54.650546 [DEBUG] mod_sofia.c:438 Channel sofia/internal/1000@192.168.0.2:5060 hanging up, cause: NORMAL_CLEARING 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1000@192.168.0.2:5060 Standard HANGUP, cause: NORMAL_CLEARING 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@192.168.0.2:5060) State HANGUP going to sleep 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1000@192.168.0.2:5060) State Change CS_HANGUP -> CS_REPORTING 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_REPORTING (Cur 2 Tot 2) 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@192.168.0.2:5060) State REPORTING 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1000@192.168.0.2:5060 Standard REPORTING, cause: NORMAL_CLEARING 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@192.168.0.2:5060) State REPORTING going to sleep 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1000@192.168.0.2:5060) State Change CS_REPORTING -> CS_DESTROY 2017-06-26 11:21:54.650546 [DEBUG] switch_core_session.c:1664 Session 2 (sofia/internal/1000@192.168.0.2:5060) Locked, Waiting on external entities 2017-06-26 11:21:54.650546 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/internal/1004@phone.mydomain.com] 2017-06-26 11:21:54.650546 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/internal/1004@phone.mydomain.com [CS_EXECUTE] [NORMAL_CLEARING] 2017-06-26 11:21:54.650546 [DEBUG] mod_hash.c:297 Usage for phone.mydomain.com_1000 is now 0 2017-06-26 11:21:54.650546 [NOTICE] switch_core_session.c:1682 Session 2 (sofia/internal/1000@192.168.0.2:5060) Ended 2017-06-26 11:21:54.650546 [NOTICE] switch_core_session.c:1686 Close Channel sofia/internal/1000@192.168.0.2:5060 [CS_DESTROY] 2017-06-26 11:21:54.650546 [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 11:21:54.650546 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1004@phone.mydomain.com) State EXECUTE going to sleep 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_HANGUP (Cur 1 Tot 2) 2017-06-26 11:21:54.650546 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/0bb83f51-d51d-48d6-a469-a4ebaa4f5bd0.wav 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_DESTROY (Cur 1 Tot 2) 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@192.168.0.2:5060) State DESTROY 2017-06-26 11:21:54.650546 [DEBUG] mod_sofia.c:343 sofia/internal/1000@192.168.0.2:5060 SOFIA DESTROY 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1000@192.168.0.2:5060 Standard DESTROY 2017-06-26 11:21:54.650546 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@192.168.0.2:5060) State DESTROY going to sleep 2017-06-26 11:21:54.670532 [DEBUG] switch_ivr_async.c:1380 Channel is hung up 2017-06-26 11:21:54.670532 [DEBUG] switch_core_media_bug.c:1296 Removing BUG from sofia/internal/1004@phone.mydomain.com 2017-06-26 11:21:54.670532 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1004@phone.mydomain.com) Callstate Change ACTIVE -> HANGUP 2017-06-26 11:21:54.670532 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1004@phone.mydomain.com) State HANGUP 2017-06-26 11:21:54.670532 [DEBUG] mod_sofia.c:432 sofia/internal/1004@phone.mydomain.com Overriding SIP cause 480 with 200 from the other leg 2017-06-26 11:21:54.670532 [DEBUG] mod_sofia.c:438 Channel sofia/internal/1004@phone.mydomain.com hanging up, cause: NORMAL_CLEARING 2017-06-26 11:21:54.670532 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/internal/1004@phone.mydomain.com 2017-06-26 11:21:54.670532 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1004@phone.mydomain.com Standard HANGUP, cause: NORMAL_CLEARING 2017-06-26 11:21:54.670532 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1004@phone.mydomain.com) State HANGUP going to sleep 2017-06-26 11:21:54.670532 [DEBUG] switch_core_state_machine.c:783 Hangup Command with no Session lua(app.lua hangup): 2017-06-26 11:21:54.670532 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1004@phone.mydomain.com) State Change CS_HANGUP -> CS_REPORTING 2017-06-26 11:21:54.670532 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_REPORTING (Cur 1 Tot 2) 2017-06-26 11:21:54.670532 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1004@phone.mydomain.com) State REPORTING 2017-06-26 11:21:54.710548 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1004@phone.mydomain.com Standard REPORTING, cause: NORMAL_CLEARING 2017-06-26 11:21:54.710548 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1004@phone.mydomain.com) State REPORTING going to sleep 2017-06-26 11:21:54.710548 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1004@phone.mydomain.com) State Change CS_REPORTING -> CS_DESTROY 2017-06-26 11:21:54.710548 [DEBUG] switch_core_session.c:1664 Session 1 (sofia/internal/1004@phone.mydomain.com) Locked, Waiting on external entities 2017-06-26 11:21:54.710548 [NOTICE] switch_core_session.c:1682 Session 1 (sofia/internal/1004@phone.mydomain.com) Ended 2017-06-26 11:21:54.710548 [NOTICE] switch_core_session.c:1686 Close Channel sofia/internal/1004@phone.mydomain.com [CS_DESTROY] 2017-06-26 11:21:54.710548 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_DESTROY (Cur 0 Tot 2) 2017-06-26 11:21:54.710548 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1004@phone.mydomain.com) State DESTROY 2017-06-26 11:21:54.710548 [DEBUG] mod_sofia.c:343 sofia/internal/1004@phone.mydomain.com SOFIA DESTROY 2017-06-26 11:21:54.710548 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1004@phone.mydomain.com Standard DESTROY 2017-06-26 11:21:54.710548 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1004@phone.mydomain.com) State DESTROY going to sleep Type control-D or /exit or /quit or /bye to exit.