From IVR-time, 6 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: green; font-weight: bold;"> 2018-12-19 09:54:17.730547 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 13049314867
  2. 2018-12-19 09:54:17.730547 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  3. 2018-12-19 09:54:17.730547 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 6617480240 / 6617480240
  4. 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
  5. 2018-12-19 09:54:17.730547 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  6. 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
  7. 2018-12-19 09:54:17.750547 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 9139839482]
  8. 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
  9. 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
  10. 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
  11. 2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CALLERID_NUMBER] CALLERID :6617480240
  12. 2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CUSTOMER_ID] USERID :11
  13. 2018-12-19 09:54:17.750547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CIDPOOL] CIDPOOL :0
  14. 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
  15. 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
  16. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  17. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 11
  18. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 9139839482
  19. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  20. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  21. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  22. 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
  23. 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
  24. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  25. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 7
  26. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  27. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  28. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  29. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : 13049314867
  30. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 11
  31. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  32. 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
  33. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  34. 2018-12-19 09:54:17.750547 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes
  35. 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
  36. 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
  37. 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
  38. 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
  39. 2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  40. 2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:11
  41. 2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:11
  42. 2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 11
  43. 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
  44. 2018-12-19 09:54:17.770538 [WARNING] switch_cpp.cpp:1365 [ASTPP] [fifo_agent_flag] fifo_agent_flag0
  45. 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
  46. 2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition_id : 1
  47. 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
  48. 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"}]
  49. 2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] priority : 1
  50. 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"
  51. 2018-12-19 09:54:17.770538 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Starts
  52. 2018-12-19 09:54:17.770538 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Ends
  53. 2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 8
  54. 2018-12-19 09:54:17.770538 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR
  55. 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
  56. 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
  57. 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"?>
  58. <document type="freeswitch/xml">
  59. <section name="dialplan" description="ASTPP Dialplan">
  60. <context name="default">
  61. <extension name="TEST" continue="true">
  62. <condition  time-of-day= "17:00-23:59"  wday= "4-7"  mday= "1-31"  mon= "1-12"  year= "2018-2018"  break="never">
  63. <action application="set" data="office_status=open" inline="true"/>
  64. <action application="set" data="extensions=9139839482" inline="true"/>
  65. </condition>
  66. </extension>
  67. <extension name="tod route, x13049314867">
  68. <condition field="destination_number" expression="^(13049314867)$">
  69. <action application="execute_extension" data="13049314867_${office_status}"/>
  70. </condition>
  71. </extension>
  72. <extension name="office is open">
  73. <condition field="destination_number" expression="^(13049314867_open)$">
  74. <action application="set" data="domain_name=$${domain}"/>
  75. <action application="set" data="set_extensions=${extensions}"/>
  76. <action application="bridge" data="user/${extensions}@${domain_name}"/>
  77. </condition>
  78. </extension>
  79. <extension name="13049314867">
  80. <condition field="destination_number" expression="13049314867">
  81. <action application="set" data="effective_destination_number=13049314867"/>
  82. <action application="sched_hangup" data="+6000 normal_clearing"/>
  83. <action application="set" data="callstart=2018-12-19 09:54:17"/>
  84. <action application="set" data="hangup_after_bridge=true"/>
  85. <action application="set" data="continue_on_fail=TRUE"/>
  86. <action application="set" data="account_id=11"/>
  87. <action application="set" data="parent_id=0"/>
  88. <action application="set" data="entity_id=0"/>
  89. <action application="set" data="call_processed=internal"/>
  90. <action application="set" data="call_direction=inbound"/>
  91. <action application="set" data="accountname=DID testing"/>
  92. <action application="export" data="t38_passthru=true"/>
  93. <action application="set" data="fax_enable_t38=true"/>
  94. <action application="set" data="fax_enable_t38_request=true"/>
  95. <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"/>
  96. <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"/>
  97. <action application="set" data="original_caller_id_name=6617480240"/>
  98. <action application="set" data="original_caller_id_number=6617480240"/>
  99. <action application="set" data="effective_caller_id_name=6617480240"/>
  100. <action application="set" data="effective_caller_id_number=6617480240"/>
  101. <action application="set" data="receiver_accid=11"/>
  102. <action application="export" data="presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID"/>
  103. <action application="set" data="did_calltype=8"/>
  104. <action application="set" data="did_extensions=1"/>
  105. <action application="set" data="ringback=0"/>
  106. <action application="set" data="module_name=pbx"/>
  107. <action application="ivr" data="TESTING0"/>
  108. </condition>
  109. </extension>
  110. </context>
  111. </section>
  112. </document>
  113. 2018-12-19 09:54:17.770538 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f27380c8260 released.
  114. Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->TEST] continue=true
  115. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Date/TimeMatch (FAIL) [TEST] break=never
  116. Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->tod route, x13049314867] continue=false
  117. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (PASS) [tod route, x13049314867] destination_number(13049314867) =~ /^(13049314867)$/ break=on-false
  118. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action execute_extension(13049314867_${office_status})
  119. 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
  120. 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
  121. 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)
  122. 2018-12-19 09:54:17.770538 [DEBUG] switch_core_state_machine.c:650 (sofia/default/6617480240@117.247.91.162:5060) State EXECUTE
  123. 2018-12-19 09:54:17.770538 [DEBUG] mod_sofia.c:198 sofia/default/6617480240@117.247.91.162:5060 SOFIA EXECUTE
  124. 2018-12-19 09:54:17.770538 [DEBUG] switch_core_state_machine.c:328 sofia/default/6617480240@117.247.91.162:5060 Standard EXECUTE
  125. EXECUTE sofia/default/6617480240@117.247.91.162:5060 execute_extension(13049314867_)
  126. 2018-12-19 09:54:17.770538 [INFO] mod_dialplan_xml.c:637 Processing 6617480240 <6617480240>->13049314867_ in context default
  127. 2018-12-19 09:54:17.770538 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f27380c8260 Connected.
  128. 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')
  129. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 13049314867
  130. 2018-12-19 09:54:17.790546 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  131. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 6617480240 / 6617480240
  132. 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
  133. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  134. 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
  135. 2018-12-19 09:54:17.790546 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 9139839482]
  136. 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
  137. 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
  138. 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
  139. 2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CALLERID_NUMBER] CALLERID :6617480240
  140. 2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CUSTOMER_ID] USERID :11
  141. 2018-12-19 09:54:17.790546 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CIDPOOL] CIDPOOL :0
  142. 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
  143. 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
  144. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  145. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 11
  146. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 9139839482
  147. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  148. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  149. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  150. 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
  151. 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
  152. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  153. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 7
  154. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  155. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  156. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  157. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : 13049314867
  158. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 11
  159. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  160. 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
  161. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  162. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes
  163. 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
  164. 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
  165. 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
  166. 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
  167. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  168. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:11
  169. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:11
  170. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 11
  171. 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
  172. 2018-12-19 09:54:17.790546 [WARNING] switch_cpp.cpp:1365 [ASTPP] [fifo_agent_flag] fifo_agent_flag0
  173. 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
  174. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] timecondition_id : 1
  175. 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
  176. 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"}]
  177. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [TIME_COND] priority : 1
  178. 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"
  179. 2018-12-19 09:54:17.790546 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Starts
  180. 2018-12-19 09:54:17.790546 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Ends
  181. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 8
  182. 2018-12-19 09:54:17.790546 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR
  183. 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
  184. 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
  185. 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"?>
  186. <document type="freeswitch/xml">
  187. <section name="dialplan" description="ASTPP Dialplan">
  188. <context name="default">
  189. <extension name="TEST" continue="true">
  190. <condition  time-of-day= "17:00-23:59"  wday= "4-7"  mday= "1-31"  mon= "1-12"  year= "2018-2018"  break="never">
  191. <action application="set" data="office_status=open" inline="true"/>
  192. <action application="set" data="extensions=9139839482" inline="true"/>
  193. </condition>
  194. </extension>
  195. <extension name="tod route, x13049314867">
  196. <condition field="destination_number" expression="^(13049314867)$">
  197. <action application="execute_extension" data="13049314867_${office_status}"/>
  198. </condition>
  199. </extension>
  200. <extension name="office is open">
  201. <condition field="destination_number" expression="^(13049314867_open)$">
  202. <action application="set" data="domain_name=$${domain}"/>
  203. <action application="set" data="set_extensions=${extensions}"/>
  204. <action application="bridge" data="user/${extensions}@${domain_name}"/>
  205. </condition>
  206. </extension>
  207. <extension name="13049314867">
  208. <condition field="destination_number" expression="13049314867">
  209. <action application="set" data="effective_destination_number=13049314867"/>
  210. <action application="sched_hangup" data="+6000 normal_clearing"/>
  211. <action application="set" data="callstart=2018-12-19 09:54:17"/>
  212. <action application="set" data="hangup_after_bridge=true"/>
  213. <action application="set" data="continue_on_fail=TRUE"/>
  214. <action application="set" data="account_id=11"/>
  215. <action application="set" data="parent_id=0"/>
  216. <action application="set" data="entity_id=0"/>
  217. <action application="set" data="call_processed=internal"/>
  218. <action application="set" data="call_direction=inbound"/>
  219. <action application="set" data="accountname=DID testing"/>
  220. <action application="export" data="t38_passthru=true"/>
  221. <action application="set" data="fax_enable_t38=true"/>
  222. <action application="set" data="fax_enable_t38_request=true"/>
  223. <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"/>
  224. <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"/>
  225. <action application="set" data="original_caller_id_name=6617480240"/>
  226. <action application="set" data="original_caller_id_number=6617480240"/>
  227. <action application="set" data="effective_caller_id_name=6617480240"/>
  228. <action application="set" data="effective_caller_id_number=6617480240"/>
  229. <action application="set" data="receiver_accid=11"/>
  230. <action application="export" data="presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID"/>
  231. <action application="set" data="did_calltype=8"/>
  232. <action application="set" data="did_extensions=1"/>
  233. <action application="set" data="ringback=0"/>
  234. <action application="set" data="module_name=pbx"/>
  235. <action application="ivr" data="TESTING0"/>
  236. </condition>
  237. </extension>
  238. </context>
  239. </section>
  240. </document>
  241. 2018-12-19 09:54:17.810543 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f27380c8260 released.
  242. Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->TEST] continue=true
  243. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Date/TimeMatch (FAIL) [TEST] break=never
  244. Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->tod route, x13049314867] continue=false
  245. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (FAIL) [tod route, x13049314867] destination_number(13049314867_) =~ /^(13049314867)$/ break=on-false
  246. Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->office is open] continue=false
  247. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (FAIL) [office is open] destination_number(13049314867_) =~ /^(13049314867_open)$/ break=on-false
  248. Dialplan: sofia/default/6617480240@117.247.91.162:5060 parsing [default->13049314867] continue=false
  249. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Regex (PASS) [13049314867] destination_number(13049314867_) =~ /13049314867/ break=on-false
  250. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(effective_destination_number=13049314867)
  251. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action sched_hangup(+6000 normal_clearing)
  252. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(callstart=2018-12-19 09:54:17)
  253. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(hangup_after_bridge=true)
  254. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(continue_on_fail=TRUE)
  255. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(account_id=11)
  256. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(parent_id=0)
  257. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(entity_id=0)
  258. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(call_processed=internal)
  259. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(call_direction=inbound)
  260. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(accountname=DID testing)
  261. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action export(t38_passthru=true)
  262. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(fax_enable_t38=true)
  263. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(fax_enable_t38_request=true)
  264. 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)
  265. 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)
  266. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(original_caller_id_name=6617480240)
  267. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(original_caller_id_number=6617480240)
  268. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(effective_caller_id_name=6617480240)
  269. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(effective_caller_id_number=6617480240)
  270. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(receiver_accid=11)
  271. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action export(presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID)
  272. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(did_calltype=8)
  273. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(did_extensions=1)
  274. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(ringback=0)
  275. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action set(module_name=pbx)
  276. Dialplan: sofia/default/6617480240@117.247.91.162:5060 Action ivr(TESTING0)
  277. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(effective_destination_number=13049314867)
  278. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(effective_destination_number=13049314867)
  279. 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]
  280. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute sched_hangup(+6000 normal_clearing)
  281. EXECUTE sofia/default/6617480240@117.247.91.162:5060 sched_hangup(+6000 normal_clearing)
  282. 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
  283. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(callstart=2018-12-19 09:54:17)
  284. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(callstart=2018-12-19 09:54:17)
  285. 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]
  286. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(hangup_after_bridge=true)
  287. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(hangup_after_bridge=true)
  288. 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]
  289. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(continue_on_fail=TRUE)
  290. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(continue_on_fail=TRUE)
  291. 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]
  292. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(account_id=11)
  293. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(account_id=11)
  294. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [account_id]=[11]
  295. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(parent_id=0)
  296. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(parent_id=0)
  297. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [parent_id]=[0]
  298. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(entity_id=0)
  299. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(entity_id=0)
  300. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [entity_id]=[0]
  301. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(call_processed=internal)
  302. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(call_processed=internal)
  303. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [call_processed]=[internal]
  304. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(call_direction=inbound)
  305. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(call_direction=inbound)
  306. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [call_direction]=[inbound]
  307. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(accountname=DID testing)
  308. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(accountname=DID testing)
  309. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [accountname]=[DID testing]
  310. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute export(t38_passthru=true)
  311. EXECUTE sofia/default/6617480240@117.247.91.162:5060 export(t38_passthru=true)
  312. 2018-12-19 09:54:17.810543 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  313. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(fax_enable_t38=true)
  314. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(fax_enable_t38=true)
  315. 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]
  316. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(fax_enable_t38_request=true)
  317. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(fax_enable_t38_request=true)
  318. 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]
  319. 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)
  320. 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)
  321. 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]
  322. 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)
  323. 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)
  324. 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]
  325. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(original_caller_id_name=6617480240)
  326. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(original_caller_id_name=6617480240)
  327. 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]
  328. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(original_caller_id_number=6617480240)
  329. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(original_caller_id_number=6617480240)
  330. 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]
  331. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(effective_caller_id_name=6617480240)
  332. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(effective_caller_id_name=6617480240)
  333. 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]
  334. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(effective_caller_id_number=6617480240)
  335. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(effective_caller_id_number=6617480240)
  336. 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]
  337. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(receiver_accid=11)
  338. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(receiver_accid=11)
  339. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [receiver_accid]=[11]
  340. 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)
  341. EXECUTE sofia/default/6617480240@117.247.91.162:5060 export(presence_data=x|||QA Test(9139839482)|||^13049314867.* // 13049314867 // 0.00000||||||DID)
  342. 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]
  343. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(did_calltype=8)
  344. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(did_calltype=8)
  345. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [did_calltype]=[8]
  346. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(did_extensions=1)
  347. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(did_extensions=1)
  348. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [did_extensions]=[1]
  349. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(ringback=0)
  350. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(ringback=0)
  351. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [ringback]=[0]
  352. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute set(module_name=pbx)
  353. EXECUTE sofia/default/6617480240@117.247.91.162:5060 set(module_name=pbx)
  354. 2018-12-19 09:54:17.810543 [DEBUG] mod_dptools.c:1548 SET sofia/default/6617480240@117.247.91.162:5060 [module_name]=[pbx]
  355. 2018-12-19 09:54:17.810543 [NOTICE] switch_core_session.c:2914 Execute ivr(TESTING0)
  356. 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
  357. 2018-12-19 09:54:17.810543 [INFO] switch_core_session.c:2649 Sending early media
  358. 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
  359. 2018-12-19 09:54:17.810543 [DEBUG] switch_rtp.c:4111 Starting timer [soft] 160 bytes per 20ms
  360. 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
  361. 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
  362. 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
  363. 2018-12-19 09:54:17.810543 [DEBUG] mod_sofia.c:2364 Ring SDP:
  364. v=0
  365. o=FreeSWITCH 1545187249 1545187250 IN IP4 139.162.54.235
  366. s=FreeSWITCH
  367. c=IN IP4 139.162.54.235
  368. t=0 0
  369. m=audio 26008 RTP/AVP 0 101
  370. a=rtpmap:0 PCMU/8000
  371. a=rtpmap:101 telephone-event/8000
  372. a=fmtp:101 0-16
  373. a=ptime:20
  374. a=sendrecv
  375.  
  376. 2018-12-19 09:54:17.810543 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/6617480240@117.247.91.162:5060!
  377. 2018-12-19 09:54:17.810543 [DEBUG] switch_channel.c:3474 (sofia/default/6617480240@117.247.91.162:5060) Callstate Change RINGING -> EARLY
  378. EXECUTE sofia/default/6617480240@117.247.91.162:5060 ivr(TESTING0)
  379. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  380. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  381. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  382. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  383. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back'
  384. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top'
  385. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:880 building menu 'TESTING0'
  386. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
  387. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu TESTING0
  388. 2018-12-19 09:54:17.830541 [DEBUG] sofia.c:7084 Channel sofia/default/6617480240@117.247.91.162:5060 entering state [early][183]
  389. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:661 IVR menu 'TESTING0' no input detected
  390. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:661 IVR menu 'TESTING0' no input detected
  391. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:661 IVR menu 'TESTING0' no input detected
  392. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:505 Maximum failures
  393. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_menu.c:673 exit-sound 'voicemail/vm-goodbye.wav'
  394. 2018-12-19 09:54:17.830541 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  395. 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
  396. 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.
  397. 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]
  398. 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
  399. 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)
  400. 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
  401. 2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:852 (sofia/default/6617480240@117.247.91.162:5060) State HANGUP
  402. 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
  403. 2018-12-19 09:54:18.290553 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
  404. 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
  405. 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
  406. 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
  407. 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)
  408. 2018-12-19 09:54:18.290553 [DEBUG] switch_core_state_machine.c:938 (sofia/default/6617480240@117.247.91.162:5060) State REPORTING
  409. 2018-12-19 09:54:18.290553 [INFO] mod_json_cdr.c:271 Process [0cccba8c-0374-11e9-a354-51646c3ac3f3.cdr.json]
  410. 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
  411. 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
  412. 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
  413. 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
  414. 2018-12-19 09:54:18.310720 [NOTICE] switch_core_session.c:1683 Session 1521 (sofia/default/6617480240@117.247.91.162:5060) Ended
  415. 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]
  416. 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)
  417. 2018-12-19 09:54:18.310720 [DEBUG] switch_core_state_machine.c:751 (sofia/default/6617480240@117.247.91.162:5060) State DESTROY
  418. 2018-12-19 09:54:18.310720 [DEBUG] mod_sofia.c:343 sofia/default/6617480240@117.247.91.162:5060 SOFIA DESTROY
  419. 2018-12-19 09:54:18.310720 [DEBUG] switch_core_state_machine.c:181 sofia/default/6617480240@117.247.91.162:5060 Standard DESTROY
  420. 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
  421. 2018-12-19 09:54:18.810548 [DEBUG] switch_scheduler.c:144 Deleting task 109 switch_ivr_schedule_hangup (0cccba8c-0374-11e9-a354-51646c3ac3f3)
  422. Type control-D or /exit or /quit or /bye to exit.
  423.  
  424.