From tulga, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: green; font-weight: bold;"> 2022-03-07 18:19:23.021839 91.17% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Dialed number : 300572111111
  2. 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '300572111111' AND status=0 limit 1
  3. 2022-03-07 18:19:23.021839 91.17% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Caller Id name / number  : 86897070 / 86897070
  4. 2022-03-07 18:19:23.021839 91.17% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1
  5. 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  6. 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,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,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="300572111111" LIMIT 1
  7. 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="300572111111" limit 1
  8. 2022-03-07 18:19:23.021839 91.17% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Call direction : outbound
  9. 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [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("10.0.16.25") 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 "300572111111"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  10. 2022-03-07 18:19:23.121837 91.10% [INFO] agora_glue.cpp:492 onUserAudioTrackSubscribed userId 1217199929
  11. 2022-03-07 18:19:23.141838 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 300572111111
  12. 2022-03-07 18:19:23.141838 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 72111111
  13. 2022-03-07 18:19:23.141838 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [Accountcode : 7842187716]
  14. 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7842187716" AND deleted = 0 limit 1
  15. 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^72111111.*' OR blocked_patterns = '^7211111.*' OR blocked_patterns = '^721111.*' OR blocked_patterns = '^72111.*' OR blocked_patterns = '^7211.*' OR blocked_patterns = '^721.*' OR blocked_patterns = '^72.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 453 limit 1
  16. 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="72111111" AND A.accountid = '453' limit 1
  17. 2022-03-07 18:19:23.141838 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 72111111
  18. 2022-03-07 18:19:23.141838 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1
  19. 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  20. 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,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,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="72111111" LIMIT 1
  21. 2022-03-07 18:19:23.161838 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] New Call direction : inbound
  22. 2022-03-07 18:19:23.161838 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1
  23. 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  24. 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="72111111" AND (accountid = 0 OR status = 1) LIMIT 1
  25. 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  26. 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :339
  27. 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^72111111.*' OR patterns = '^7211111.*' OR patterns = '^721111.*' OR patterns = '^72111.*' OR patterns = '^7211.*' OR patterns = '^721.*' OR patterns = '^72.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 339 ORDER BY LENGTH(PKGPTR.patterns) DESC
  28. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '72111111' OR number = '7211111' OR number = '721111' OR number = '72111' OR number = '7211' OR number = '721' OR number = '72' OR number = '7' OR number ='--') OR (number = '72111111*' OR number = '7211111*' OR number = '721111*' OR number = '72111*' OR number = '7211*' OR number = '721*' OR number = '72*' OR number = '7*' OR number ='--') OR (number = '86897070' OR number = '8689707' OR number = '868970' OR number = '86897' OR number = '8689' OR number = '868' OR number = '86' OR number = '8' OR number ='--') OR (number = '86897070*' OR number = '8689707*' OR number = '868970*' OR number = '86897*' OR number = '8689*' OR number = '868*' OR number = '86*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  29. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] Call Barring Status : -1
  30. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '72111111' OR routing_prefix = '7211111' OR routing_prefix = '721111' OR routing_prefix = '72111' OR routing_prefix = '7211' OR routing_prefix = '721' OR routing_prefix = '72' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  31. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Account Information ===================
  32. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] User id : 453
  33. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Account code : 7842187716
  34. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Balance : 942711550.502
  35. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  36. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Ratecard id : 35
  37. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] CID Pool : 0
  38. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ========================================================
  39. 2022-03-07 18:19:23.181845 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH1: 1
  40. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  41. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 35 AND status = 0
  42. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] call_direction :inbound
  43. 2022-03-07 18:19:23.181845 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1
  44. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  45. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,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,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="72111111" LIMIT 1
  46. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] call_direction:::::: inbound
  47. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Rates Information ===================
  48. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 22235
  49. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000
  50. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Includedseconds : 0
  51. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Cost : 0.00000
  52. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] comment : 72111111
  53. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Country Id : 128
  54. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Accid : 453
  55. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ================================================================
  56. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Your942711550.502 balance Accountid 453 !!!
  57. 2022-03-07 18:19:23.181845 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 30
  58. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Call Max length duration : 30 minutes
  59. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] INB_FREE:TRUE
  60. 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] free_inbound:0
  61. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 453 AND status=0 LIMIT 1
  62. 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "339" AND deleted = 0 limit 1
  63. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 35 AND status = 0
  64. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] call_direction :outbound
  65. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^72111111.*' OR pattern = '^7211111.*' OR pattern = '^721111.*' OR pattern = '^72111.*' OR pattern = '^7211.*' OR pattern = '^721.*' OR pattern = '^72.*' OR pattern = '^7.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 35 OR accountid=453)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  66. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] call_direction:::::: outbound
  67. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Rates Information ===================
  68. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 127
  69. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000
  70. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Includedseconds : 0
  71. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Cost : 20.00000
  72. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] comment :
  73. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Country Id : 128
  74. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Accid : 453
  75. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Trunk ID:
  76. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Routing type:
  77. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ================================================================
  78. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Your942711550.502 balance Accountid 453 !!!
  79. 2022-03-07 18:19:23.201846 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 90 mins!
  80. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] Actual CustomerInfo XML:453
  81. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] Userinfo XML:453
  82. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] Actual CustomerInfo XML : 453
  83. 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] maxlength::::::::: 30
  84. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_3
  85. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  86. <document type="freeswitch/xml">
  87. <section name="dialplan" description="ASTPP Dialplan">
  88. <context name="default">
  89. <extension name="72111111">
  90. <condition field="destination_number" expression="300572111111">
  91. <action application="set" data="effective_destination_number=72111111"/>
  92. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  93. <action application="set" data="bridge_pre_execute_bleg_data=+1800 normal_clearing"/>
  94. <action application="set" data="callstart=2022-03-07 10:19:23"/>
  95. <action application="set" data="hangup_after_bridge=true"/>
  96. <action application="set" data="continue_on_fail=TRUE"/>
  97. <action application="set" data="account_id=453"/>
  98. <action application="set" data="parent_id=0"/>
  99. <action application="set" data="entity_id=0"/>
  100. <action application="set" data="call_processed=internal"/>
  101. <action application="set" data="call_direction=inbound"/>
  102. <action application="set" data="accountname=Unitel I/B"/>
  103. <action application="set" data="origination_rates_did=ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339"/>
  104. <action application="set" data="origination_rates=ID:127|CODE:^72.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:20.00000|INC:1|INITIALBLOCK:1|RATEGROUP:35|MARKUP:0|CI:128|ACCID:453"/>
  105. <action application="set" data="original_caller_id_name=86897070"/>
  106. <action application="set" data="original_caller_id_number=86897070"/>
  107. <action application="limit" data="db 7842187716 user_7842187716 100 !SWITCH_CONGESTION"/>
  108. <action application="limit" data="db 339 user_339 2 !SWITCH_CONGESTION"/>
  109. <action application="set" data="effective_caller_id_name=86897070"/>
  110. <action application="set" data="effective_caller_id_number=86897070"/>
  111. <action application="set" data="receiver_accid=339"/>
  112. <action application="limit" data="db 72111111 did_72111111 2 !SWITCH_CONGESTION"/>
  113. <action application="export" data="presence_data=x|||Unitel(7842187716)|||^72111111.* // 72111111 // 0.00000||||||DID"/>
  114. <action application="export" data="call_type=3"/>
  115. <action application="set" data="calltype=OTHER"/>
  116. <action application="lua" data="onlime.lua 72111111"/>
  117. <action application="export" data="read_rate=8000"/>
  118. <action application="export" data="write_rate=8000"/>
  119. <action application="lua" data="astpp-busytone.lua"/>
  120. </condition>
  121. </extension>
  122. </context>
  123. </section>
  124. </document>
  125. Dialplan: sofia/default/86897070@10.0.16.25 parsing [default->72111111] continue=false
  126. Dialplan: sofia/default/86897070@10.0.16.25 Regex (PASS) [72111111] destination_number(300572111111) =~ /300572111111/ break=on-false
  127. Dialplan: sofia/default/86897070@10.0.16.25 Action set(effective_destination_number=72111111)
  128. Dialplan: sofia/default/86897070@10.0.16.25 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  129. Dialplan: sofia/default/86897070@10.0.16.25 Action set(bridge_pre_execute_bleg_data=+1800 normal_clearing)
  130. Dialplan: sofia/default/86897070@10.0.16.25 Action set(callstart=2022-03-07 10:19:23)
  131. Dialplan: sofia/default/86897070@10.0.16.25 Action set(hangup_after_bridge=true)
  132. Dialplan: sofia/default/86897070@10.0.16.25 Action set(continue_on_fail=TRUE)
  133. Dialplan: sofia/default/86897070@10.0.16.25 Action set(account_id=453)
  134. Dialplan: sofia/default/86897070@10.0.16.25 Action set(parent_id=0)
  135. Dialplan: sofia/default/86897070@10.0.16.25 Action set(entity_id=0)
  136. Dialplan: sofia/default/86897070@10.0.16.25 Action set(call_processed=internal)
  137. Dialplan: sofia/default/86897070@10.0.16.25 Action set(call_direction=inbound)
  138. Dialplan: sofia/default/86897070@10.0.16.25 Action set(accountname=Unitel I/B)
  139. Dialplan: sofia/default/86897070@10.0.16.25 Action set(origination_rates_did=ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339)
  140. Dialplan: sofia/default/86897070@10.0.16.25 Action set(origination_rates=ID:127|CODE:^72.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:20.00000|INC:1|INITIALBLOCK:1|RATEGROUP:35|MARKUP:0|CI:128|ACCID:453)
  141. Dialplan: sofia/default/86897070@10.0.16.25 Action set(original_caller_id_name=86897070)
  142. Dialplan: sofia/default/86897070@10.0.16.25 Action set(original_caller_id_number=86897070)
  143. Dialplan: sofia/default/86897070@10.0.16.25 Action limit(db 7842187716 user_7842187716 100 !SWITCH_CONGESTION)
  144. Dialplan: sofia/default/86897070@10.0.16.25 Action limit(db 339 user_339 2 !SWITCH_CONGESTION)
  145. Dialplan: sofia/default/86897070@10.0.16.25 Action set(effective_caller_id_name=86897070)
  146. Dialplan: sofia/default/86897070@10.0.16.25 Action set(effective_caller_id_number=86897070)
  147. Dialplan: sofia/default/86897070@10.0.16.25 Action set(receiver_accid=339)
  148. Dialplan: sofia/default/86897070@10.0.16.25 Action limit(db 72111111 did_72111111 2 !SWITCH_CONGESTION)
  149. Dialplan: sofia/default/86897070@10.0.16.25 Action export(presence_data=x|||Unitel(7842187716)|||^72111111.* // 72111111 // 0.00000||||||DID)
  150. Dialplan: sofia/default/86897070@10.0.16.25 Action export(call_type=3)
  151. Dialplan: sofia/default/86897070@10.0.16.25 Action set(calltype=OTHER)
  152. Dialplan: sofia/default/86897070@10.0.16.25 Action lua(onlime.lua 72111111)
  153. Dialplan: sofia/default/86897070@10.0.16.25 Action export(read_rate=8000)
  154. Dialplan: sofia/default/86897070@10.0.16.25 Action export(write_rate=8000)
  155. Dialplan: sofia/default/86897070@10.0.16.25 Action lua(astpp-busytone.lua)
  156. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:286 (sofia/default/86897070@10.0.16.25) State Change CS_ROUTING -> CS_EXECUTE
  157. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:645 (sofia/default/86897070@10.0.16.25) State ROUTING going to sleep
  158. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/86897070@10.0.16.25) Running State Change CS_EXECUTE (Cur 110 Tot 38173)
  159. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:652 (sofia/default/86897070@10.0.16.25) State EXECUTE
  160. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_sofia.c:213 sofia/default/86897070@10.0.16.25 SOFIA EXECUTE
  161. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:328 sofia/default/86897070@10.0.16.25 Standard EXECUTE
  162. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(effective_destination_number=72111111)
  163. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [effective_destination_number]=[72111111]
  164. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(bridge_pre_execute_bleg_app=sched_hangup)
  165. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [bridge_pre_execute_bleg_app]=[sched_hangup]
  166. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(bridge_pre_execute_bleg_data=+1800 normal_clearing)
  167. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [bridge_pre_execute_bleg_data]=[+1800 normal_clearing]
  168. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(callstart=2022-03-07 10:19:23)
  169. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [callstart]=[2022-03-07 10:19:23]
  170. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(hangup_after_bridge=true)
  171. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [hangup_after_bridge]=[true]
  172. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(continue_on_fail=TRUE)
  173. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [continue_on_fail]=[TRUE]
  174. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(account_id=453)
  175. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [account_id]=[453]
  176. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(parent_id=0)
  177. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [parent_id]=[0]
  178. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(entity_id=0)
  179. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [entity_id]=[0]
  180. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(call_processed=internal)
  181. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [call_processed]=[internal]
  182. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(call_direction=inbound)
  183. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [call_direction]=[inbound]
  184. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(accountname=Unitel I/B)
  185. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [accountname]=[Unitel I/B]
  186. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(origination_rates_did=ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339)
  187. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [origination_rates_did]=[ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339]
  188. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(origination_rates=ID:127|CODE:^72.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:20.00000|INC:1|INITIALBLOCK:1|RATEGROUP:35|MARKUP:0|CI:128|ACCID:453)
  189. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [origination_rates]=[ID:127|CODE:^72.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:20.00000|INC:1|INITIALBLOCK:1|RATEGROUP:35|MARKUP:0|CI:128|ACCID:453]
  190. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(original_caller_id_name=86897070)
  191. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [original_caller_id_name]=[86897070]
  192. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(original_caller_id_number=86897070)
  193. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [original_caller_id_number]=[86897070]
  194. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 limit(db 7842187716 user_7842187716 100 !SWITCH_CONGESTION)
  195. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_limit.c:124 incr called: 7842187716_user_7842187716 max:100, interval:0
  196. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_db.c:194 Usage for 7842187716_user_7842187716 is now 15/100
  197. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 limit(db 339 user_339 2 !SWITCH_CONGESTION)
  198. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_limit.c:124 incr called: 339_user_339 max:2, interval:0
  199. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_db.c:194 Usage for 339_user_339 is now 1/2
  200. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(effective_caller_id_name=86897070)
  201. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [effective_caller_id_name]=[86897070]
  202. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(effective_caller_id_number=86897070)
  203. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [effective_caller_id_number]=[86897070]
  204. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(receiver_accid=339)
  205. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [receiver_accid]=[339]
  206. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 limit(db 72111111 did_72111111 2 !SWITCH_CONGESTION)
  207. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_limit.c:124 incr called: 72111111_did_72111111 max:2, interval:0
  208. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_db.c:194 Usage for 72111111_did_72111111 is now 1/2
  209. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 export(presence_data=x|||Unitel(7842187716)|||^72111111.* // 72111111 // 0.00000||||||DID)
  210. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Unitel(7842187716)|||^72111111.* // 72111111 // 0.00000||||||DID]
  211. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 export(call_type=3)
  212. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[3]
  213. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(calltype=OTHER)
  214. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [calltype]=[OTHER]
  215. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 lua(onlime.lua 72111111)
  216. 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('ringback', '%(2000,4000,440.0,480.0)')
  217. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_curl.c:200 method: post, url: http://10.0.16.15:3002/fstoken, content-type: application/json
  218. 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_curl.c:252 Post data: {"destination":"72111111", "channel":"72111111_94f03ed0-7017-4484-806d-5888c548637a", "uid": "86897070"}
  219. 2022-03-07 18:19:23.221848 91.10% [INFO] switch_cpp.cpp:1477 {"token":"0067e048a1b9a2e4c0a813981df5268e728IAAntRdKQlj0OvMuCuyiCEooGdlU3zVSoJmA7eZIot++P9AAPW0AAAAAEABQYthcqy0nYgEAAQC/LSdi","forward":""}
  220. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(continue_on_fail=true)
  221. 2022-03-07 18:19:23.221848 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [continue_on_fail]=[true]
  222. EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 bridge({agora_token=0067e048a1b9a2e4c0a813981df5268e728IAAntRdKQlj0OvMuCuyiCEooGdlU3zVSoJmA7eZIot++P9AAPW0AAAAAEABQYthcqy0nYgEAAQC/LSdi,agora_uid=86897070,ignore_early_media=true}agora/7e048a1b9a2e4c0a813981df5268e728/72111111_94f03ed0-7017-4484-806d-5888c548637a/1000000000)
  223. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_channel.c:1269 sofia/default/86897070@10.0.16.25 EXPORTING[export_vars] [presence_data]=[x|||Unitel(7842187716)|||^72111111.* // 72111111 // 0.00000||||||DID] to event
  224. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_channel.c:1269 sofia/default/86897070@10.0.16.25 EXPORTING[export_vars] [call_type]=[3] to event
  225. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  226. 2022-03-07 18:19:23.221848 91.10% [DEBUG] agora_rtc.c:1550 () State Change CS_NEW -> CS_INIT
  227. 2022-03-07 18:19:23.221848 91.10% [NOTICE] switch_channel.c:1123 New Channel agora.rtc/1000000000 [d01bfa26-6b49-4667-bd4b-986f14bb2dd8]
  228. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_INIT (Cur 111 Tot 38174)
  229. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:629 (agora.rtc/1000000000) State INIT
  230. 2022-03-07 18:19:23.221848 91.10% [DEBUG] mod_opus.c:619 Opus encoder: set bitrate to local settings [72000bps]
  231. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:40 agora.rtc/1000000000 Standard INIT
  232. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:48 (agora.rtc/1000000000) State Change CS_INIT -> CS_ROUTING
  233. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:629 (agora.rtc/1000000000) State INIT going to sleep
  234. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_ROUTING (Cur 111 Tot 38174)
  235. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:645 (agora.rtc/1000000000) State ROUTING
  236. 2022-03-07 18:19:23.221848 91.10% [INFO] agora_rtc.c:662 agora.rtc/1000000000 RTC ROUTING
  237. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_ivr_originate.c:67 (agora.rtc/1000000000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  238. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:645 (agora.rtc/1000000000) State ROUTING going to sleep
  239. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_CONSUME_MEDIA (Cur 111 Tot 38174)
  240. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:664 (agora.rtc/1000000000) State CONSUME_MEDIA
  241. 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:664 (agora.rtc/1000000000) State CONSUME_MEDIA going to sleep
  242. 2022-03-07 18:19:23.221848 91.10% [INFO] mod_verto.c:606 WRITE 10.0.16.15:55670 [{"jsonrpc":"2.0","id":16430,"method":"verto.event","params":{"eventChannel":"Agora.callstate.f52a7d15-f967-4982-bcfa-7e0d9a870361","data":{"func":"invite","agoraChannel":"72111111_94f03ed0-7017-4484-806d-5888c548637a","agoraKey":"7e048a1b9a2e4c0a813981df5268e728","agoraToken":"0067e048a1b9a2e4c0a813981df5268e728IAAntRdKQlj0OvMuCuyiCEooGdlU3zVSoJmA7eZIot++P9AAPW0AAAAAEABQYthcqy0nYgEAAQC/LSdi","fsChannel":"d01bfa26-6b49-4667-bd4b-986f14bb2dd8","cidName":"86897070","cidNumber":"86897070","destNumber":"7e048a1b9a2e4c0a813981df5268e728/72111111_94f03ed0-7017-4484-806d-5888c548637a/1000000000","sessid":"f52a7d15-f967-4982-bcfa-7e0d9a870361","video":"false"},"eventSerno":2334,"subscribedChannel":"Agora.callstate.f52a7d15-f967-4982-bcfa-7e0d9a870361"}}]
  243. 2022-03-07 18:19:23.421846 91.10% [DEBUG] sofia.c:7573 Channel sofia/default/723919002030@10.0.16.25 entering state [proceeding][183]
  244. 2022-03-07 18:19:23.421846 91.10% [DEBUG] sofia.c:7582 Duplicate SDP
  245. v=0
  246. o=- 851943 1 IN IP4 10.0.16.25
  247. s=-
  248. c=IN IP4 10.0.16.25
  249. t=0 0
  250. m=audio 31770 RTP/AVP 8 101
  251. a=rtpmap:101 telephone-event/8000
  252. a=ptime:20
  253.  
  254. 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  255. 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:5769 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  256. 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:5630 Set telephone-event payload to 101@8000
  257. 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:5979 Set telephone-event payload to 101@8000
  258. 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:6037 sofia/default/723919002030@10.0.16.25 Set 2833 dtmf send payload to 101 recv payload to 101
  259. 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:8910 Audio params are unchanged for sofia/default/723919002030@10.0.16.25.
  260. 2022-03-07 18:19:23.501840 91.10% [DEBUG] sofia.c:7573 Channel sofia/default/96881608@10.0.16.25 entering state [terminated][487]
  261. 2022-03-07 18:19:23.501840 91.10% [NOTICE] sofia.c:8816 Hangup sofia/default/96881608@10.0.16.25 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  262. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:826 sofia/default/96881608@10.0.16.25 ending bridge by request from read function
  263. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [sofia/default/96881608@10.0.16.25]
  264. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:820 sofia/default/96881608@10.0.16.25 ending bridge by request from write function
  265. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [sofia/default/723919002030@10.0.16.25]
  266. 2022-03-07 18:19:23.501840 91.10% [NOTICE] switch_ivr_bridge.c:1026 Hangup sofia/default/723919002030@10.0.16.25 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  267. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:655 (sofia/default/723919002030@10.0.16.25) State EXCHANGE_MEDIA going to sleep
  268. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/723919002030@10.0.16.25) Running State Change CS_HANGUP (Cur 111 Tot 38174)
  269. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:849 (sofia/default/723919002030@10.0.16.25) Callstate Change EARLY -> HANGUP
  270. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:851 (sofia/default/723919002030@10.0.16.25) State HANGUP
  271. 2022-03-07 18:19:23.501840 91.10% [DEBUG] mod_sofia.c:467 sofia/default/723919002030@10.0.16.25 Overriding SIP cause 487 with 487 from the other leg
  272. 2022-03-07 18:19:23.501840 91.10% [DEBUG] mod_sofia.c:473 Channel sofia/default/723919002030@10.0.16.25 hanging up, cause: ORIGINATOR_CANCEL
  273. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/723919002030@10.0.16.25 skip receive message [UNBRIDGE] (channel is hungup already)
  274. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:1896 sofia/default/96881608@10.0.16.25 skip receive message [UNBRIDGE] (channel is hungup already)
  275. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_session.c:3100 sofia/default/96881608@10.0.16.25 skip receive message [PHONE_EVENT] (channel is hungup already)
  276. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:652 (sofia/default/96881608@10.0.16.25) State EXECUTE going to sleep
  277. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/96881608@10.0.16.25) Running State Change CS_HANGUP (Cur 111 Tot 38174)
  278. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:849 (sofia/default/96881608@10.0.16.25) Callstate Change EARLY -> HANGUP
  279. 2022-03-07 18:19:23.501840 91.10% [DEBUG] mod_sofia.c:541 Sending CANCEL to sofia/default/723919002030@10.0.16.25
  280. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/723919002030@10.0.16.25 Standard HANGUP, cause: ORIGINATOR_CANCEL
  281. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:851 (sofia/default/723919002030@10.0.16.25) State HANGUP going to sleep
  282. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:851 (sofia/default/96881608@10.0.16.25) State HANGUP
  283. 2022-03-07 18:19:23.501840 91.10% [DEBUG] mod_sofia.c:473 Channel sofia/default/96881608@10.0.16.25 hanging up, cause: ORIGINATOR_CANCEL
  284. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:621 (sofia/default/723919002030@10.0.16.25) State Change CS_HANGUP -> CS_REPORTING
  285. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/723919002030@10.0.16.25) Running State Change CS_REPORTING (Cur 111 Tot 38174)
  286. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:937 (sofia/default/723919002030@10.0.16.25) State REPORTING
  287. 2022-03-07 18:19:23.501840 91.10% [INFO] mod_json_cdr.c:273 Process [90200359-e97a-4af1-aa43-541ec51dcf7a.cdr.json]
  288. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/96881608@10.0.16.25 Standard HANGUP, cause: ORIGINATOR_CANCEL
  289. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:851 (sofia/default/96881608@10.0.16.25) State HANGUP going to sleep
  290. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:621 (sofia/default/96881608@10.0.16.25) State Change CS_HANGUP -> CS_REPORTING
  291. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/96881608@10.0.16.25) Running State Change CS_REPORTING (Cur 111 Tot 38174)
  292. 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:937 (sofia/default/96881608@10.0.16.25) State REPORTING
  293. 2022-03-07 18:19:23.501840 91.10% [INFO] mod_json_cdr.c:273 Process [6d87fc85-582a-4f19-9331-51a2804d2e22.cdr.json]
  294. 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/723919002030@10.0.16.25 Standard REPORTING, cause: ORIGINATOR_CANCEL
  295. 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:937 (sofia/default/723919002030@10.0.16.25) State REPORTING going to sleep
  296. 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:612 (sofia/default/723919002030@10.0.16.25) State Change CS_REPORTING -> CS_DESTROY
  297. 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_session.c:1753 Session 38106 (sofia/default/723919002030@10.0.16.25) Locked, Waiting on external entities
  298. 2022-03-07 18:19:23.521838 91.10% [NOTICE] switch_core_session.c:1771 Session 38106 (sofia/default/723919002030@10.0.16.25) Ended
  299. 2022-03-07 18:19:23.521838 91.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/723919002030@10.0.16.25 [CS_DESTROY]
  300. 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:740 (sofia/default/723919002030@10.0.16.25) Running State Change CS_DESTROY (Cur 110 Tot 38174)
  301. 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:750 (sofia/default/723919002030@10.0.16.25) State DESTROY
  302. 2022-03-07 18:19:23.521838 91.10% [DEBUG] mod_sofia.c:379 sofia/default/723919002030@10.0.16.25 SOFIA DESTROY
  303. 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/723919002030@10.0.16.25 Standard DESTROY
  304. 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:750 (sofia/default/723919002030@10.0.16.25) State DESTROY going to sleep
  305. 2022-03-07 18:19:23.641837 91.10% [DEBUG] switch_scheduler.c:147 Deleting task 16133 switch_ivr_schedule_hangup (90200359-e97a-4af1-aa43-541ec51dcf7a)
  306. 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/96881608@10.0.16.25 Standard REPORTING, cause: ORIGINATOR_CANCEL
  307. 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:937 (sofia/default/96881608@10.0.16.25) State REPORTING going to sleep
  308. 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:612 (sofia/default/96881608@10.0.16.25) State Change CS_REPORTING -> CS_DESTROY
  309. 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_session.c:1753 Session 38105 (sofia/default/96881608@10.0.16.25) Locked, Waiting on external entities
  310. 2022-03-07 18:19:24.041841 90.97% [NOTICE] switch_core_session.c:1771 Session 38105 (sofia/default/96881608@10.0.16.25) Ended
  311. 2022-03-07 18:19:24.041841 90.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/96881608@10.0.16.25 [CS_DESTROY]
  312. 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:740 (sofia/default/96881608@10.0.16.25) Running State Change CS_DESTROY (Cur 109 Tot 38174)
  313. 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:750 (sofia/default/96881608@10.0.16.25) State DESTROY
  314. 2022-03-07 18:19:24.041841 90.97% [DEBUG] mod_sofia.c:379 sofia/default/96881608@10.0.16.25 SOFIA DESTROY
  315. 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/96881608@10.0.16.25 Standard DESTROY
  316. 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:750 (sofia/default/96881608@10.0.16.25) State DESTROY going to sleep
  317. 2022-03-07 18:19:24.061837 90.97% [INFO] mod_verto.c:1639 READ 10.0.16.15:55670 [{"jsonrpc":"2.0","method":"jsapi","id":0,"params":{"command":"agora","sessid":"f52a7d15-f967-4982-bcfa-7e0d9a870361","data":{"func":"ring","agoraKey":"7e048a1b9a2e4c0a813981df5268e728","fsChannel":"d01bfa26-6b49-4667-bd4b-986f14bb2dd8","cidNumber":"1000000000","cidName":"1000000000","video":"false","otherVariables":{}}}}]
  318. 2022-03-07 18:19:24.061837 90.97% [NOTICE] agora_sig.c:118 Ring-Ready agora.rtc/1000000000!
  319. 2022-03-07 18:19:24.061837 90.97% [DEBUG] switch_channel.c:3494 (agora.rtc/1000000000) Callstate Change DOWN -> RINGING
  320. 2022-03-07 18:19:24.061837 90.97% [INFO] mod_verto.c:606 WRITE 10.0.16.15:55670 [{"jsonrpc":"2.0","id":0,"result":{"func":"ring","message":"+OK","fsChannel":"d01bfa26-6b49-4667-bd4b-986f14bb2dd8","sessid":"f52a7d15-f967-4982-bcfa-7e0d9a870361"}}]
  321. 2022-03-07 18:19:24.081842 90.97% [INFO] switch_ivr_originate.c:1295 Sending early media
  322. 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_media.c:8928 AUDIO RTP [sofia/default/86897070@10.0.16.25] 10.0.16.26 port 30708 -> 10.0.16.25 port 31916 codec: 8 ms: 20
  323. 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_rtp.c:4632 Starting timer [soft] 160 bytes per 20ms
  324. 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_media.c:9241 sofia/default/86897070@10.0.16.25 Set 2833 dtmf send payload to 101
  325. 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_media.c:9248 sofia/default/86897070@10.0.16.25 Set 2833 dtmf receive payload to 101
  326. 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_media.c:9271 sofia/default/86897070@10.0.16.25 Set rtp dtmf delay to 40
  327. 2022-03-07 18:19:24.081842 90.97% [DEBUG] mod_sofia.c:2618 Ring SDP:
  328. v=0
  329. o=FreeSWITCH 1646617656 1646617657 IN IP4 10.0.16.26
  330. s=FreeSWITCH
  331. c=IN IP4 10.0.16.26
  332. t=0 0
  333. m=audio 30708 RTP/AVP 8 101
  334. a=rtpmap:8 PCMA/8000
  335. a=rtpmap:101 telephone-event/8000
  336. a=fmtp:101 0-15
  337. a=ptime:20
  338. a=sendrecv
  339.  
  340. 2022-03-07 18:19:24.081842 90.97% [NOTICE] mod_sofia.c:2621 Pre-Answer sofia/default/86897070@10.0.16.25!
  341. 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_channel.c:3622 (sofia/default/86897070@10.0.16.25) Callstate Change RINGING -> EARLY
  342. 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  343. 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_codec.c:223 sofia/default/86897070@10.0.16.25 Push codec L16:100
  344. 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(2000,4000,440.0,480.0)]
  345. 2022-03-07 18:19:24.101843 90.97% [DEBUG] sofia.c:7573 Channel sofia/default/86897070@10.0.16.25 entering state [early][183]
  346. 2022-03-07 18:19:24.141836 90.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/99838219@10.0.16.25 [b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09]
  347. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99838219@10.0.16.25) Running State Change CS_NEW (Cur 110 Tot 38175)
  348. 2022-03-07 18:19:24.141836 90.97% [INFO] sofia.c:10568 sofia/default/99838219@10.0.16.25 receiving invite from 10.0.16.25:5060 version: 1.10.8-dev git a40e1f7 2021-11-03 08:05:14Z 64bit call-id=02143D8528814000000FB950@LOCALT
  349. 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:10665 verifying acl "default" for ip/port 10.0.16.25:0.
  350. 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:10694 IP 10.0.16.25 Approved by acl "default[]". Access Granted.
  351. 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:7573 Channel sofia/default/99838219@10.0.16.25 entering state [received][100]
  352. 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:7585 Remote SDP:
  353. v=0
  354. o=- 852072 1 IN IP4 10.0.16.25
  355. s=-
  356. c=IN IP4 10.0.16.25
  357. t=0 0
  358. m=audio 31918 RTP/AVP 8 0 116
  359. a=rtpmap:116 telephone-event/8000
  360. a=ptime:5
  361.  
  362. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:5:64000:1]/[PCMA:8:8000:20:64000:1]
  363. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5750 Audio Codec Compare [PCMA:8:8000:20:64000:1] is saved as a near-match
  364. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:5:64000:1]/[PCMU:0:8000:20:64000:1]
  365. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:5:64000:1]/[PCMA:8:8000:20:64000:1]
  366. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:5:64000:1]/[PCMU:0:8000:20:64000:1]
  367. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5750 Audio Codec Compare [PCMU:0:8000:20:64000:1] is saved as a near-match
  368. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5630 Set telephone-event payload to 116@8000
  369. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5821 Substituting codec PCMA@20i@8000h@1c
  370. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:3916 Set Codec sofia/default/99838219@10.0.16.25 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  371. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_codec.c:111 sofia/default/99838219@10.0.16.25 Original read codec set to PCMA:8
  372. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5979 Set telephone-event payload to 116@8000
  373. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:6037 sofia/default/99838219@10.0.16.25 Set 2833 dtmf send payload to 116 recv payload to 116
  374. 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:8009 (sofia/default/99838219@10.0.16.25) State Change CS_NEW -> CS_INIT
  375. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:605 (sofia/default/99838219@10.0.16.25) State NEW
  376. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99838219@10.0.16.25) Running State Change CS_INIT (Cur 110 Tot 38175)
  377. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:629 (sofia/default/99838219@10.0.16.25) State INIT
  378. 2022-03-07 18:19:24.141836 90.97% [DEBUG] mod_sofia.c:97 sofia/default/99838219@10.0.16.25 SOFIA INIT
  379. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/99838219@10.0.16.25 Standard INIT
  380. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/99838219@10.0.16.25) State Change CS_INIT -> CS_ROUTING
  381. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:629 (sofia/default/99838219@10.0.16.25) State INIT going to sleep
  382. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99838219@10.0.16.25) Running State Change CS_ROUTING (Cur 110 Tot 38175)
  383. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_channel.c:2380 (sofia/default/99838219@10.0.16.25) Callstate Change DOWN -> RINGING
  384. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:645 (sofia/default/99838219@10.0.16.25) State ROUTING
  385. 2022-03-07 18:19:24.141836 90.97% [DEBUG] mod_sofia.c:158 sofia/default/99838219@10.0.16.25 SOFIA ROUTING
  386. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/99838219@10.0.16.25 Standard ROUTING
  387. 2022-03-07 18:19:24.141836 90.97% [INFO] mod_dialplan_xml.c:639 Processing 99838219 <99838219>->300372380119 in context default
  388. 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  389. 2022-03-07 18:19:24.161840 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  390. 2022-03-07 18:19:24.161840 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [xml_handler] Params:
  391. Event-Name: REQUEST_PARAMS
  392. Core-UUID: 110d971f-48a2-4ae7-b1c2-8f39e417af75
  393. FreeSWITCH-Hostname: x1
  394. FreeSWITCH-Switchname: x1
  395. FreeSWITCH-IPv4: 10.0.16.10
  396. FreeSWITCH-IPv6: %3A%3A1
  397. Event-Date-Local: 2022-03-07%2018%3A19%3A24
  398. Event-Date-GMT: Mon,%2007%20Mar%202022%2010%3A19%3A24%20GMT
  399. Event-Date-Timestamp: 1646648364141836
  400. Event-Calling-File: mod_dialplan_xml.c
  401. Event-Calling-Function: dialplan_xml_locate
  402. Event-Calling-Line-Number: 610
  403. Event-Sequence: 2008717
  404. Channel-State: CS_ROUTING
  405. Channel-Call-State: RINGING
  406. Channel-State-Number: 2
  407. Channel-Name: sofia/default/99838219%4010.0.16.25
  408. Unique-ID: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09
  409. Call-Direction: inbound
  410. Presence-Call-Direction: inbound
  411. Channel-HIT-Dialplan: true
  412. Channel-Presence-ID: 99838219%4010.0.16.25
  413. Channel-Call-UUID: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09
  414. Answer-State: ringing
  415. Channel-Read-Codec-Name: PCMA
  416. Channel-Read-Codec-Rate: 8000
  417. Channel-Read-Codec-Bit-Rate: 64000
  418. Channel-Write-Codec-Name: PCMA
  419. Channel-Write-Codec-Rate: 8000
  420. Channel-Write-Codec-Bit-Rate: 64000
  421. Caller-Direction: inbound
  422. Caller-Logical-Direction: inbound
  423. Caller-Username: 99838219
  424. Caller-Dialplan: XML
  425. Caller-Caller-ID-Name: 99838219
  426. Caller-Caller-ID-Number: 99838219
  427. Caller-Orig-Caller-ID-Name: 99838219
  428. Caller-Orig-Caller-ID-Number: 99838219
  429. Caller-Network-Addr: 10.0.16.25
  430. Caller-ANI: 99838219
  431. Caller-Destination-Number: 300372380119
  432. Caller-Unique-ID: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09
  433. Caller-Source: mod_sofia
  434. Caller-Context: default
  435. Caller-Channel-Name: sofia/default/99838219%4010.0.16.25
  436. Caller-Profile-Index: 1
  437. Caller-Profile-Created-Time: 1646648364141836
  438. Caller-Channel-Created-Time: 1646648364141836
  439. Caller-Channel-Answered-Time: 0
  440. Caller-Channel-Progress-Time: 0
  441. Caller-Channel-Progress-Media-Time: 0
  442. Caller-Channel-Hangup-Time: 0
  443. Caller-Channel-Transfer-Time: 0
  444. Caller-Channel-Resurrect-Time: 0
  445. Caller-Channel-Bridged-Time: 0
  446. Caller-Channel-Last-Hold: 0
  447. Caller-Channel-Hold-Accum: 0
  448. Caller-Screen-Bit: true
  449. Caller-Privacy-Hide-Name: false
  450. Caller-Privacy-Hide-Number: false
  451. variable_direction: inbound
  452. variable_uuid: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09
  453. variable_session_id: 38175
  454. variable_sip_from_params: user%3Dphone
  455. variable_sip_from_user: 99838219
  456. variable_sip_from_uri: 99838219%4010.0.16.25
  457. variable_sip_from_host: 10.0.16.25
  458. variable_video_media_flow: disabled
  459. variable_text_media_flow: disabled
  460. variable_channel_name: sofia/default/99838219%4010.0.16.25
  461. variable_sip_call_id: 02143D8528814000000FB950%40LOCALT
  462. variable_sip_local_network_addr: 10.0.16.26
  463. variable_sip_network_ip: 10.0.16.25
  464. variable_sip_network_port: 5060
  465. variable_sip_invite_stamp: 1646648364141836
  466. variable_sip_received_ip: 10.0.16.25
  467. variable_sip_received_port: 5060
  468. variable_sip_via_protocol: udp
  469. variable_sip_authorized: true
  470. variable_sip_acl_authed_by: default
  471. variable_sip_from_user_stripped: 99838219
  472. variable_sip_from_tag: A11530303330333012588F00
  473. variable_sofia_profile_name: default
  474. variable_sofia_profile_url: sip%3Amod_sofia%4010.0.16.26%3A5060
  475. variable_recovery_profile_name: default
  476. variable_sip_full_route: %3Csip%3A10.0.16.26%3A5060%3Blr%3Btransport%3Dudp%3E
  477. variable_sip_full_via: SIP/2.0/UDP%2010.0.16.25%3A5060%3Bbranch%3Dz9hG4bKAB65BF9AA4875C4241A7E14B85A6C18C%3Brport%3D5060
  478. variable_sip_from_display: 99838219
  479. variable_sip_full_from: %2299838219%22%20%3Csip%3A99838219%4010.0.16.25%3Buser%3Dphone%3E%3Btag%3DA11530303330333012588F00
  480. variable_sip_full_to: %3Csip%3A300372380119%4010.0.16.26%3Buser%3Dphone%3E
  481. variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20PRACK,%20REFER,%20SUBSCRIBE,%20NOTIFY
  482. variable_sip_req_params: user%3Dphone
  483. variable_sip_req_user: 300372380119
  484. variable_sip_req_port: 5060
  485. variable_sip_req_uri: 300372380119%4010.0.16.26%3A5060
  486. variable_sip_req_host: 10.0.16.26
  487. variable_sip_to_params: user%3Dphone
  488. variable_sip_to_user: 300372380119
  489. variable_sip_to_uri: 300372380119%4010.0.16.26
  490. variable_sip_to_host: 10.0.16.26
  491. variable_sip_contact_params: Hpt%3D8e68_16%3BCxtId%3D4%3BTRC%3Dffffffff-ffffffff
  492. variable_sip_contact_user: 99838219
  493. variable_sip_contact_port: 5060
  494. variable_sip_contact_uri: 99838219%4010.0.16.25%3A5060
  495. variable_sip_contact_host: 10.0.16.25
  496. variable_sip_user_agent: TBSIP
  497. variable_sip_via_host: 10.0.16.25
  498. variable_sip_via_port: 5060
  499. variable_sip_via_rport: 5060
  500. variable_max_forwards: 68
  501. variable_presence_id: 99838219%4010.0.16.25
  502. variable_sip_date_epoch_time: 1646676629
  503. variable_sip_h_P-Access-Network-Info: GEN-ACCESS%3B%22area-number%3D%2B976%22
  504. variable_sip_h_P-Early-Media: supported
  505. variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%20852072%201%20IN%20IP4%2010.0.16.25%0D%0As%3D-%0D%0Ac%3DIN%20IP4%2010.0.16.25%0D%0At%3D0%200%0D%0Am%3Daudio%2031918%20RTP/AVP%208%200%20116%0D%0Aa%3Drtpmap%3A116%20telephone-event/8000%0D%0Aa%3Dptime%3A5%0D%0A
  506. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%405i%4064000b,CORE_PCM_MODULE.PCMU%408000h%405i%4064000b
  507. variable_rtp_use_codec_string: PCMA,PCMU
  508. variable_remote_video_media_flow: inactive
  509. variable_remote_text_media_flow: inactive
  510. variable_remote_audio_media_flow: sendrecv
  511. variable_audio_media_flow: sendrecv
  512. variable_remote_media_ip: 10.0.16.25
  513. variable_remote_media_port: 31918
  514. variable_rtp_audio_recv_pt: 8
  515. variable_rtp_use_codec_name: PCMA
  516. variable_rtp_use_codec_rate: 8000
  517. variable_rtp_use_codec_ptime: 20
  518. variable_rtp_use_codec_channels: 1
  519. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  520. variable_read_codec: PCMA
  521. variable_original_read_codec: PCMA
  522. variable_read_rate: 8000
  523. variable_original_read_rate: 8000
  524. variable_write_codec: PCMA
  525. variable_write_rate: 8000
  526. variable_dtmf_type: rfc2833
  527. variable_endpoint_disposition: RECEIVED
  528. variable_call_uuid: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09
  529. Hunt-Direction: inbound
  530. Hunt-Logical-Direction: inbound
  531. Hunt-Username: 99838219
  532. Hunt-Dialplan: XML
  533. Hunt-Caller-ID-Name: 99838219
  534. Hunt-Caller-ID-Number: 99838219
  535. Hunt-Orig-Caller-ID-Name: 99838219
  536. Hunt-Orig-Caller-ID-Number: 99838219
  537. Hunt-Network-Addr: 10.0.16.25
  538. Hunt-ANI: 99838219
  539. Hunt-Destination-Number: 300372380119
  540. Hunt-Unique-ID: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09
  541. Hunt-Source: mod_sofia
  542. Hunt-Context: default
  543. Hunt-Channel-Name: sofia/default/99838219%4010.0.16.25
  544. Hunt-Profile-Index: 1
  545. Hunt-Profile-Created-Time: 1646648364141836
  546. Hunt-Channel-Created-Time: 1646648364141836
  547. Hunt-Channel-Answered-Time: 0
  548. Hunt-Channel-Progress-Time: 0
  549. Hunt-Channel-Progress-Media-Time: 0
  550. Hunt-Channel-Hangup-Time: 0
  551. Hunt-Channel-Transfer-Time: 0
  552. Hunt-Channel-Resurrect-Time: 0
  553. Hunt-Channel-Bridged-Time: 0
  554. Hunt-Channel-Last-Hold: 0
  555. Hunt-Channel-Hold-Accum: 0
  556. Hunt-Screen-Bit: true
  557. Hunt-Privacy-Hide-Name: false
  558. Hunt-Privacy-Hide-Number: false
  559.  
  560.  
  561. 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] tag_name:
  562. 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] key_value:
  563. 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] section: dialplan
  564. 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] key_name:
  565. 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Dialed number : 300372380119
  566. 2022-03-07 18:19:24.161840 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '300372380119' AND status=0 limit 1
  567. 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Caller Id name / number  : 99838219 / 99838219
  568. 2022-03-07 18:19:24.161840 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1
  569. 2022-03-07 18:19:24.161840 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  570. 2022-03-07 18:19:24.181834 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,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,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="300372380119" LIMIT 1
  571. 2022-03-07 18:19:24.181834 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="300372380119" limit 1
  572. 2022-03-07 18:19:24.181834 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Call direction : outbound
  573. 2022-03-07 18:19:24.181834 90.97% [DEBUG] switch_cpp.cpp:1477 [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("10.0.16.25") 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 "300372380119"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  574. 2022-03-07 18:19:24.261844 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 300372380119
  575. 2022-03-07 18:19:24.261844 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 72380119
  576. 2022-03-07 18:19:24.261844 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Accountcode : 3050900792]
  577. 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3050900792" AND deleted = 0 limit 1
  578. 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^72380119.*' OR blocked_patterns = '^7238011.*' OR blocked_patterns = '^723801.*' OR blocked_patterns = '^72380.*' OR blocked_patterns = '^7238.*' OR blocked_patterns = '^723.*' OR blocked_patterns = '^72.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 167 limit 1
  579. 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="72380119" AND A.accountid = '167' limit 1
  580. 2022-03-07 18:19:24.261844 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 72380119
  581. 2022-03-07 18:19:24.261844 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1
  582. 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  583. 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,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,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="72380119" LIMIT 1
  584. 2022-03-07 18:19:24.261844 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] New Call direction : inbound
  585. 2022-03-07 18:19:24.261844 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1
  586. 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  587. 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="72380119" AND (accountid = 0 OR status = 1) LIMIT 1
  588. 2022-03-07 18:19:24.281838 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  589. 2022-03-07 18:19:24.281838 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :551
  590. 2022-03-07 18:19:24.281838 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^72380119.*' OR patterns = '^7238011.*' OR patterns = '^723801.*' OR patterns = '^72380.*' OR patterns = '^7238.*' OR patterns = '^723.*' OR patterns = '^72.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 551 ORDER BY LENGTH(PKGPTR.patterns) DESC
  591. 2022-03-07 18:19:24.281838 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '72380119' OR number = '7238011' OR number = '723801' OR number = '72380' OR number = '7238' OR number = '723' OR number = '72' OR number = '7' OR number ='--') OR (number = '72380119*' OR number = '7238011*' OR number = '723801*' OR number = '72380*' OR number = '7238*' OR number = '723*' OR number = '72*' OR number = '7*' OR number ='--') OR (number = '99838219' OR number = '9983821' OR number = '998382' OR number = '99838' OR number = '9983' OR number = '998' OR number = '99' OR number = '9' OR number ='--') OR (number = '99838219*' OR number = '9983821*' OR number = '998382*' OR number = '99838*' OR number = '9983*' OR number = '998*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  592. 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] Call Barring Status : -1
  593. 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '72380119' OR routing_prefix = '7238011' OR routing_prefix = '723801' OR routing_prefix = '72380' OR routing_prefix = '7238' OR routing_prefix = '723' OR routing_prefix = '72' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  594. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Account Information ===================
  595. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] User id : 167
  596. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Account code : 3050900792
  597. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Balance : 900771414.55
  598. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  599. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Ratecard id : 35
  600. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] CID Pool : 0
  601. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] ========================================================
  602. 2022-03-07 18:19:24.301845 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH1: 1
  603. 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  604. 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 35 AND status = 0
  605. 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] call_direction :inbound
  606. 2022-03-07 18:19:24.301845 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1
  607. 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  608. 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,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,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="72380119" LIMIT 1
  609. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] call_direction:::::: inbound
  610. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Rates Information ===================
  611. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 140037
  612. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000
  613. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Includedseconds : 0
  614. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Cost : 0.00000
  615. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] comment : 72380119
  616. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Country Id : 128
  617. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Accid : 167
  618. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] ================================================================
  619. 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Your9