span style="color: green; font-weight: bold;"> 2018-12-19 09:54:17.730547 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 13049314867
2018-12-19 09:54:17.730547 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2018-12-19 09:54:17.730547 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 6617480240 / 6617480240
2018-12-19 09:54:17.730547 [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 ="13049314867" LIMIT 1
2018-12-19 09:54:17.730547 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
2018-12-19 09:54:17.730547 [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("117.247.91.162") 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 "13049314867" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2018-12-19 09:54:17.750547 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 9139839482]
2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '13049314867' OR routing_prefix = '1304931486' OR routing_prefix = '130493148' OR routing_prefix = '13049314' OR routing_prefix = '1304931' OR routing_prefix = '130493' OR routing_prefix = '13049' OR routing_prefix = '1304' OR routing_prefix = '130' OR routing_prefix = '13' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 limit 1
2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9139839482" OR id="9139839482") AND status=0 AND deleted=0 AND (expiry >= '2018-12-19 09:54:17' OR expiry = '0000-00-00 00:00:00') limit 1
2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CALLERID_NUMBER] CALLERID :6617480240
2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CUSTOMER_ID] USERID :11
2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CIDPOOL] CIDPOOL :0
2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.750547 [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 = '^13049314867.*' OR patterns = '^1304931486.*' OR patterns = '^130493148.*' OR patterns = '^13049314.*' OR patterns = '^1304931.*' OR patterns = '^130493.*' OR patterns = '^13049.*' OR patterns = '^1304.*' OR patterns = '^130.*' OR patterns = '^13.*' OR patterns = '^1.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 11
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 9139839482
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2018-12-19 09:54:17.750547 [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 ="13049314867" LIMIT 1
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 7
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : 13049314867
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 11
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes
2018-12-19 09:54:17.750547 [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-19 09:54:17' OR expiry = '0000-00-00 00:00:00') limit 1
2018-12-19 09:54:17.770538 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.770538 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2018-12-19 09:54:17.770538 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:11
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:11
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 11
2018-12-19 09:54:17.770538 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 13049314867 and status=0 LIMIT 1
2018-12-19 09:54:17.770538 [WARNING] switch_cpp.cpp:1365 [ASTPP] [fifo_agent_flag] fifo_agent_flag0
2018-12-19 09:54:17.770538 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_TIME_CONDITION_ID] Query :SELECT timecondition_id from dids WHERE id = '7' LIMIT 1
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition_id : 1
2018-12-19 09:54:17.770538 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status = 0 LIMIT 1
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition : [{"hour":"17-23","minute":"00-59","wday":"4-7","mday":"1-31","mon":"1-12","year":"2018-2018","extensions":"9139839482","priority":"1"}]
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] priority : 1
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] condition_str : time-of-day= "17:00-23:59" wday= "4-7" mday= "1-31" mon= "1-12" year= "2018-2018"
2018-12-19 09:54:17.770538 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Starts
2018-12-19 09:54:17.770538 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Ends
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 8
2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR
2018-12-19 09:54:17.770538 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from tbl_ivr_specification WHERE id = 1 and status=0 LIMIT 1
2018-12-19 09:54:17.770538 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
2018-12-19 09:54:17.770538 [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="TEST" continue="true">
<condition time-of-day= "17:00-23:59" wday= "4-7" mday= "1-31" mon= "1-12" year= "2018-2018" break="never">
<action application="set" data="office_status=open" inline="true"/>
<action application="set" data="extensions=9139839482" inline="true"/>
</condition>
</extension>
<extension name="tod route, x13049314867">
<condition field="destination_number" expression="^(13049314867)$">
<action application="execute_extension" data="13049314867_${office_status}"/>
</condition>
</extension>
<extension name="office is open">
<condition field="destination_number" expression="^(13049314867_open)$">
<action application="set" data="domain_name=$${domain}"/>
<action application="set" data="set_extensions=${extensions}"/>
<action application="bridge" data="user/${extensions}@${domain_name}"/>
</condition>
</extension>
<extension name="13049314867">
<condition field="destination_number" expression="13049314867">
<action application="set" data="effective_destination_number=13049314867"/>
<action application="sched_hangup" data="+6000 normal_clearing"/>
<action application="set" data="callstart=2018-12-19 09:54:17"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=11"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=DID testing"/>
<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:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11"/>
<action application="set" data="origination_rates=ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11"/>
<action application="set" data="original_caller_id_name=6617480240"/>
<action application="set" data="original_caller_id_number=6617480240"/>
<action application="set" data="effective_caller_id_name=6617480240"/>
<action application="set" data="effective_caller_id_number=6617480240"/>
<action application="set" data="receiver_accid=11"/>
<action application="export" data="presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID"/>
<action application="set" data="did_calltype=8"/>
<action application="set" data="did_extensions=1"/>
<action application="set" data="ringback=0"/>
<action application="set" data="module_name=pbx"/>
<action application="ivr" data="TESTING0"/>
</condition>
</extension>
</context>
</section>
</document>
2018-12-19 09:54:17.770538 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f27380c8260 released.
Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->TEST] continue=true
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Date/TimeMatch (FAIL) [TEST] break=never
Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->tod route, x13049314867] continue=false
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (PASS) [tod route, x13049314867] destination_number(13049314867) =~ /^(13049314867)$/ break=on-false
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action execute_extension(13049314867_${office_status})
2018-12-19 09:54:17.770538 [DEBUG] switch_core_state_machine.c:286 (sofia/default/6617480240@117.247.91.162:5060) State Change CS_ROUTING -> CS_EXECUTE
2018-12-19 09:54:17.770538 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6617480240@117.247.91.162:5060) State ROUTING going to sleep
2018-12-19 09:54:17.770538 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_EXECUTE (Cur 1 Tot 1521)
2018-12-19 09:54:17.770538 [DEBUG] switch_core_state_machine.c:650 (sofia/default/6617480240@117.247.91.162:5060) State EXECUTE
2018-12-19 09:54:17.770538 [DEBUG] mod_sofia.c:198 sofia/default/6617480240@117.247.91.162:5060 SOFIA EXECUTE
2018-12-19 09:54:17.770538 [DEBUG] switch_core_state_machine.c:328 sofia/default/6617480240@117.247.91.162:5060 Standard EXECUTE
EXECUTE sofia/default/6617480240@117.247.91.162:5060 execute_extension(13049314867_)
2018-12-19 09:54:17.770538 [INFO] mod_dialplan_xml.c:637 Processing 6617480240 <6617480240>->13049314867_ in context default
2018-12-19 09:54:17.770538 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f27380c8260 Connected.
2018-12-19 09:54:17.770538 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 13049314867
2018-12-19 09:54:17.790546 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 6617480240 / 6617480240
2018-12-19 09:54:17.790546 [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 ="13049314867" LIMIT 1
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
2018-12-19 09:54:17.790546 [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("117.247.91.162") 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 "13049314867" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2018-12-19 09:54:17.790546 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 9139839482]
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '13049314867' OR routing_prefix = '1304931486' OR routing_prefix = '130493148' OR routing_prefix = '13049314' OR routing_prefix = '1304931' OR routing_prefix = '130493' OR routing_prefix = '13049' OR routing_prefix = '1304' OR routing_prefix = '130' OR routing_prefix = '13' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 limit 1
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9139839482" OR id="9139839482") AND status=0 AND deleted=0 AND (expiry >= '2018-12-19 09:54:17' OR expiry = '0000-00-00 00:00:00') limit 1
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CALLERID_NUMBER] CALLERID :6617480240
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CUSTOMER_ID] USERID :11
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CIDPOOL] CIDPOOL :0
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.790546 [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 = '^13049314867.*' OR patterns = '^1304931486.*' OR patterns = '^130493148.*' OR patterns = '^13049314.*' OR patterns = '^1304931.*' OR patterns = '^130493.*' OR patterns = '^13049.*' OR patterns = '^1304.*' OR patterns = '^130.*' OR patterns = '^13.*' OR patterns = '^1.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 11
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 9139839482
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2018-12-19 09:54:17.790546 [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 ="13049314867" LIMIT 1
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 7
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : 13049314867
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 11
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes
2018-12-19 09:54:17.790546 [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-19 09:54:17' OR expiry = '0000-00-00 00:00:00') limit 1
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_staus_fraud_detection] Query :select fraud_detection from fraud_UI_settings
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:11
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:11
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 11
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 13049314867 and status=0 LIMIT 1
2018-12-19 09:54:17.790546 [WARNING] switch_cpp.cpp:1365 [ASTPP] [fifo_agent_flag] fifo_agent_flag0
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_TIME_CONDITION_ID] Query :SELECT timecondition_id from dids WHERE id = '7' LIMIT 1
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition_id : 1
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status = 0 LIMIT 1
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition : [{"hour":"17-23","minute":"00-59","wday":"4-7","mday":"1-31","mon":"1-12","year":"2018-2018","extensions":"9139839482","priority":"1"}]
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] priority : 1
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] condition_str : time-of-day= "17:00-23:59" wday= "4-7" mday= "1-31" mon= "1-12" year= "2018-2018"
2018-12-19 09:54:17.790546 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Starts
2018-12-19 09:54:17.790546 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Ends
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 8
2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR
2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from tbl_ivr_specification WHERE id = 1 and status=0 LIMIT 1
2018-12-19 09:54:17.810543 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
2018-12-19 09:54:17.810543 [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="TEST" continue="true">
<condition time-of-day= "17:00-23:59" wday= "4-7" mday= "1-31" mon= "1-12" year= "2018-2018" break="never">
<action application="set" data="office_status=open" inline="true"/>
<action application="set" data="extensions=9139839482" inline="true"/>
</condition>
</extension>
<extension name="tod route, x13049314867">
<condition field="destination_number" expression="^(13049314867)$">
<action application="execute_extension" data="13049314867_${office_status}"/>
</condition>
</extension>
<extension name="office is open">
<condition field="destination_number" expression="^(13049314867_open)$">
<action application="set" data="domain_name=$${domain}"/>
<action application="set" data="set_extensions=${extensions}"/>
<action application="bridge" data="user/${extensions}@${domain_name}"/>
</condition>
</extension>
<extension name="13049314867">
<condition field="destination_number" expression="13049314867">
<action application="set" data="effective_destination_number=13049314867"/>
<action application="sched_hangup" data="+6000 normal_clearing"/>
<action application="set" data="callstart=2018-12-19 09:54:17"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=11"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=DID testing"/>
<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:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11"/>
<action application="set" data="origination_rates=ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11"/>
<action application="set" data="original_caller_id_name=6617480240"/>
<action application="set" data="original_caller_id_number=6617480240"/>
<action application="set" data="effective_caller_id_name=6617480240"/>
<action application="set" data="effective_caller_id_number=6617480240"/>
<action application="set" data="receiver_accid=11"/>
<action application="export" data="presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID"/>
<action application="set" data="did_calltype=8"/>
<action application="set" data="did_extensions=1"/>
<action application="set" data="ringback=0"/>
<action application="set" data="module_name=pbx"/>
<action application="ivr" data="TESTING0"/>
</condition>
</extension>
</context>
</section>
</document>
2018-12-19 09:54:17.810543 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f27380c8260 released.
Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->TEST] continue=true
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Date/TimeMatch (FAIL) [TEST] break=never
Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->tod route, x13049314867] continue=false
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (FAIL) [tod route, x13049314867] destination_number(13049314867_) =~ /^(13049314867)$/ break=on-false
Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->office is open] continue=false
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (FAIL) [office is open] destination_number(13049314867_) =~ /^(13049314867_open)$/ break=on-false
Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->13049314867] continue=false
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (PASS) [13049314867] destination_number(13049314867_) =~ /13049314867/ break=on-false
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(effective_destination_number=13049314867)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action sched_hangup(+6000 normal_clearing)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(callstart=2018-12-19 09:54:17)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(account_id=11)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(parent_id=0)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(entity_id=0)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(call_processed=internal)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(call_direction=inbound)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(accountname=DID testing)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action export(t38_passthru=true)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(fax_enable_t38=true)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(origination_rates_did=ID:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(origination_rates=ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(original_caller_id_name=6617480240)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(original_caller_id_number=6617480240)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(effective_caller_id_name=6617480240)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(effective_caller_id_number=6617480240)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(receiver_accid=11)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action export(presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(did_calltype=8)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(did_extensions=1)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(ringback=0)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(module_name=pbx)
Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action ivr(TESTING0)
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(effective_destination_number=13049314867)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(effective_destination_number=13049314867)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [effective_destination_number]=[13049314867]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute sched_hangup(+6000 normal_clearing)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 sched_hangup(+6000 normal_clearing)
2018-12-19 09:54:17.810543 [DEBUG] switch_scheduler.c:249 Added task 109 switch_ivr_schedule_hangup (0cccba8c-0374-11e9-a354-51646c3ac3f3) to run at 1545219257
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(callstart=2018-12-19 09:54:17)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(callstart=2018-12-19 09:54:17)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [callstart]=[2018-12-19 09:54:17]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(hangup_after_bridge=true)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(hangup_after_bridge=true)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [hangup_after_bridge]=[true]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(continue_on_fail=TRUE)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(continue_on_fail=TRUE)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [continue_on_fail]=[TRUE]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(account_id=11)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(account_id=11)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [account_id]=[11]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(parent_id=0)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(parent_id=0)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [parent_id]=[0]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(entity_id=0)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(entity_id=0)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [entity_id]=[0]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(call_processed=internal)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(call_processed=internal)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [call_processed]=[internal]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(call_direction=inbound)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(call_direction=inbound)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [call_direction]=[inbound]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(accountname=DID testing)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(accountname=DID testing)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [accountname]=[DID testing]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute export(t38_passthru=true)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 export(t38_passthru=true)
2018-12-19 09:54:17.810543 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(fax_enable_t38=true)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(fax_enable_t38=true)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [fax_enable_t38]=[true]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(fax_enable_t38_request=true)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(fax_enable_t38_request=true)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [fax_enable_t38_request]=[true]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(origination_rates_did=ID:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(origination_rates_did=ID:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [origination_rates_did]=[ID:7|CODE:^13049314867.*|DESTINATION:13049314867|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:11]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(origination_rates=ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(origination_rates=ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [origination_rates]=[ID:0|CODE:13049314867|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:11]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(original_caller_id_name=6617480240)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(original_caller_id_name=6617480240)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [original_caller_id_name]=[6617480240]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(original_caller_id_number=6617480240)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(original_caller_id_number=6617480240)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [original_caller_id_number]=[6617480240]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(effective_caller_id_name=6617480240)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(effective_caller_id_name=6617480240)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [effective_caller_id_name]=[6617480240]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(effective_caller_id_number=6617480240)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(effective_caller_id_number=6617480240)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [effective_caller_id_number]=[6617480240]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(receiver_accid=11)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(receiver_accid=11)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [receiver_accid]=[11]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute export(presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 export(presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID)
2018-12-19 09:54:17.810543 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(did_calltype=8)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(did_calltype=8)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [did_calltype]=[8]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(did_extensions=1)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(did_extensions=1)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [did_extensions]=[1]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(ringback=0)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(ringback=0)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [ringback]=[0]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(module_name=pbx)
EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(module_name=pbx)
2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [module_name]=[pbx]
2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute ivr(TESTING0)
2018-12-19 09:54:17.810543 [DEBUG] switch_core_session.c:2647 Application ivr Requires media! pre_answering channel sofia/default/6617480240@117.247.91.162:5060
2018-12-19 09:54:17.810543 [INFO] switch_core_session.c:2649 Sending early media
2018-12-19 09:54:17.810543 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/6617480240@117.247.91.162:5060] 139.162.54.235 port 26008 -> 117.247.91.162 port 22492 codec: 0 ms: 20
2018-12-19 09:54:17.810543 [DEBUG] switch_rtp.c:4111 Starting timer [soft] 160 bytes per 20ms
2018-12-19 09:54:17.810543 [DEBUG] switch_core_media.c:7179 sofia/default/6617480240@117.247.91.162:5060 Set 2833 dtmf send payload to 101
2018-12-19 09:54:17.810543 [DEBUG] switch_core_media.c:7186 sofia/default/6617480240@117.247.91.162:5060 Set 2833 dtmf receive payload to 101
2018-12-19 09:54:17.810543 [DEBUG] switch_core_media.c:7209 sofia/default/6617480240@117.247.91.162:5060 Set rtp dtmf delay to 40
2018-12-19 09:54:17.810543 [DEBUG] mod_sofia.c:2364 Ring SDP:
v=0
o=FreeSWITCH 1545187249 1545187250 IN IP4 139.162.54.235
s=FreeSWITCH
c=IN IP4 139.162.54.235
t=0 0
m=audio 26008 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-19 09:54:17.810543 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/6617480240@117.247.91.162:5060!
2018-12-19 09:54:17.810543 [DEBUG] switch_channel.c:3474 (sofia/default/6617480240@117.247.91.162:5060) Callstate Change RINGING -> EARLY
EXECUTE sofia/default/6617480240@117.247.91.162:5060 ivr(TESTING0)
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit'
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub'
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back'
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top'
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:880 building menu 'TESTING0'
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu TESTING0
2018-12-19 09:54:17.830541 [DEBUG] sofia.c:7084 Channel sofia/default/6617480240@117.247.91.162:5060 entering state [early][183]
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:661 IVR menu 'TESTING0' no input detected
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:661 IVR menu 'TESTING0' no input detected
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:661 IVR menu 'TESTING0' no input detected
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:505 Maximum failures
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:673 exit-sound 'voicemail/vm-goodbye.wav'
2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
2018-12-19 09:54:18.290553 [DEBUG] switch_ivr_play_say.c:1942 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-goodbye.wav
2018-12-19 09:54:18.290553 [NOTICE] switch_core_state_machine.c:385 sofia/default/6617480240@117.247.91.162:5060 has executed the last dialplan instruction, hanging up.
2018-12-19 09:54:18.290553 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/6617480240@117.247.91.162:5060 [CS_EXECUTE] [NORMAL_CLEARING]
2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:650 (sofia/default/6617480240@117.247.91.162:5060) State EXECUTE going to sleep
2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_HANGUP (Cur 1 Tot 1521)
2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6617480240@117.247.91.162:5060) Callstate Change EARLY -> HANGUP
2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:852 (sofia/default/6617480240@117.247.91.162:5060) State HANGUP
2018-12-19 09:54:18.290553 [DEBUG] mod_sofia.c:438 Channel sofia/default/6617480240@117.247.91.162:5060 hanging up, cause: NORMAL_CLEARING
2018-12-19 09:54:18.290553 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:60 sofia/default/6617480240@117.247.91.162:5060 Standard HANGUP, cause: NORMAL_CLEARING
2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:852 (sofia/default/6617480240@117.247.91.162:5060) State HANGUP going to sleep
2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:619 (sofia/default/6617480240@117.247.91.162:5060) State Change CS_HANGUP -> CS_REPORTING
2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_REPORTING (Cur 1 Tot 1521)
2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:938 (sofia/default/6617480240@117.247.91.162:5060) State REPORTING
2018-12-19 09:54:18.290553 [INFO] mod_json_cdr.c:271 Process [0cccba8c-0374-11e9-a354-51646c3ac3f3.cdr.json]
2018-12-19 09:54:18.310720 [DEBUG] switch_core_state_machine.c:174 sofia/default/6617480240@117.247.91.162:5060 Standard REPORTING, cause: NORMAL_CLEARING
2018-12-19 09:54:18.310720 [DEBUG] switch_core_state_machine.c:938 (sofia/default/6617480240@117.247.91.162:5060) State REPORTING going to sleep
2018-12-19 09:54:18.310720 [DEBUG] switch_core_state_machine.c:610 (sofia/default/6617480240@117.247.91.162:5060) State Change CS_REPORTING -> CS_DESTROY
2018-12-19 09:54:18.310720 [DEBUG] switch_core_session.c:1665 Session 1521 (sofia/default/6617480240@117.247.91.162:5060) Locked, Waiting on external entities
2018-12-19 09:54:18.310720 [NOTICE] switch_core_session.c:1683 Session 1521 (sofia/default/6617480240@117.247.91.162:5060) Ended
2018-12-19 09:54:18.310720 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/6617480240@117.247.91.162:5060 [CS_DESTROY]
2018-12-19 09:54:18.310720 [DEBUG] switch_core_state_machine.c:741 (sofia/default/6617480240@117.247.91.162:5060) Running State Change CS_DESTROY (Cur 0 Tot 1521)
2018-12-19 09:54:18.310720 [DEBUG] switch_core_state_machine.c:751 (sofia/default/6617480240@117.247.91.162:5060) State DESTROY
2018-12-19 09:54:18.310720 [DEBUG] mod_sofia.c:343 sofia/default/6617480240@117.247.91.162:5060 SOFIA DESTROY
2018-12-19 09:54:18.310720 [DEBUG] switch_core_state_machine.c:181 sofia/default/6617480240@117.247.91.162:5060 Standard DESTROY
2018-12-19 09:54:18.310720 [DEBUG] switch_core_state_machine.c:751 (sofia/default/6617480240@117.247.91.162:5060) State DESTROY going to sleep
2018-12-19 09:54:18.810548 [DEBUG] switch_scheduler.c:144 Deleting task 109 switch_ivr_schedule_hangup (0cccba8c-0374-11e9-a354-51646c3ac3f3)
Type control-D or /exit or /quit or /bye to exit.