freeswitch@freeswitch> 2017-10-17 06:27:53.737861 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4561972603@voip.com [2624639d-e514-499a-9923-5db6414dcf51] 2017-10-17 06:27:53.737861 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4561972603@voip.com) Running State Change CS_NEW (Cur 1 Tot 773) 2017-10-17 06:27:53.737861 [DEBUG] sofia.c:9873 sofia/default/4561972603@voip.com receiving invite from 17.27.19.62:52655 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit 2017-10-17 06:27:53.737861 [DEBUG] sofia.c:10044 IP 17.27.19.62 Rejected by acl "default". Falling back to Digest auth. 2017-10-17 06:27:53.737861 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [6007758913@voip.com] from ip 17.27.19.62 2017-10-17 06:27:53.737861 [DEBUG] switch_core_state_machine.c:603 (sofia/default/4561972603@voip.com) State NEW 2017-10-17 06:27:53.737861 [DEBUG] sofia.c:2334 detaching session 2624639d-e514-499a-9923-5db6414dcf51 2017-10-17 06:27:54.117865 [DEBUG] sofia.c:2442 Re-attaching to session 2624639d-e514-499a-9923-5db6414dcf51 2017-10-17 06:27:54.117865 [DEBUG] sofia.c:9873 sofia/default/4561972603@voip.com receiving invite from 17.27.19.62:52655 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit 2017-10-17 06:27:54.117865 [DEBUG] sofia.c:10044 IP 17.27.19.62 Rejected by acl "default". Falling back to Digest auth. 2017-10-17 06:27:54.117865 [DEBUG] sofia.c:11168 Setting NAT mode based on via received 2017-10-17 06:27:54.117865 [DEBUG] sofia.c:7084 Channel sofia/default/4561972603@voip.com entering state [received][100] 2017-10-17 06:27:54.117865 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=Z 0 0 IN IP4 17.27.19.62 s=Z c=IN IP4 17.27.19.62 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2017-10-17 06:27:54.117865 [DEBUG] sofia.c:7486 (sofia/default/4561972603@voip.com) State Change CS_NEW -> CS_INIT 2017-10-17 06:27:54.117865 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4561972603@voip.com) Running State Change CS_INIT (Cur 1 Tot 773) 2017-10-17 06:27:54.117865 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4561972603@voip.com) State INIT 2017-10-17 06:27:54.117865 [DEBUG] mod_sofia.c:90 sofia/default/4561972603@voip.com SOFIA INIT 2017-10-17 06:27:54.117865 [DEBUG] switch_core_state_machine.c:40 sofia/default/4561972603@voip.com Standard INIT 2017-10-17 06:27:54.117865 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4561972603@voip.com) State Change CS_INIT -> CS_ROUTING 2017-10-17 06:27:54.117865 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4561972603@voip.com) State INIT going to sleep 2017-10-17 06:27:54.117865 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4561972603@voip.com) Running State Change CS_ROUTING (Cur 1 Tot 773) 2017-10-17 06:27:54.117865 [DEBUG] switch_channel.c:2249 (sofia/default/4561972603@voip.com) Callstate Change DOWN -> RINGING 2017-10-17 06:27:54.117865 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4561972603@voip.com) State ROUTING 2017-10-17 06:27:54.117865 [DEBUG] mod_sofia.c:143 sofia/default/4561972603@voip.com SOFIA ROUTING 2017-10-17 06:27:54.117865 [DEBUG] switch_core_state_machine.c:236 sofia/default/4561972603@voip.com Standard ROUTING 2017-10-17 06:27:54.117865 [INFO] mod_dialplan_xml.c:637 Processing 4561972603 <4561972603>->6007758913 in context default 2017-10-17 06:27:54.117865 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f00c003de80 Connected. 2017-10-17 06:27:54.117865 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard') 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 6007758913 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 4561972603 / 4561972603 2017-10-17 06:27:54.117865 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="6007758913" LIMIT 1 2017-10-17 06:27:54.117865 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6007758913" limit 1 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : local 2017-10-17 06:27:54.117865 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 4561972603] 2017-10-17 06:27:54.117865 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4561972603" OR id="4561972603") AND status=0 AND deleted=0 AND (expiry >= '2017-10-17 10:27:54' OR expiry = '0000-00-00 00:00:00') limit 1 2017-10-17 06:27:54.117865 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^6007758913.*' OR patterns ='^600775891.*' OR patterns ='^60077589.*' OR patterns ='^6007758.*' OR patterns ='^600775.*' OR patterns ='^60077.*' OR patterns ='^6007.*' OR patterns ='^600.*' OR patterns ='^60.*' OR patterns ='^6.*' OR patterns ='--') AND status = 0 AND pricelist_id = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 4 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 4561972603 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 100 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 5 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2017-10-17 06:27:54.117865 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2017-10-17 06:27:54.117865 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes 2017-10-17 06:27:54.117865 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6007758913" limit 1 2017-10-17 06:27:54.117865 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts 2017-10-17 06:27:54.117865 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends 2017-10-17 06:27:54.117865 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2017-10-17 06:27:54.117865 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f00c003de80 released. Dialplan: sofia/default/4561972603@voip.com parsing [default->6007758913] continue=false Dialplan: sofia/default/4561972603@voip.com Regex (PASS) [6007758913] destination_number(6007758913) =~ /6007758913/ break=on-false Dialplan: sofia/default/4561972603@voip.com Action set(effective_destination_number=6007758913) Dialplan: sofia/default/4561972603@voip.com Action sched_hangup(+6000 normal_clearing) Dialplan: sofia/default/4561972603@voip.com Action set(callstart=2017-10-17 10:27:54) Dialplan: sofia/default/4561972603@voip.com Action set(hangup_after_bridge=true) Dialplan: sofia/default/4561972603@voip.com Action set(continue_on_fail=true) Dialplan: sofia/default/4561972603@voip.com Action set(account_id=4) Dialplan: sofia/default/4561972603@voip.com Action set(parent_id=0) Dialplan: sofia/default/4561972603@voip.com Action set(entity_id=0) Dialplan: sofia/default/4561972603@voip.com Action set(call_processed=internal) Dialplan: sofia/default/4561972603@voip.com Action set(call_direction=local) Dialplan: sofia/default/4561972603@voip.com Action set(accountname=default) Dialplan: sofia/default/4561972603@voip.com Action set(origination_rates=ID:0|CODE:6007758913|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|ACCID:4) Dialplan: sofia/default/4561972603@voip.com Action set(original_caller_id_name=4561972603) Dialplan: sofia/default/4561972603@voip.com Action set(original_caller_id_number=4561972603) Dialplan: sofia/default/4561972603@voip.com Action set(effective_caller_id_name=4561972603) Dialplan: sofia/default/4561972603@voip.com Action set(effective_caller_id_number=4561972603) Dialplan: sofia/default/4561972603@voip.com Action set(calltype=LOCAL) Dialplan: sofia/default/4561972603@voip.com Action set(receiver_accid=4) Dialplan: sofia/default/4561972603@voip.com Action bridge([leg_timeout=30]user/6007758913@${domain_name}) |--- Dialplan: Processing recursive conditions level:1 [6007758913_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/4561972603@voip.com Regex (PASS) [6007758913_recur_1] ${cond(${user_data 6007758913@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/4561972603@voip.com Action export(voicemail_alternate_greet_id=6007758913) |--- Dialplan: sofia/default/4561972603@voip.com Action answer() |--- Dialplan: sofia/default/4561972603@voip.com Action voicemail(default $${domain_name} 6007758913) 2017-10-17 06:27:54.157800 [DEBUG] switch_core_state_machine.c:286 (sofia/default/4561972603@voip.com) State Change CS_ROUTING -> CS_EXECUTE 2017-10-17 06:27:54.157800 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4561972603@voip.com) State ROUTING going to sleep 2017-10-17 06:27:54.157800 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4561972603@voip.com) Running State Change CS_EXECUTE (Cur 1 Tot 773) 2017-10-17 06:27:54.157800 [DEBUG] switch_core_state_machine.c:650 (sofia/default/4561972603@voip.com) State EXECUTE 2017-10-17 06:27:54.157800 [DEBUG] mod_sofia.c:198 sofia/default/4561972603@voip.com SOFIA EXECUTE 2017-10-17 06:27:54.157800 [DEBUG] switch_core_state_machine.c:328 sofia/default/4561972603@voip.com Standard EXECUTE EXECUTE sofia/default/4561972603@voip.com set(effective_destination_number=6007758913) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [effective_destination_number]=[6007758913] EXECUTE sofia/default/4561972603@voip.com sched_hangup(+6000 normal_clearing) 2017-10-17 06:27:54.157800 [DEBUG] switch_scheduler.c:249 Added task 252 switch_ivr_schedule_hangup (2624639d-e514-499a-9923-5db6414dcf51) to run at 1508242074 EXECUTE sofia/default/4561972603@voip.com set(callstart=2017-10-17 10:27:54) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [callstart]=[2017-10-17 10:27:54] EXECUTE sofia/default/4561972603@voip.com set(hangup_after_bridge=true) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [hangup_after_bridge]=[true] EXECUTE sofia/default/4561972603@voip.com set(continue_on_fail=true) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [continue_on_fail]=[true] EXECUTE sofia/default/4561972603@voip.com set(account_id=4) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [account_id]=[4] EXECUTE sofia/default/4561972603@voip.com set(parent_id=0) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [parent_id]=[0] EXECUTE sofia/default/4561972603@voip.com set(entity_id=0) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [entity_id]=[0] EXECUTE sofia/default/4561972603@voip.com set(call_processed=internal) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [call_processed]=[internal] EXECUTE sofia/default/4561972603@voip.com set(call_direction=local) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [call_direction]=[local] EXECUTE sofia/default/4561972603@voip.com set(accountname=default) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [accountname]=[default] EXECUTE sofia/default/4561972603@voip.com set(origination_rates=ID:0|CODE:6007758913|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|ACCID:4) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [origination_rates]=[ID:0|CODE:6007758913|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|ACCID:4] EXECUTE sofia/default/4561972603@voip.com set(original_caller_id_name=4561972603) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [original_caller_id_name]=[4561972603] EXECUTE sofia/default/4561972603@voip.com set(original_caller_id_number=4561972603) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [original_caller_id_number]=[4561972603] EXECUTE sofia/default/4561972603@voip.com set(effective_caller_id_name=4561972603) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [effective_caller_id_name]=[4561972603] EXECUTE sofia/default/4561972603@voip.com set(effective_caller_id_number=4561972603) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [effective_caller_id_number]=[4561972603] EXECUTE sofia/default/4561972603@voip.com set(calltype=LOCAL) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [calltype]=[LOCAL] EXECUTE sofia/default/4561972603@voip.com set(receiver_accid=4) 2017-10-17 06:27:54.157800 [DEBUG] mod_dptools.c:1548 SET sofia/default/4561972603@voip.com [receiver_accid]=[4] EXECUTE sofia/default/4561972603@voip.com bridge([leg_timeout=30]user/6007758913@172.16.30.30) 2017-10-17 06:27:54.157800 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2017-10-17 06:27:54.157800 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2017-10-17 06:27:54.157800 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2017-10-17 06:27:54.177804 [NOTICE] switch_channel.c:1104 New Channel sofia/default/6007758913@17.27.19.62:5062 [c4780411-143b-4f81-8f39-83d660433d5c] 2017-10-17 06:27:54.177804 [DEBUG] mod_sofia.c:4819 (sofia/default/6007758913@17.27.19.62:5062) State Change CS_NEW -> CS_INIT 2017-10-17 06:27:54.177804 [DEBUG] switch_ivr_originate.c:2963 sofia/default/6007758913@17.27.19.62:5062 Setting leg timeout to 30 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6007758913@17.27.19.62:5062) Running State Change CS_INIT (Cur 2 Tot 774) 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6007758913@17.27.19.62:5062) State INIT 2017-10-17 06:27:54.177804 [DEBUG] mod_sofia.c:90 sofia/default/6007758913@17.27.19.62:5062 SOFIA INIT 2017-10-17 06:27:54.177804 [DEBUG] sofia_glue.c:1295 sofia/default/6007758913@17.27.19.62:5062 sending invite version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit Local SDP: v=0 o=FreeSWITCH 1508213116 1508213117 IN IP4 138.17.74.41 s=FreeSWITCH c=IN IP4 138.17.74.41 t=0 0 m=audio 22958 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:40 sofia/default/6007758913@17.27.19.62:5062 Standard INIT 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6007758913@17.27.19.62:5062) State Change CS_INIT -> CS_ROUTING 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6007758913@17.27.19.62:5062) State INIT going to sleep 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6007758913@17.27.19.62:5062) Running State Change CS_ROUTING (Cur 2 Tot 774) 2017-10-17 06:27:54.177804 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [calling][0] 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6007758913@17.27.19.62:5062) State ROUTING 2017-10-17 06:27:54.177804 [DEBUG] mod_sofia.c:143 sofia/default/6007758913@17.27.19.62:5062 SOFIA ROUTING 2017-10-17 06:27:54.177804 [DEBUG] switch_ivr_originate.c:67 (sofia/default/6007758913@17.27.19.62:5062) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6007758913@17.27.19.62:5062) State ROUTING going to sleep 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6007758913@17.27.19.62:5062) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 774) 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:662 (sofia/default/6007758913@17.27.19.62:5062) State CONSUME_MEDIA 2017-10-17 06:27:54.177804 [DEBUG] switch_core_state_machine.c:662 (sofia/default/6007758913@17.27.19.62:5062) State CONSUME_MEDIA going to sleep 2017-10-17 06:27:54.457858 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [proceeding][180] 2017-10-17 06:27:54.457858 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/6007758913@17.27.19.62:5062! 2017-10-17 06:27:54.457858 [DEBUG] switch_channel.c:3346 (sofia/default/6007758913@17.27.19.62:5062) Callstate Change DOWN -> RINGING 2017-10-17 06:27:54.457858 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/4561972603@voip.com! 2017-10-17 06:27:54.457858 [DEBUG] sofia.c:7084 Channel sofia/default/4561972603@voip.com entering state [early][180] 2017-10-17 06:27:54.457858 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/4561972603@voip.com! 2017-10-17 06:27:56.597859 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [completing][200] 2017-10-17 06:27:56.597859 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=6007758913 8001 8000 IN IP4 17.27.19.62 s=SIP Call c=IN IP4 17.27.19.62 t=0 0 m=audio 5008 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2017-10-17 06:27:56.597859 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [ready][200] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/6007758913@17.27.19.62:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-17 06:27:56.597859 [DEBUG] switch_core_codec.c:111 sofia/default/6007758913@17.27.19.62:5062 Original read codec set to PCMA:8 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4767 sofia/default/6007758913@17.27.19.62:5062 Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/6007758913@17.27.19.62:5062] 172.16.30.30 port 22958 -> 17.27.19.62 port 5008 codec: 8 ms: 20 2017-10-17 06:27:56.597859 [DEBUG] switch_rtp.c:4111 Starting timer [soft] 160 bytes per 20ms 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:7179 sofia/default/6007758913@17.27.19.62:5062 Set 2833 dtmf send payload to 101 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:7186 sofia/default/6007758913@17.27.19.62:5062 Set 2833 dtmf receive payload to 101 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:7209 sofia/default/6007758913@17.27.19.62:5062 Set rtp dtmf delay to 40 2017-10-17 06:27:56.597859 [NOTICE] sofia.c:8218 Channel [sofia/default/6007758913@17.27.19.62:5062] has been answered 2017-10-17 06:27:56.597859 [DEBUG] switch_channel.c:3773 (sofia/default/6007758913@17.27.19.62:5062) Callstate Change RINGING -> ACTIVE 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4561972603@voip.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-17 06:27:56.597859 [DEBUG] switch_core_codec.c:111 sofia/default/4561972603@voip.com Original read codec set to PCMA:8 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:4767 sofia/default/4561972603@voip.com Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4561972603@voip.com] 172.16.30.30 port 18426 -> 17.27.19.62 port 8000 codec: 8 ms: 20 2017-10-17 06:27:56.597859 [DEBUG] switch_rtp.c:4111 Starting timer [soft] 160 bytes per 20ms 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:7179 sofia/default/4561972603@voip.com Set 2833 dtmf send payload to 101 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:7186 sofia/default/4561972603@voip.com Set 2833 dtmf receive payload to 101 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:7209 sofia/default/4561972603@voip.com Set rtp dtmf delay to 40 2017-10-17 06:27:56.597859 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/4561972603@voip.com! 2017-10-17 06:27:56.597859 [DEBUG] switch_channel.c:3474 (sofia/default/4561972603@voip.com) Callstate Change RINGING -> EARLY 2017-10-17 06:27:56.597859 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/4561972603@voip.com. 2017-10-17 06:27:56.597859 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/4561972603@voip.com: v=0 o=FreeSWITCH 1508217650 1508217651 IN IP4 138.17.74.41 s=FreeSWITCH c=IN IP4 138.17.74.41 t=0 0 m=audio 18426 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2017-10-17 06:27:56.597859 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/4561972603@voip.com] has been answered 2017-10-17 06:27:56.637804 [DEBUG] switch_channel.c:3773 (sofia/default/4561972603@voip.com) Callstate Change EARLY -> ACTIVE 2017-10-17 06:27:56.637804 [DEBUG] sofia.c:7084 Channel sofia/default/4561972603@voip.com entering state [completed][200] 2017-10-17 06:27:56.637804 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/6007758913@17.27.19.62:5062] 2017-10-17 06:27:56.637804 [DEBUG] switch_ivr_originate.c:2963 sofia/default/6007758913@17.27.19.62:5062 Setting leg timeout to 30 2017-10-17 06:27:56.637804 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/6007758913@17.27.19.62:5062] 2017-10-17 06:27:56.637804 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/6007758913@17.27.19.62:5062) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2017-10-17 06:27:56.637804 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6007758913@17.27.19.62:5062) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 774) 2017-10-17 06:27:56.637804 [DEBUG] switch_core_state_machine.c:653 (sofia/default/6007758913@17.27.19.62:5062) State EXCHANGE_MEDIA 2017-10-17 06:27:56.637804 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2017-10-17 06:27:56.917860 [DEBUG] sofia.c:7084 Channel sofia/default/4561972603@voip.com entering state [ready][200] 2017-10-17 06:27:56.917860 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [calling][0] 2017-10-17 06:27:56.977864 [DEBUG] switch_rtp.c:7271 Correct audio ip/port confirmed. 2017-10-17 06:27:57.017862 [DEBUG] switch_rtp.c:7271 Correct audio ip/port confirmed. 2017-10-17 06:27:57.617878 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [ready][200] 2017-10-17 06:27:57.617878 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=6007758913 8001 8001 IN IP4 17.27.19.62 s=SIP Call c=IN IP4 17.27.19.62 t=0 0 m=audio 5008 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2017-10-17 06:27:57.637838 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:27:57.637838 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-17 06:27:57.637838 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:27:57.637838 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2017-10-17 06:27:57.637838 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2017-10-17 06:27:57.637838 [DEBUG] switch_core_media.c:4767 sofia/default/6007758913@17.27.19.62:5062 Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-17 06:27:57.637838 [DEBUG] sofia.c:8061 Processing updated SDP 2017-10-17 06:27:57.637838 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/6007758913@17.27.19.62:5062. freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> 2017-10-17 06:28:03.877866 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [received][100] 2017-10-17 06:28:03.877866 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=6007758913 8001 8002 IN IP4 17.27.19.62 s=SIP Call c=IN IP4 17.27.19.62 t=0 0 m=audio 5008 RTP/AVP 0 8 9 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendonly a=ptime:20 2017-10-17 06:28:03.877866 [DEBUG] switch_channel.c:1844 (sofia/default/6007758913@17.27.19.62:5062) Callstate Change ACTIVE -> HELD 2017-10-17 06:28:04.037861 [DEBUG] switch_ivr.c:623 sofia/default/4561972603@voip.com Command Execute playback(local_stream://moh) EXECUTE sofia/default/4561972603@voip.com playback(local_stream://moh) 2017-10-17 06:28:04.037861 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz 2017-10-17 06:28:04.037861 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2017-10-17 06:28:04.117864 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:28:04.117864 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:28:04.117864 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-17 06:28:04.117864 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:28:04.117864 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2017-10-17 06:28:04.117864 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2017-10-17 06:28:04.117864 [DEBUG] switch_core_media.c:4767 sofia/default/6007758913@17.27.19.62:5062 Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-17 06:28:04.117864 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/6007758913@17.27.19.62:5062. 2017-10-17 06:28:04.117864 [DEBUG] sofia.c:7999 Processing updated SDP 2017-10-17 06:28:04.157805 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [completed][200] 2017-10-17 06:28:04.437838 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [ready][200] 2017-10-17 06:28:16.977863 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [1401@172.16.30.30] from ip 172.16.30.10 2017-10-17 06:28:26.597812 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [received][100] 2017-10-17 06:28:26.597812 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=6007758913 8001 8003 IN IP4 17.27.19.62 s=SIP Call c=IN IP4 17.27.19.62 t=0 0 m=audio 5008 RTP/AVP 0 8 9 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2017-10-17 06:28:26.837869 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh 2017-10-17 06:28:26.837869 [DEBUG] switch_channel.c:2029 (sofia/default/6007758913@17.27.19.62:5062) Callstate Change HELD -> UNHELD 2017-10-17 06:28:26.837869 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:28:26.837869 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:28:26.837869 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-17 06:28:26.837869 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-17 06:28:26.837869 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2017-10-17 06:28:26.837869 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2017-10-17 06:28:26.837869 [DEBUG] switch_core_media.c:4767 sofia/default/6007758913@17.27.19.62:5062 Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-17 06:28:26.837869 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/6007758913@17.27.19.62:5062. 2017-10-17 06:28:26.837869 [DEBUG] sofia.c:7999 Processing updated SDP 2017-10-17 06:28:26.837869 [DEBUG] switch_core_io.c:941 (sofia/default/6007758913@17.27.19.62:5062) Callstate Change UNHELD -> ACTIVE 2017-10-17 06:28:26.837869 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [completed][200] 2017-10-17 06:28:27.177802 [DEBUG] sofia.c:7084 Channel sofia/default/6007758913@17.27.19.62:5062 entering state [ready][200] 2017-10-17 06:28:27.257809 [DEBUG] switch_rtp.c:7271 Correct audio ip/port confirmed.