+OK log level [7]
2018-12-06 14:44:55.288684 [NOTICE] switch_channel.c:1104 New Channel sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [f35f84af-64b1-430e-a71d-f3b57d41ed6a]
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:584 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Running State Change CS_NEW (Cur 1 Tot 78431)
2018-12-06 14:44:55.288684 [DEBUG] sofia.c:9873 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] receiving invite from [ORIGINSERVERIP]:5060 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
2018-12-06 14:44:55.288684 [DEBUG] sofia.c:9989 IP [ORIGINSERVERIP] Approved by acl "default[]". Access Granted.
2018-12-06 14:44:55.288684 [DEBUG] sofia.c:7084 Channel sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] entering state [received][100]
2018-12-06 14:44:55.288684 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=FreeSWITCH 1544095952 1544095953 IN IP4 [ORIGINSERVERIP]
s=FreeSWITCH
c=IN IP4 [ORIGINSERVERIP]
t=0 0
m=audio 18742 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2018-12-06 14:44:55.288684 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-12-06 14:44:55.288684 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2018-12-06 14:44:55.288684 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-12-06 14:44:55.288684 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2018-12-06 14:44:55.288684 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2018-12-06 14:44:55.288684 [DEBUG] switch_core_codec.c:111 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Original read codec set to PCMU:0
2018-12-06 14:44:55.288684 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2018-12-06 14:44:55.288684 [DEBUG] switch_core_media.c:4767 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Set 2833 dtmf send payload to 101 recv payload to 101
2018-12-06 14:44:55.288684 [DEBUG] sofia.c:7507 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State Change CS_NEW -> CS_INIT
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:603 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State NEW
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:584 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Running State Change CS_INIT (Cur 1 Tot 78431)
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:627 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State INIT
2018-12-06 14:44:55.288684 [DEBUG] mod_sofia.c:90 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] SOFIA INIT
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:40 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Standard INIT
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:48 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State Change CS_INIT -> CS_ROUTING
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:627 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State INIT going to sleep
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:584 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Running State Change CS_ROUTING (Cur 1 Tot 78431)
2018-12-06 14:44:55.288684 [DEBUG] switch_channel.c:2249 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Callstate Change DOWN -> RINGING
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:643 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State ROUTING
2018-12-06 14:44:55.288684 [DEBUG] mod_sofia.c:143 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] SOFIA ROUTING
2018-12-06 14:44:55.288684 [DEBUG] switch_core_state_machine.c:236 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Standard ROUTING
2018-12-06 14:44:55.288684 [INFO] mod_dialplan_xml.c:637 Processing [CALLINGNUMBER] <[CALLINGNUMBER]>->553235120768 in context default
2018-12-06 14:44:55.288684 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f8394273870 Connected.
2018-12-06 14:44:55.288684 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
2018-12-06 14:44:55.298619 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 553235120768
2018-12-06 14:44:55.298619 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : [CALLINGNUMBER] / [CALLINGNUMBER]
2018-12-06 14:44:55.298619 [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 ="553235120768" LIMIT 1
2018-12-06 14:44:55.298619 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
2018-12-06 14:44:55.298619 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("[ORIGINSERVERIP]") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "553235120768" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2018-12-06 14:44:55.298619 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7335503421]
2018-12-06 14:44:55.298619 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "7335503421" OR id="7335503421") AND status=0 AND deleted=0 AND (expiry >= '2018-12-06 16:44:55' OR expiry = '0000-00-00 00:00:00') limit 1
2018-12-06 14:44:55.308647 [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 ='^553235120768.*' OR patterns ='^55323512076.*' OR patterns ='^5532351207.*' OR patterns ='^553235120.*' OR patterns ='^55323512.*' OR patterns ='^5532351.*' OR patterns ='^553235.*' OR patterns ='^55323.*' OR patterns ='^5532.*' OR patterns ='^553.*' OR patterns ='^55.*' OR patterns ='^5.*' OR patterns ='--') AND status = 0 AND pricelist_id = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 7335503421
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 3
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2018-12-06 14:44:55.308647 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
2018-12-06 14:44:55.308647 [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 ="553235120768" LIMIT 1
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 42
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^.553235120768.*
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Juiz de Fora MG
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 1.00000
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Initial Increment : 30
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Increment : 6
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2018-12-06 14:44:55.308647 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 10000 minutes
2018-12-06 14:44:55.308647 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "11" OR id="11") AND status=0 AND deleted=0 AND (expiry >= '2018-12-06 16:44:55' OR expiry = '0000-00-00 00:00:00') limit 1
2018-12-06 14:44:55.308647 [WARNING] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] [11] Insufficent balance (-0.2998) to make calls..!!
2018-12-06 14:44:55.308647 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
2018-12-06 14:44:55.308647 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^553235120768.*' OR pattern ='^55323512076.*' OR pattern ='^5532351207.*' OR pattern ='^553235120.*' OR pattern ='^55323512.*' OR pattern ='^5532351.*' OR pattern ='^553235.*' OR pattern ='^55323.*' OR pattern ='^5532.*' OR pattern ='^553.*' OR pattern ='^55.*' OR pattern ='^5.*' OR pattern ='--') AND status = 0 AND pricelist_id = 3 ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1628
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^55.*
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Brazil Teste
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] Initial Increment : 30
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] Increment : 6
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
2018-12-06 14:44:55.318656 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
2018-12-06 14:44:55.318656 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Starts
2018-12-06 14:44:55.318656 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Ends
2018-12-06 14:44:55.318656 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="553235120768">
<condition field="destination_number" expression="553235120768">
<action application="set" data="effective_destination_number=553235120768"/>
<action application="sched_hangup" data="+600000 normal_clearing"/>
<action application="set" data="callstart=2018-12-06 16:44:55"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="account_id=3"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=App Nvoip"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="origination_rates_did=ID:42|CODE:^.553235120768.*|DESTINATION:Juiz de Fora MG|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:6|INITIALBLOCK:30|RATEGROUP:0|MARKUP:0|ACCID:11"/>
<action application="set" data="origination_rates=ID:1628|CODE:^55.*|DESTINATION:Brazil Teste|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:3|MARKUP:0|ACCID:3"/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="RECORD_STEREO=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${base_dir}/recordings/${strftime(%Y)}/${strftime(%m)}/${strftime(%d)}/$${uuid}_7335503421.wav"/>
<action application="set" data="original_caller_id_name=[CALLINGNUMBER]"/>
<action application="set" data="original_caller_id_number=[CALLINGNUMBER]"/>
<action application="set" data="effective_caller_id_name=[CALLINGNUMBER]"/>
<action application="set" data="effective_caller_id_number=[CALLINGNUMBER]"/>
<action application="set" data="receiver_accid=11"/>
<action application="set" data="calltype=DID-LOCAL"/>
<action application="bridge" data="[leg_timeout=0]user/7702157211@${domain_name}"/>
<condition field="${cond(${user_data 7702157211@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=553235120768"/>
<action application="voicemail" data="default $${domain_name} 7702157211"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
2018-12-06 14:44:55.318656 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f8394273870 released.
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] parsing [default->553235120768] continue=false
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Regex (PASS) [553235120768] destination_number(553235120768) =~ /553235120768/ break=on-false
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(effective_destination_number=553235120768)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action sched_hangup(+600000 normal_clearing)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(callstart=2018-12-06 16:44:55)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(hangup_after_bridge=true)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(continue_on_fail=true)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(account_id=3)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(parent_id=0)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(entity_id=3)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(call_processed=internal)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(call_direction=inbound)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(accountname=App Nvoip)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action export(t38_passthru=true)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(fax_enable_t38=true)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(origination_rates_did=ID:42|CODE:^.553235120768.*|DESTINATION:Juiz de Fora MG|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:6|INITIALBLOCK:30|RATEGROUP:0|MARKUP:0|ACCID:11)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(origination_rates=ID:1628|CODE:^55.*|DESTINATION:Brazil Teste|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:3|MARKUP:0|ACCID:3)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action export(is_recording=1)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action export(media_bug_answer_req=true)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action export(RECORD_STEREO=true)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action export(record_sample_rate=8000)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action export(execute_on_answer=record_session $${base_dir}/recordings/${strftime(%Y)}/${strftime(%m)}/${strftime(%d)}/$${uuid}_7335503421.wav)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(original_caller_id_name=[CALLINGNUMBER])
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(original_caller_id_number=[CALLINGNUMBER])
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(effective_caller_id_name=[CALLINGNUMBER])
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(effective_caller_id_number=[CALLINGNUMBER])
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(receiver_accid=11)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action bridge([leg_timeout=0]user/7702157211@${domain_name})
|--- Dialplan: Processing recursive conditions level:1 [553235120768_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Regex (PASS) [553235120768_recur_1] ${cond(${user_data 7702157211@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action answer()
|--- Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action export(voicemail_alternate_greet_id=553235120768)
|--- Dialplan: sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Action voicemail(default $${domain_name} 7702157211)
2018-12-06 14:44:55.318656 [DEBUG] switch_core_state_machine.c:286 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State Change CS_ROUTING -> CS_EXECUTE
2018-12-06 14:44:55.318656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State ROUTING going to sleep
2018-12-06 14:44:55.318656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Running State Change CS_EXECUTE (Cur 1 Tot 78431)
2018-12-06 14:44:55.318656 [DEBUG] switch_core_state_machine.c:650 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State EXECUTE
2018-12-06 14:44:55.318656 [DEBUG] mod_sofia.c:198 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] SOFIA EXECUTE
2018-12-06 14:44:55.318656 [DEBUG] switch_core_state_machine.c:328 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Standard EXECUTE
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(effective_destination_number=553235120768)
2018-12-06 14:44:55.318656 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [effective_destination_number]=[553235120768]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] sched_hangup(+600000 normal_clearing)
2018-12-06 14:44:55.318656 [DEBUG] switch_scheduler.c:249 Added task 50 switch_ivr_schedule_hangup (f35f84af-64b1-430e-a71d-f3b57d41ed6a) to run at 1544714695
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(callstart=2018-12-06 16:44:55)
2018-12-06 14:44:55.318656 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [callstart]=[2018-12-06 16:44:55]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(hangup_after_bridge=true)
2018-12-06 14:44:55.318656 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [hangup_after_bridge]=[true]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(continue_on_fail=true)
2018-12-06 14:44:55.318656 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [continue_on_fail]=[true]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(account_id=3)
2018-12-06 14:44:55.318656 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [account_id]=[3]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(parent_id=0)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [parent_id]=[0]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(entity_id=3)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [entity_id]=[3]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(call_processed=internal)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [call_processed]=[internal]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(call_direction=inbound)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [call_direction]=[inbound]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(accountname=App Nvoip)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [accountname]=[App Nvoip]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] export(t38_passthru=true)
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(fax_enable_t38=true)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [fax_enable_t38]=[true]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(fax_enable_t38_request=true)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [fax_enable_t38_request]=[true]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(origination_rates_did=ID:42|CODE:^.553235120768.*|DESTINATION:Juiz de Fora MG|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:6|INITIALBLOCK:30|RATEGROUP:0|MARKUP:0|ACCID:11)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [origination_rates_did]=[ID:42|CODE:^.553235120768.*|DESTINATION:Juiz de Fora MG|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:6|INITIALBLOCK:30|RATEGROUP:0|MARKUP:0|ACCID:11]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(origination_rates=ID:1628|CODE:^55.*|DESTINATION:Brazil Teste|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:3|MARKUP:0|ACCID:3)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [origination_rates]=[ID:1628|CODE:^55.*|DESTINATION:Brazil Teste|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:3|MARKUP:0|ACCID:3]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] export(is_recording=1)
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] export(media_bug_answer_req=true)
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] export(RECORD_STEREO=true)
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] export(record_sample_rate=8000)
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] export(execute_on_answer=record_session /usr/local/freeswitch/recordings/2018/12/06/f35f84af-64b1-430e-a71d-f3b57d41ed6a_7335503421.wav)
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/2018/12/06/f35f84af-64b1-430e-a71d-f3b57d41ed6a_7335503421.wav]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(original_caller_id_name=[CALLINGNUMBER])
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [original_caller_id_name]=[[CALLINGNUMBER]]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(original_caller_id_number=[CALLINGNUMBER])
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [original_caller_id_number]=[[CALLINGNUMBER]]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(effective_caller_id_name=[CALLINGNUMBER])
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [effective_caller_id_name]=[[CALLINGNUMBER]]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(effective_caller_id_number=[CALLINGNUMBER])
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [effective_caller_id_number]=[[CALLINGNUMBER]]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(receiver_accid=11)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [receiver_accid]=[11]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] set(calltype=DID-LOCAL)
2018-12-06 14:44:55.328653 [DEBUG] mod_dptools.c:1548 SET sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [calltype]=[DID-LOCAL]
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] bridge([leg_timeout=0]user/7702157211@172.31.45.18)
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [t38_passthru]=[true] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [is_recording]=[1] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/2018/12/06/f35f84af-64b1-430e-a71d-f3b57d41ed6a_7335503421.wav] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2018-12-06 14:44:55.328653 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [t38_passthru]=[true] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [is_recording]=[1] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_channel.c:1250 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/2018/12/06/f35f84af-64b1-430e-a71d-f3b57d41ed6a_7335503421.wav] to event
2018-12-06 14:44:55.328653 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2018-12-06 14:44:55.328653 [NOTICE] switch_channel.c:1104 New Channel sofia/default/7702157211@179.180.199.111:51437 [030bf710-439a-45a7-af2a-4047bf40b2c7]
2018-12-06 14:44:55.328653 [DEBUG] mod_sofia.c:4819 (sofia/default/7702157211@179.180.199.111:51437) State Change CS_NEW -> CS_INIT
2018-12-06 14:44:55.328653 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7702157211@179.180.199.111:51437) Running State Change CS_INIT (Cur 2 Tot 78432)
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:627 (sofia/default/7702157211@179.180.199.111:51437) State INIT
2018-12-06 14:44:55.338652 [DEBUG] mod_sofia.c:90 sofia/default/7702157211@179.180.199.111:51437 SOFIA INIT
2018-12-06 14:44:55.338652 [DEBUG] sofia_glue.c:1295 sofia/default/7702157211@179.180.199.111:51437 sending invite version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1544087175 1544087176 IN IP4 [SERVERIP]
s=FreeSWITCH
c=IN IP4 [SERVERIP]
t=0 0
m=audio 27520 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:20
a=sendrecv
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:40 sofia/default/7702157211@179.180.199.111:51437 Standard INIT
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:48 (sofia/default/7702157211@179.180.199.111:51437) State Change CS_INIT -> CS_ROUTING
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:627 (sofia/default/7702157211@179.180.199.111:51437) State INIT going to sleep
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7702157211@179.180.199.111:51437) Running State Change CS_ROUTING (Cur 2 Tot 78432)
2018-12-06 14:44:55.338652 [DEBUG] sofia.c:7084 Channel sofia/default/7702157211@179.180.199.111:51437 entering state [calling][0]
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7702157211@179.180.199.111:51437) State ROUTING
2018-12-06 14:44:55.338652 [DEBUG] mod_sofia.c:143 sofia/default/7702157211@179.180.199.111:51437 SOFIA ROUTING
2018-12-06 14:44:55.338652 [DEBUG] switch_ivr_originate.c:67 (sofia/default/7702157211@179.180.199.111:51437) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7702157211@179.180.199.111:51437) State ROUTING going to sleep
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7702157211@179.180.199.111:51437) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 78432)
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:662 (sofia/default/7702157211@179.180.199.111:51437) State CONSUME_MEDIA
2018-12-06 14:44:55.338652 [DEBUG] switch_core_state_machine.c:662 (sofia/default/7702157211@179.180.199.111:51437) State CONSUME_MEDIA going to sleep
2018-12-06 14:44:55.358649 [DEBUG] sofia.c:7084 Channel sofia/default/7702157211@179.180.199.111:51437 entering state [proceeding][180]
2018-12-06 14:44:55.358649 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/7702157211@179.180.199.111:51437!
2018-12-06 14:44:55.358649 [DEBUG] switch_channel.c:3346 (sofia/default/7702157211@179.180.199.111:51437) Callstate Change DOWN -> RINGING
2018-12-06 14:44:55.378652 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]!
2018-12-06 14:44:55.378652 [DEBUG] sofia.c:7084 Channel sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] entering state [early][180]
2018-12-06 14:44:55.378652 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]!
2018-12-06 14:44:55.858677 [NOTICE] switch_channel.c:1104 New Channel sofia/default/10129@[SERVERIP] [8be0e0c7-7e8a-4024-9d3f-59a9f02cb109]
2018-12-06 14:44:55.858677 [DEBUG] switch_core_state_machine.c:584 (sofia/default/10129@[SERVERIP]) Running State Change CS_NEW (Cur 3 Tot 78433)
2018-12-06 14:44:55.858677 [DEBUG] sofia.c:9873 sofia/default/10129@[SERVERIP] receiving invite from 46.20.46.36:58679 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
2018-12-06 14:44:55.858677 [DEBUG] sofia.c:10044 IP 46.20.46.36 Rejected by acl "default". Falling back to Digest auth.
2018-12-06 14:44:55.858677 [DEBUG] sofia.c:2334 detaching session 8be0e0c7-7e8a-4024-9d3f-59a9f02cb109
2018-12-06 14:44:55.858677 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [00441519470348@[SERVERIP]] from ip 46.20.46.36
2018-12-06 14:44:55.858677 [DEBUG] switch_core_state_machine.c:603 (sofia/default/10129@[SERVERIP]) State NEW
2018-12-06 14:44:56.998666 [DEBUG] sofia.c:7084 Channel sofia/default/7702157211@179.180.199.111:51437 entering state [completing][200]
2018-12-06 14:44:56.998666 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 3753096293 3753096294 IN IP4 179.180.199.111
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 4004 RTP/AVP 0
c=IN IP4 179.180.199.111
b=TIAS:64000
a=rtpmap:0 PCMU/8000
a=rtcp:4005 IN IP4 192.168.100.112
a=ssrc:1919695112 cname:57597c0a400e5a6a
2018-12-06 14:44:56.998666 [DEBUG] sofia.c:7084 Channel sofia/default/7702157211@179.180.199.111:51437 entering state [ready][200]
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/7702157211@179.180.199.111:51437 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2018-12-06 14:44:56.998666 [DEBUG] switch_core_codec.c:111 sofia/default/7702157211@179.180.199.111:51437 Original read codec set to PCMU:0
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:4738 No 2833 in SDP. Liberal DTMF mode adding 101 as telephone-event.
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:4767 sofia/default/7702157211@179.180.199.111:51437 Set 2833 dtmf send payload to 101 recv payload to 101
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/7702157211@179.180.199.111:51437] 172.31.45.18 port 27520 -> 179.180.199.111 port 4004 codec: 0 ms: 20
2018-12-06 14:44:56.998666 [DEBUG] switch_rtp.c:4111 Starting timer [soft] 160 bytes per 20ms
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:7098 Activating RTCP PORT 4005
2018-12-06 14:44:56.998666 [DEBUG] switch_rtp.c:4507 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 4005
2018-12-06 14:44:56.998666 [DEBUG] switch_rtp.c:2567 Setting RTCP remote addr to 179.180.199.111:4005 2
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:7179 sofia/default/7702157211@179.180.199.111:51437 Set 2833 dtmf send payload to 101
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:7186 sofia/default/7702157211@179.180.199.111:51437 Set 2833 dtmf receive payload to 101
2018-12-06 14:44:56.998666 [DEBUG] switch_core_media.c:7209 sofia/default/7702157211@179.180.199.111:51437 Set rtp dtmf delay to 40
2018-12-06 14:44:56.998666 [NOTICE] sofia.c:8218 Channel [sofia/default/7702157211@179.180.199.111:51437] has been answered
EXECUTE sofia/default/7702157211@179.180.199.111:51437 record_session(/usr/local/freeswitch/recordings/2018/12/06/f35f84af-64b1-430e-a71d-f3b57d41ed6a_7335503421.wav)
2018-12-06 14:44:57.008683 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]] 172.31.45.18 port 32406 -> [ORIGINSERVERIP] port 18742 codec: 0 ms: 20
2018-12-06 14:44:57.008683 [DEBUG] switch_rtp.c:4111 Starting timer [soft] 160 bytes per 20ms
2018-12-06 14:44:57.008683 [DEBUG] switch_core_media.c:7179 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Set 2833 dtmf send payload to 101
2018-12-06 14:44:57.008683 [DEBUG] switch_core_media.c:7186 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Set 2833 dtmf receive payload to 101
2018-12-06 14:44:57.008683 [DEBUG] switch_core_media.c:7209 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Set rtp dtmf delay to 40
2018-12-06 14:44:57.008683 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]:
v=0
o=FreeSWITCH 1544082291 1544082292 IN IP4 [SERVERIP]
s=FreeSWITCH
c=IN IP4 [SERVERIP]
t=0 0
m=audio 32406 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
2018-12-06 14:44:57.008683 [DEBUG] sofia.c:7084 Channel sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] entering state [completed][200]
2018-12-06 14:44:57.008683 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]] has been answered
EXECUTE sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] record_session(/usr/local/freeswitch/recordings/2018/12/06/f35f84af-64b1-430e-a71d-f3b57d41ed6a_7335503421.wav)
2018-12-06 14:44:57.008683 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/7702157211@179.180.199.111:51437
2018-12-06 14:44:57.018650 [DEBUG] switch_channel.c:3773 (sofia/default/7702157211@179.180.199.111:51437) Callstate Change RINGING -> ACTIVE
2018-12-06 14:44:57.018650 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]
2018-12-06 14:44:57.018650 [DEBUG] sofia.c:7084 Channel sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] entering state [ready][200]
2018-12-06 14:44:57.018650 [DEBUG] switch_channel.c:3773 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Callstate Change RINGING -> ACTIVE
2018-12-06 14:44:57.018650 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/7702157211@179.180.199.111:51437]
2018-12-06 14:44:57.018650 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/7702157211@179.180.199.111:51437]
2018-12-06 14:44:57.018650 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/7702157211@179.180.199.111:51437) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2018-12-06 14:44:57.018650 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7702157211@179.180.199.111:51437) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 78433)
2018-12-06 14:44:57.018650 [DEBUG] switch_core_state_machine.c:653 (sofia/default/7702157211@179.180.199.111:51437) State EXCHANGE_MEDIA
2018-12-06 14:44:57.018650 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
2018-12-06 14:44:57.018650 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
2018-12-06 14:44:57.028690 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
2018-12-06 14:44:57.058673 [DEBUG] switch_rtp.c:1887 rtcp_stats_init: audio ssrc[1919695112] base_seq[11564]
2018-12-06 14:44:57.058673 [DEBUG] switch_rtp.c:7271 Correct audio ip/port confirmed.
2018-12-06 14:44:57.058673 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
2018-12-06 14:44:57.548728 [DEBUG] switch_rtp.c:7271 Correct audio ip/port confirmed.
2018-12-06 14:44:57.548728 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
2018-12-06 14:44:57.998684 [DEBUG] switch_rtp.c:6721 Correct audio RTCP ip/port confirmed.
2018-12-06 14:45:03.788659 [NOTICE] sofia.c:1012 Hangup sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [CS_EXECUTE] [NORMAL_CLEARING]
2018-12-06 14:45:03.788659 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]]
2018-12-06 14:45:03.798674 [DEBUG] switch_ivr_bridge.c:706 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] ending bridge by request from write function
2018-12-06 14:45:03.798674 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/7702157211@179.180.199.111:51437]
2018-12-06 14:45:03.798674 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/7702157211@179.180.199.111:51437 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:653 (sofia/default/7702157211@179.180.199.111:51437) State EXCHANGE_MEDIA going to sleep
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7702157211@179.180.199.111:51437) Running State Change CS_HANGUP (Cur 3 Tot 78433)
2018-12-06 14:45:03.798674 [DEBUG] switch_ivr_async.c:1316 Stop recording file /usr/local/freeswitch/recordings/2018/12/06/f35f84af-64b1-430e-a71d-f3b57d41ed6a_7335503421.wav
2018-12-06 14:45:03.798674 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/7702157211@179.180.199.111:51437 skip receive message [UNBRIDGE] (channel is hungup already)
2018-12-06 14:45:03.798674 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] skip receive message [UNBRIDGE] (channel is hungup already)
2018-12-06 14:45:03.798674 [DEBUG] switch_core_session.c:2815 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:650 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State EXECUTE going to sleep
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Running State Change CS_HANGUP (Cur 3 Tot 78433)
2018-12-06 14:45:03.798674 [DEBUG] switch_ivr_async.c:1316 Stop recording file /usr/local/freeswitch/recordings/2018/12/06/f35f84af-64b1-430e-a71d-f3b57d41ed6a_7335503421.wav
2018-12-06 14:45:03.798674 [DEBUG] switch_ivr_async.c:1380 Channel is hung up
2018-12-06 14:45:03.798674 [DEBUG] switch_core_media_bug.c:1298 Removing BUG from sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:850 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Callstate Change ACTIVE -> HANGUP
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:852 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State HANGUP
2018-12-06 14:45:03.798674 [DEBUG] mod_sofia.c:438 Channel sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] hanging up, cause: NORMAL_CLEARING
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:60 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Standard HANGUP, cause: NORMAL_CLEARING
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:852 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State HANGUP going to sleep
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:619 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State Change CS_HANGUP -> CS_REPORTING
2018-12-06 14:45:03.798674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Running State Change CS_REPORTING (Cur 3 Tot 78433)
2018-12-06 14:45:03.808651 [DEBUG] switch_core_state_machine.c:938 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State REPORTING
2018-12-06 14:45:03.808651 [INFO] mod_json_cdr.c:271 Process [f35f84af-64b1-430e-a71d-f3b57d41ed6a.cdr.json]
2018-12-06 14:45:03.808651 [DEBUG] switch_ivr_async.c:1380 Channel is hung up
2018-12-06 14:45:03.808651 [DEBUG] switch_core_media_bug.c:1298 Removing BUG from sofia/default/7702157211@179.180.199.111:51437
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7702157211@179.180.199.111:51437) Callstate Change ACTIVE -> HANGUP
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:852 (sofia/default/7702157211@179.180.199.111:51437) State HANGUP
2018-12-06 14:45:03.818650 [DEBUG] mod_sofia.c:432 sofia/default/7702157211@179.180.199.111:51437 Overriding SIP cause 480 with 200 from the other leg
2018-12-06 14:45:03.818650 [DEBUG] mod_sofia.c:438 Channel sofia/default/7702157211@179.180.199.111:51437 hanging up, cause: NORMAL_CLEARING
2018-12-06 14:45:03.818650 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/7702157211@179.180.199.111:51437
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:60 sofia/default/7702157211@179.180.199.111:51437 Standard HANGUP, cause: NORMAL_CLEARING
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:852 (sofia/default/7702157211@179.180.199.111:51437) State HANGUP going to sleep
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:619 (sofia/default/7702157211@179.180.199.111:51437) State Change CS_HANGUP -> CS_REPORTING
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7702157211@179.180.199.111:51437) Running State Change CS_REPORTING (Cur 3 Tot 78433)
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:938 (sofia/default/7702157211@179.180.199.111:51437) State REPORTING
2018-12-06 14:45:03.818650 [INFO] mod_json_cdr.c:271 Process [030bf710-439a-45a7-af2a-4047bf40b2c7.cdr.json]
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:174 sofia/default/7702157211@179.180.199.111:51437 Standard REPORTING, cause: NORMAL_CLEARING
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:938 (sofia/default/7702157211@179.180.199.111:51437) State REPORTING going to sleep
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:610 (sofia/default/7702157211@179.180.199.111:51437) State Change CS_REPORTING -> CS_DESTROY
2018-12-06 14:45:03.818650 [DEBUG] switch_core_session.c:1665 Session 78432 (sofia/default/7702157211@179.180.199.111:51437) Locked, Waiting on external entities
2018-12-06 14:45:03.818650 [NOTICE] switch_core_session.c:1683 Session 78432 (sofia/default/7702157211@179.180.199.111:51437) Ended
2018-12-06 14:45:03.818650 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/7702157211@179.180.199.111:51437 [CS_DESTROY]
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:741 (sofia/default/7702157211@179.180.199.111:51437) Running State Change CS_DESTROY (Cur 2 Tot 78433)
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:751 (sofia/default/7702157211@179.180.199.111:51437) State DESTROY
2018-12-06 14:45:03.818650 [DEBUG] mod_sofia.c:343 sofia/default/7702157211@179.180.199.111:51437 SOFIA DESTROY
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:181 sofia/default/7702157211@179.180.199.111:51437 Standard DESTROY
2018-12-06 14:45:03.818650 [DEBUG] switch_core_state_machine.c:751 (sofia/default/7702157211@179.180.199.111:51437) State DESTROY going to sleep
2018-12-06 14:45:03.828654 [DEBUG] switch_core_state_machine.c:174 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Standard REPORTING, cause: NORMAL_CLEARING
2018-12-06 14:45:03.828654 [DEBUG] switch_core_state_machine.c:938 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State REPORTING going to sleep
2018-12-06 14:45:03.828654 [DEBUG] switch_core_state_machine.c:610 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State Change CS_REPORTING -> CS_DESTROY
2018-12-06 14:45:03.828654 [DEBUG] switch_core_session.c:1665 Session 78431 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Locked, Waiting on external entities
2018-12-06 14:45:03.828654 [NOTICE] switch_core_session.c:1683 Session 78431 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Ended
2018-12-06 14:45:03.828654 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] [CS_DESTROY]
2018-12-06 14:45:03.828654 [DEBUG] switch_core_state_machine.c:741 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) Running State Change CS_DESTROY (Cur 1 Tot 78433)
2018-12-06 14:45:03.828654 [DEBUG] switch_core_state_machine.c:751 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State DESTROY
2018-12-06 14:45:03.828654 [DEBUG] mod_sofia.c:343 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] SOFIA DESTROY
2018-12-06 14:45:03.828654 [DEBUG] switch_core_state_machine.c:181 sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP] Standard DESTROY
2018-12-06 14:45:03.828654 [DEBUG] switch_core_state_machine.c:751 (sofia/default/[CALLINGNUMBER]@[ORIGINSERVERIP]) State DESTROY going to sleep
2018-12-06 14:45:03.828654 [DEBUG] switch_scheduler.c:144 Deleting task 50 switch_ivr_schedule_hangup (f35f84af-64b1-430e-a71d-f3b57d41ed6a)
2018-12-06 14:45:05.908675 [WARNING] switch_core_state_machine.c:687 8be0e0c7-7e8a-4024-9d3f-59a9f02cb109 sofia/default/10129@[SERVERIP] Abandoned
2018-12-06 14:45:05.908675 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/10129@[SERVERIP] [CS_NEW] [WRONG_CALL_STATE]
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/10129@[SERVERIP]) Running State Change CS_HANGUP (Cur 1 Tot 78433)
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:850 (sofia/default/10129@[SERVERIP]) Callstate Change DOWN -> HANGUP
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:852 (sofia/default/10129@[SERVERIP]) State HANGUP
2018-12-06 14:45:05.908675 [DEBUG] mod_sofia.c:438 Channel sofia/default/10129@[SERVERIP] hanging up, cause: WRONG_CALL_STATE
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:60 sofia/default/10129@[SERVERIP] Standard HANGUP, cause: WRONG_CALL_STATE
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:852 (sofia/default/10129@[SERVERIP]) State HANGUP going to sleep
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:619 (sofia/default/10129@[SERVERIP]) State Change CS_HANGUP -> CS_REPORTING
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/10129@[SERVERIP]) Running State Change CS_REPORTING (Cur 1 Tot 78433)
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:938 (sofia/default/10129@[SERVERIP]) State REPORTING
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:174 sofia/default/10129@[SERVERIP] Standard REPORTING, cause: WRONG_CALL_STATE
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:938 (sofia/default/10129@[SERVERIP]) State REPORTING going to sleep
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:610 (sofia/default/10129@[SERVERIP]) State Change CS_REPORTING -> CS_DESTROY
2018-12-06 14:45:05.908675 [DEBUG] switch_core_session.c:1665 Session 78433 (sofia/default/10129@[SERVERIP]) Locked, Waiting on external entities
2018-12-06 14:45:05.908675 [NOTICE] switch_core_session.c:1683 Session 78433 (sofia/default/10129@[SERVERIP]) Ended
2018-12-06 14:45:05.908675 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/10129@[SERVERIP] [CS_DESTROY]
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:741 (sofia/default/10129@[SERVERIP]) Running State Change CS_DESTROY (Cur 0 Tot 78433)
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:751 (sofia/default/10129@[SERVERIP]) State DESTROY
2018-12-06 14:45:05.908675 [DEBUG] mod_sofia.c:343 sofia/default/10129@[SERVERIP] SOFIA DESTROY
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:181 sofia/default/10129@[SERVERIP] Standard DESTROY
2018-12-06 14:45:05.908675 [DEBUG] switch_core_state_machine.c:751 (sofia/default/10129@[SERVERIP]) State DESTROY going to sleep