From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and v6.0 in postpaid ac, internation balance not cuted
  1. [This app Best viewed at 160x60 or more..]
  2. +OK log level  [7]
  3. freeswitch@AlphaQA>
  4. freeswitch@AlphaQA>
  5. 2023-04-04 10:50:56.307309 89.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/236698@alpha3.astppbilling.org:5078 [e5f155cd-b5b5-4d04-a52f-2ca0a615c4e2]
  6. 2023-04-04 10:50:56.307309 89.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/236698@alpha3.astppbilling.org:5078) Running State Change CS_NEW (Cur 1 Tot 956)
  7. 2023-04-04 10:50:56.307309 89.17% [INFO] sofia.c:10462 sofia/default/236698@alpha3.astppbilling.org:5078 receiving invite from 103.240.35.46:60344 version: 1.10.7 -release 64bit call-id: YjcyMmY0MDJkZWIwNzI0NTY0YWQ0YWE3Y2M0NThhOTM.
  8. 2023-04-04 10:50:56.307309 89.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  9. 2023-04-04 10:50:56.307309 89.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1010460000@alpha3.astppbilling.org] from ip 103.240.35.46
  10. 2023-04-04 10:50:56.307309 89.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/236698@alpha3.astppbilling.org:5078) State NEW
  11. 2023-04-04 10:50:56.307309 89.17% [DEBUG] sofia.c:2419 detaching session e5f155cd-b5b5-4d04-a52f-2ca0a615c4e2
  12. 2023-04-04 10:50:56.907335 89.17% [DEBUG] sofia.c:2532 Re-attaching to session e5f155cd-b5b5-4d04-a52f-2ca0a615c4e2
  13. 2023-04-04 10:50:56.927334 89.17% [INFO] sofia.c:10462 sofia/default/236698@alpha3.astppbilling.org:5078 receiving invite from 103.240.35.46:60344 version: 1.10.7 -release 64bit call-id: YjcyMmY0MDJkZWIwNzI0NTY0YWQ0YWE3Y2M0NThhOTM.
  14. 2023-04-04 10:50:56.927334 89.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  15. 2023-04-04 10:50:56.947325 89.17% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  16. 2023-04-04 10:50:56.947325 89.17% [DEBUG] sofia.c:7499 Channel sofia/default/236698@alpha3.astppbilling.org:5078 entering state [received][100]
  17. 2023-04-04 10:50:56.947325 89.17% [DEBUG] sofia.c:7509 Remote SDP:
  18. v=0
  19. o=Z 0 0 IN IP4 103.240.35.46
  20. s=Z
  21. c=IN IP4 103.240.35.46
  22. t=0 0
  23. m=audio 5630 RTP/AVP 3 110 8 0 98 101
  24. a=rtpmap:110 speex/8000
  25. a=rtpmap:98 iLBC/8000
  26. a=fmtp:98 mode=20
  27. a=rtpmap:101 telephone-event/8000
  28. a=fmtp:101 0-15
  29.  
  30. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  33. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  34. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  36. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  37. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  38. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  40. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  41. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  42. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  43. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/236698@alpha3.astppbilling.org:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  44. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_codec.c:111 sofia/default/236698@alpha3.astppbilling.org:5078 Original read codec set to PCMA:8
  45. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  46. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_media.c:5973 sofia/default/236698@alpha3.astppbilling.org:5078 Set 2833 dtmf send payload to 101 recv payload to 101
  47. 2023-04-04 10:50:56.947325 89.17% [DEBUG] sofia.c:7933 (sofia/default/236698@alpha3.astppbilling.org:5078) State Change CS_NEW -> CS_INIT
  48. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/236698@alpha3.astppbilling.org:5078) Running State Change CS_INIT (Cur 1 Tot 956)
  49. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/236698@alpha3.astppbilling.org:5078) State INIT
  50. 2023-04-04 10:50:56.947325 89.17% [DEBUG] mod_sofia.c:97 sofia/default/236698@alpha3.astppbilling.org:5078 SOFIA INIT
  51. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/236698@alpha3.astppbilling.org:5078 Standard INIT
  52. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/236698@alpha3.astppbilling.org:5078) State Change CS_INIT -> CS_ROUTING
  53. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/236698@alpha3.astppbilling.org:5078) State INIT going to sleep
  54. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/236698@alpha3.astppbilling.org:5078) Running State Change CS_ROUTING (Cur 1 Tot 956)
  55. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_channel.c:2380 (sofia/default/236698@alpha3.astppbilling.org:5078) Callstate Change DOWN -> RINGING
  56. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/236698@alpha3.astppbilling.org:5078) State ROUTING
  57. 2023-04-04 10:50:56.947325 89.17% [DEBUG] mod_sofia.c:158 sofia/default/236698@alpha3.astppbilling.org:5078 SOFIA ROUTING
  58. 2023-04-04 10:50:56.947325 89.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/236698@alpha3.astppbilling.org:5078 Standard ROUTING
  59. 2023-04-04 10:50:56.947325 89.17% [INFO] mod_dialplan_xml.c:639 Processing 236698 <236698>->1010460000 in context default
  60. 2023-04-04 10:50:56.967298 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  61. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  62. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  63. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2023-04-04 10:50:56.967298 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  65. 2023-04-04 10:50:56.967298 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1010460000
  66. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1010460000' limit 1
  67. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  68. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1010460000' and status=0 LIMIT 1
  69. 2023-04-04 10:50:56.967298 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER236698
  70. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  71. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1010460000' limit 1
  72. 2023-04-04 10:50:56.967298 89.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  73. 2023-04-04 10:50:56.967298 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 236698 / 236698
  74. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0000
  75. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 101046 AND status=0 limit 1
  76. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  77. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1010460000"  AND domains.domain="alpha3.astppbilling.org" limit 1
  78. 2023-04-04 10:50:56.967298 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  79. 2023-04-04 10:50:56.967298 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 236698]
  80. 2023-04-04 10:50:56.967298 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =1010460000
  81. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "236698" AND deleted = 0 limit 1
  82. 2023-04-04 10:50:56.987292 89.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (1010460000) marked as international call!!
  83. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1010460000.*' OR blocked_patterns = '^101046000.*' OR blocked_patterns = '^10104600.*' OR blocked_patterns = '^1010460.*' OR blocked_patterns = '^101046.*' OR blocked_patterns = '^10104.*' OR blocked_patterns = '^1010.*' OR blocked_patterns = '^101.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 778 limit 1
  84. 2023-04-04 10:50:56.987292 89.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (1010460000) marked as international call!!
  85. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  86. 2023-04-04 10:50:56.987292 89.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 50
  87. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 50 AND status=0 limit 1
  88. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [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 P.is_terminated = 0 AND (patterns = '^1010460000.*' OR patterns = '^101046000.*' OR patterns = '^10104600.*' OR patterns = '^1010460.*' OR patterns = '^101046.*' OR patterns = '^10104.*' OR patterns = '^1010.*' OR patterns = '^101.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 778 ORDER BY LENGTH(PKGPTR.patterns) DESC
  89. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [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 ="1010460000" AND A.accountid = '778' limit 1
  90. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1010460000
  91. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  92. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1010460000"  AND domains.domain="alpha3.astppbilling.org" limit 1
  93. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  94. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '1010460000' OR number = '101046000' OR number = '10104600' OR number = '1010460' OR number = '101046' OR number = '10104' OR number = '1010' OR number = '101' OR number = '10' OR number = '1' OR number ='--') OR (number = '1010460000*' OR number = '101046000*' OR number = '10104600*' OR number = '1010460*' OR number = '101046*' OR number = '10104*' OR number = '1010*' OR number = '101*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '236698' OR number = '23669' OR number = '2366' OR number = '236' OR number = '23' OR number = '2' OR number ='--') OR (number = '236698*' OR number = '23669*' OR number = '2366*' OR number = '236*' OR number = '23*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  95. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  96. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1010460000' OR routing_prefix = '101046000' OR routing_prefix = '10104600' OR routing_prefix = '1010460' OR routing_prefix = '101046' OR routing_prefix = '10104' OR routing_prefix = '1010' OR routing_prefix = '101' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  97. 2023-04-04 10:50:56.987292 89.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (1010460000)!!!!
  98. 2023-04-04 10:50:56.987292 89.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (1010460000)!!!!
  99. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  100. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 778
  101. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 236698
  102. 2023-04-04 10:50:56.987292 89.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (1010460000) marked as international call!!
  103. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 200
  104. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  105. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 170
  106. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  107. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  108. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  109. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::170
  110. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  111. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  112. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::170
  113. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1010460000.*' OR pattern = '^101046000.*' OR pattern = '^10104600.*' OR pattern = '^1010460.*' OR pattern = '^101046.*' OR pattern = '^10104.*' OR pattern = '^1010.*' OR pattern = '^101.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^236698.*' OR caller_id_pattern = '^23669.*' OR caller_id_pattern = '^2366.*' OR caller_id_pattern = '^236.*' OR caller_id_pattern = '^23.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 170 OR accountid=778)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  114. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  115. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  116. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:5.70000
  117. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:170
  118. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '170' and status=0
  119. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:5.70000
  120. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  121. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 241
  122. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  123. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  124. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 5.70000
  125. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : IMF
  126. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 25
  127. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 778
  128. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  129. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  130. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  131. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:241|CODE:^1010.*|DESTINATION:IMF|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.70000|INC:60|INITIALBLOCK:60|RATEGROUP:170|MARKUP:0|CI:25|ACCID:778!!!
  132. 2023-04-04 10:50:56.987292 89.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (1010460000) marked as international call!!
  133. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your200 balance Accountid 778 !!!
  134. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 35.087719298246 minutes
  135. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  136. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=170 ORDER by id asc
  137. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^1010460000.*' OR pattern = '^101046000.*' OR pattern = '^10104600.*' OR pattern = '^1010460.*' OR pattern = '^101046.*' OR pattern = '^10104.*' OR pattern = '^1010.*' OR pattern = '^101.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (30) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  138. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  139. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 203
  140. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1010.*
  141. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : IMF USA
  142. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  143. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  144. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1010.*
  145. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  146. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  147. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 30
  148. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  149. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  150. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  151. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 91
  152. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  153. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  154. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 778 AND status=0 LIMIT 1
  155. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 35.087719298246
  156. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  157. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  158. 2023-04-04 10:50:56.987292 89.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  159. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  160. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::170
  161. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 91) AND status=0 limit 1
  162. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 30) AND status=0 limit 1
  163. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1010460000" LIMIT 1
  164. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1010460000" LIMIT 1
  165. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  166. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  167. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  168. <document type="freeswitch/xml">
  169. <section name="dialplan" description="ASTPP Dialplan">
  170. <context name="default">
  171. <extension name="1010460000">
  172. <condition field="destination_number" expression="1010460000">
  173. <action application="set" data="effective_destination_number=1010460000"/>
  174. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  175. <action application="set" data="bridge_pre_execute_bleg_data=+2105.2631578947 normal_clearing"/>
  176. <action application="set" data="notify_flag=0"/>
  177. <action application="set" data="notify_credit_limit=5.00000"/>
  178. <action application="set" data="type=0"/>
  179. <action application="set" data="callstart=2023-04-04 10:50:56"/>
  180. <action application="set" data="hangup_after_bridge=true"/>
  181. <action application="set" data="continue_on_fail=TRUE"/>
  182. <action application="set" data="account_id=778"/>
  183. <action application="set" data="parent_id=0"/>
  184. <action application="set" data="entity_id=0"/>
  185. <action application="set" data="call_processed=internal"/>
  186. <action application="set" data="call_direction=outbound"/>
  187. <action application="set" data="accountname=default"/>
  188. <action application="export" data="t38_passthru=true"/>
  189. <action application="set" data="fax_enable_t38=true"/>
  190. <action application="set" data="fax_enable_t38_request=true"/>
  191. <action application="set" data="filename1=astpp.pbx.lua"/>
  192. <action application="set" data="origination_rates=SHADOWBILLING:0|ID:241|CODE:^1010.*|DESTINATION:IMF|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.70000|INC:60|INITIALBLOCK:60|RATEGROUP:170|MARKUP:0|CI:25|ACCID:778"/>
  193. <action application="set" data="original_caller_id_name=236698"/>
  194. <action application="set" data="original_caller_id_number=236698"/>
  195.  
  196. <action application="set" data="effective_caller_id_name=236698"/>
  197. <action application="set" data="effective_caller_id_number=236698"/>
  198. <action application="set" data="calltype=STANDARD"/>
  199. <action application="set" data="termination_rates=ID:203|CODE:^1010.*|DESTINATION:IMF USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.50000|INC:60|INITIALBLOCK:60|TRUNK:30|PROVIDER:91"/>
  200. <action application="set" data="trunk_id=30"/>
  201. <action application="set" data="provider_id=91"/>
  202. <action application="set" data="rate_flag=0"/>
  203. <action application="set" data="daily_call_credit_limit=0.00000"/>
  204. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  205. <action application="set" data="daily_call_used_limit=0.00000"/>
  206. <action application="set" data="monthly_call_used_limit=0.00000"/>
  207. <action application="set" data="quality_trunk_seq=30"/>
  208. <action application="set" data="force_trunk_flag=0"/>
  209. <action application="export" data="presence_data=trunk_id=30"/>
  210. <action application="set" data="intcall=1"/>
  211. <action application="export" data="presence_id=1010460000"/>
  212. <action application="export" data="presence_data=x|||Prashant(236698)|||^1010.* // IMF // 5.70000 |||PK-TRUNK-QA // ^1010.* // IMF USA // 2.50000 // trunk_id=30|||STD|||103.240.35.46"/>
  213. <action application="bridge" data="{sip_cid_type=pid}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1010460000"/>
  214. </condition>
  215. </extension>
  216. </context>
  217. </section>
  218. </document>
  219. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 parsing [default->1010460000] continue=false
  220. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Regex (PASS) [1010460000] destination_number(1010460000) =~ /1010460000/ break=on-false
  221. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(effective_destination_number=1010460000)
  222. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  223. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_data=+2105.2631578947 normal_clearing)
  224. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(notify_flag=0)
  225. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(notify_credit_limit=5.00000)
  226. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(type=0)
  227. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(callstart=2023-04-04 10:50:56)
  228. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(hangup_after_bridge=true)
  229. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(continue_on_fail=TRUE)
  230. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(account_id=778)
  231. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(parent_id=0)
  232. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(entity_id=0)
  233. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(call_processed=internal)
  234. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(call_direction=outbound)
  235. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(accountname=default)
  236. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action export(t38_passthru=true)
  237. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(fax_enable_t38=true)
  238. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(fax_enable_t38_request=true)
  239. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(filename1=astpp.pbx.lua)
  240. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(origination_rates=SHADOWBILLING:0|ID:241|CODE:^1010.*|DESTINATION:IMF|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.70000|INC:60|INITIALBLOCK:60|RATEGROUP:170|MARKUP:0|CI:25|ACCID:778)
  241. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(original_caller_id_name=236698)
  242. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(original_caller_id_number=236698)
  243. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(effective_caller_id_name=236698)
  244. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(effective_caller_id_number=236698)
  245. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(calltype=STANDARD)
  246. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(termination_rates=ID:203|CODE:^1010.*|DESTINATION:IMF USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.50000|INC:60|INITIALBLOCK:60|TRUNK:30|PROVIDER:91)
  247. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(trunk_id=30)
  248. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(provider_id=91)
  249. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(rate_flag=0)
  250. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(daily_call_credit_limit=0.00000)
  251. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(monthly_call_credit_limit=0.00000)
  252. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(daily_call_used_limit=0.00000)
  253. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(monthly_call_used_limit=0.00000)
  254. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(quality_trunk_seq=30)
  255. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(force_trunk_flag=0)
  256. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action export(presence_data=trunk_id=30)
  257. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action set(intcall=1)
  258. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action export(presence_id=1010460000)
  259. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action export(presence_data=x|||Prashant(236698)|||^1010.* // IMF // 5.70000 |||PK-TRUNK-QA // ^1010.* // IMF USA // 2.50000 // trunk_id=30|||STD|||103.240.35.46)
  260. Dialplan: sofia/default/236698@alpha3.astppbilling.org:5078 Action bridge({sip_cid_type=pid}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1010460000)
  261. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_core_state_machine.c:281 (sofia/default/236698@alpha3.astppbilling.org:5078) State Change CS_ROUTING -> CS_EXECUTE
  262. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/236698@alpha3.astppbilling.org:5078) State ROUTING going to sleep
  263. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/236698@alpha3.astppbilling.org:5078) Running State Change CS_EXECUTE (Cur 1 Tot 956)
  264. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/236698@alpha3.astppbilling.org:5078) State EXECUTE
  265. 2023-04-04 10:50:56.987292 89.17% [DEBUG] mod_sofia.c:213 sofia/default/236698@alpha3.astppbilling.org:5078 SOFIA EXECUTE
  266. 2023-04-04 10:50:56.987292 89.17% [DEBUG] switch_core_state_machine.c:323 sofia/default/236698@alpha3.astppbilling.org:5078 Standard EXECUTE
  267. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(effective_destination_number=1010460000)
  268. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [effective_destination_number]=[1010460000]
  269. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(bridge_pre_execute_bleg_app=sched_hangup)
  270. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [bridge_pre_execute_bleg_app]=[sched_hangup]
  271. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(bridge_pre_execute_bleg_data=+2105.2631578947 normal_clearing)
  272. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [bridge_pre_execute_bleg_data]=[+2105.2631578947 normal_clearing]
  273. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(notify_flag=0)
  274. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [notify_flag]=[0]
  275. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(notify_credit_limit=5.00000)
  276. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [notify_credit_limit]=[5.00000]
  277. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(type=0)
  278. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [type]=[0]
  279. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(callstart=2023-04-04 10:50:56)
  280. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [callstart]=[2023-04-04 10:50:56]
  281. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(hangup_after_bridge=true)
  282. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [hangup_after_bridge]=[true]
  283. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(continue_on_fail=TRUE)
  284. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [continue_on_fail]=[TRUE]
  285. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(account_id=778)
  286. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [account_id]=[778]
  287. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(parent_id=0)
  288. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [parent_id]=[0]
  289. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(entity_id=0)
  290. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [entity_id]=[0]
  291. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(call_processed=internal)
  292. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [call_processed]=[internal]
  293. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(call_direction=outbound)
  294. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [call_direction]=[outbound]
  295. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(accountname=default)
  296. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [accountname]=[default]
  297. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 export(t38_passthru=true)
  298. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  299. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(fax_enable_t38=true)
  300. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [fax_enable_t38]=[true]
  301. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(fax_enable_t38_request=true)
  302. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [fax_enable_t38_request]=[true]
  303. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(filename1=astpp.pbx.lua)
  304. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [filename1]=[astpp.pbx.lua]
  305. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(origination_rates=SHADOWBILLING:0|ID:241|CODE:^1010.*|DESTINATION:IMF|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.70000|INC:60|INITIALBLOCK:60|RATEGROUP:170|MARKUP:0|CI:25|ACCID:778)
  306. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [origination_rates]=[SHADOWBILLING:0|ID:241|CODE:^1010.*|DESTINATION:IMF|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.70000|INC:60|INITIALBLOCK:60|RATEGROUP:170|MARKUP:0|CI:25|ACCID:778]
  307. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(original_caller_id_name=236698)
  308. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [original_caller_id_name]=[236698]
  309. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(original_caller_id_number=236698)
  310. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [original_caller_id_number]=[236698]
  311. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(effective_caller_id_name=236698)
  312. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [effective_caller_id_name]=[236698]
  313. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(effective_caller_id_number=236698)
  314. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [effective_caller_id_number]=[236698]
  315. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(calltype=STANDARD)
  316. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [calltype]=[STANDARD]
  317. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(termination_rates=ID:203|CODE:^1010.*|DESTINATION:IMF USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.50000|INC:60|INITIALBLOCK:60|TRUNK:30|PROVIDER:91)
  318. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [termination_rates]=[ID:203|CODE:^1010.*|DESTINATION:IMF USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.50000|INC:60|INITIALBLOCK:60|TRUNK:30|PROVIDER:91]
  319. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(trunk_id=30)
  320. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [trunk_id]=[30]
  321. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(provider_id=91)
  322. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [provider_id]=[91]
  323. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(rate_flag=0)
  324. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [rate_flag]=[0]
  325. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(daily_call_credit_limit=0.00000)
  326. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [daily_call_credit_limit]=[0.00000]
  327. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(monthly_call_credit_limit=0.00000)
  328. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [monthly_call_credit_limit]=[0.00000]
  329. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(daily_call_used_limit=0.00000)
  330. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [daily_call_used_limit]=[0.00000]
  331. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(monthly_call_used_limit=0.00000)
  332. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [monthly_call_used_limit]=[0.00000]
  333. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(quality_trunk_seq=30)
  334. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [quality_trunk_seq]=[30]
  335. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(force_trunk_flag=0)
  336. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [force_trunk_flag]=[0]
  337. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 export(presence_data=trunk_id=30)
  338. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=30]
  339. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 set(intcall=1)
  340. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/236698@alpha3.astppbilling.org:5078 [intcall]=[1]
  341. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 export(presence_id=1010460000)
  342. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[1010460000]
  343. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 export(presence_data=x|||Prashant(236698)|||^1010.* // IMF // 5.70000 |||PK-TRUNK-QA // ^1010.* // IMF USA // 2.50000 // trunk_id=30|||STD|||103.240.35.46)
  344. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Prashant(236698)|||^1010.* // IMF // 5.70000 |||PK-TRUNK-QA // ^1010.* // IMF USA // 2.50000 // trunk_id=30|||STD|||103.240.35.46]
  345. EXECUTE [depth=0] sofia/default/236698@alpha3.astppbilling.org:5078 bridge({sip_cid_type=pid}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1010460000)
  346. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_channel.c:1269 sofia/default/236698@alpha3.astppbilling.org:5078 EXPORTING[export_vars] [t38_passthru]=[true] to event
  347. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_channel.c:1269 sofia/default/236698@alpha3.astppbilling.org:5078 EXPORTING[export_vars] [presence_data]=[x|||Prashant(236698)|||^1010.* // IMF // 5.70000 |||PK-TRUNK-QA // ^1010.* // IMF USA // 2.50000 // trunk_id=30|||STD|||103.240.35.46] to event
  348. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_channel.c:1269 sofia/default/236698@alpha3.astppbilling.org:5078 EXPORTING[export_vars] [presence_id]=[1010460000] to event
  349. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_channel.c:1269 sofia/default/236698@alpha3.astppbilling.org:5078 EXPORTING[export_vars] [presence_data]=[x|||Prashant(236698)|||^1010.* // IMF // 5.70000 |||PK-TRUNK-QA // ^1010.* // IMF USA // 2.50000 // trunk_id=30|||STD|||103.240.35.46] to event
  350. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  351. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  352. 2023-04-04 10:50:57.007285 89.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1010460000 [0a01af75-7024-46f7-81d0-8c1eb7d80726]
  353. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_sofia.c:5121 (sofia/default/1010460000) State Change CS_NEW -> CS_INIT
  354. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1010460000) Running State Change CS_INIT (Cur 2 Tot 957)
  355. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1010460000) State INIT
  356. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_sofia.c:97 sofia/default/1010460000 SOFIA INIT
  357. 2023-04-04 10:50:57.007285 89.17% [INFO] sofia_glue.c:1651 sofia/default/1010460000 sending invite call-id: (null)
  358. 2023-04-04 10:50:57.007285 89.17% [DEBUG] sofia_glue.c:1654 sofia/default/1010460000 sending invite version: 1.10.7 -release 64bit
  359. Local SDP:
  360. v=0
  361. o=FreeSWITCH 1680582951 1680582952 IN IP4 95.217.238.195
  362. s=FreeSWITCH
  363. c=IN IP4 95.217.238.195
  364. t=0 0
  365. m=audio 22506 RTP/AVP 8 18 101
  366. a=rtpmap:8 PCMA/8000
  367. a=rtpmap:18 G729/8000
  368. a=rtpmap:101 telephone-event/8000
  369. a=fmtp:101 0-15
  370. a=ptime:20
  371. a=sendrecv
  372.  
  373. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/1010460000 Standard INIT
  374. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1010460000) State Change CS_INIT -> CS_ROUTING
  375. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1010460000) State INIT going to sleep
  376. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1010460000) Running State Change CS_ROUTING (Cur 2 Tot 957)
  377. 2023-04-04 10:50:57.007285 89.17% [DEBUG] sofia.c:7499 Channel sofia/default/1010460000 entering state [calling][0]
  378. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1010460000) State ROUTING
  379. 2023-04-04 10:50:57.007285 89.17% [DEBUG] mod_sofia.c:158 sofia/default/1010460000 SOFIA ROUTING
  380. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1010460000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  381. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1010460000) State ROUTING going to sleep
  382. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1010460000) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 957)
  383. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1010460000) State CONSUME_MEDIA
  384. 2023-04-04 10:50:57.007285 89.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1010460000) State CONSUME_MEDIA going to sleep
  385. 2023-04-04 10:50:57.107296 88.90% [DEBUG] sofia.c:7499 Channel sofia/default/1010460000 entering state [completing][200]
  386. 2023-04-04 10:50:57.107296 88.90% [DEBUG] sofia.c:7509 Remote SDP:
  387. v=0
  388. o=root 906947429 906947429 IN IP4 159.203.131.36
  389. s=Asterisk PBX 16.4.0
  390. c=IN IP4 159.203.131.36
  391. t=0 0
  392. m=audio 16178 RTP/AVP 8 101
  393. a=rtpmap:8 PCMA/8000
  394. a=rtpmap:101 telephone-event/8000
  395. a=fmtp:101 0-16
  396. a=maxptime:150
  397.  
  398. 2023-04-04 10:50:57.107296 88.90% [DEBUG] sofia.c:7499 Channel sofia/default/1010460000 entering state [ready][200]
  399. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  400. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  401. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  402. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  403. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1010460000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  404. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_core_codec.c:111 sofia/default/1010460000 Original read codec set to PCMA:8
  405. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  406. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_core_media.c:5973 sofia/default/1010460000 Set 2833 dtmf send payload to 101 recv payload to 101
  407. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1010460000] 95.217.238.195 port 22506 -> 159.203.131.36 port 16178 codec: 8 ms: 20
  408. 2023-04-04 10:50:57.107296 88.90% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  409. 2023-04-04 10:50:57.127339 88.90% [DEBUG] switch_core_media.c:9089 sofia/default/1010460000 Set 2833 dtmf send payload to 101
  410. 2023-04-04 10:50:57.127339 88.90% [DEBUG] switch_core_media.c:9096 sofia/default/1010460000 Set 2833 dtmf receive payload to 101
  411. 2023-04-04 10:50:57.127339 88.90% [DEBUG] switch_core_media.c:9119 sofia/default/1010460000 Set rtp dtmf delay to 40
  412. 2023-04-04 10:50:57.127339 88.90% [NOTICE] sofia.c:8683 Channel [sofia/default/1010460000] has been answered
  413. 2023-04-04 10:50:57.127339 88.90% [DEBUG] switch_channel.c:3950 (sofia/default/1010460000) Callstate Change DOWN -> ACTIVE
  414. 2023-04-04 10:50:57.127339 88.90% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/236698@alpha3.astppbilling.org:5078] 95.217.238.195 port 20452 -> 103.240.35.46 port 5630 codec: 8 ms: 20
  415. 2023-04-04 10:50:57.127339 88.90% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  416. 2023-04-04 10:50:57.147302 88.90% [DEBUG] switch_core_media.c:9089 sofia/default/236698@alpha3.astppbilling.org:5078 Set 2833 dtmf send payload to 101
  417. 2023-04-04 10:50:57.147302 88.90% [DEBUG] switch_core_media.c:9096 sofia/default/236698@alpha3.astppbilling.org:5078 Set 2833 dtmf receive payload to 101
  418. 2023-04-04 10:50:57.147302 88.90% [DEBUG] switch_core_media.c:9119 sofia/default/236698@alpha3.astppbilling.org:5078 Set rtp dtmf delay to 40
  419. 2023-04-04 10:50:57.147302 88.90% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/236698@alpha3.astppbilling.org:5078:
  420. v=0
  421. o=FreeSWITCH 1680585005 1680585006 IN IP4 95.217.238.195
  422. s=FreeSWITCH
  423. c=IN IP4 95.217.238.195
  424. t=0 0
  425. m=audio 20452 RTP/AVP 8 101
  426. a=rtpmap:8 PCMA/8000
  427. a=rtpmap:101 telephone-event/8000
  428. a=fmtp:101 0-15
  429. a=ptime:20
  430. a=sendrecv
  431.  
  432. 2023-04-04 10:50:57.147302 88.90% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/236698@alpha3.astppbilling.org:5078] has been answered
  433. 2023-04-04 10:50:57.147302 88.90% [DEBUG] switch_channel.c:3950 (sofia/default/236698@alpha3.astppbilling.org:5078) Callstate Change RINGING -> ACTIVE
  434. 2023-04-04 10:50:57.147302 88.90% [DEBUG] sofia.c:7499 Channel sofia/default/236698@alpha3.astppbilling.org:5078 entering state [completed][200]
  435. 2023-04-04 10:50:57.147302 88.90% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1010460000] Peer UUID: 0a01af75-7024-46f7-81d0-8c1eb7d80726
  436. 2023-04-04 10:50:57.147302 88.90% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1010460000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  437. 2023-04-04 10:50:57.147302 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1010460000) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 957)
  438. 2023-04-04 10:50:57.147302 88.90% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1010460000) State EXCHANGE_MEDIA
  439. 2023-04-04 10:50:57.147302 88.90% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  440. 2023-04-04 10:50:57.307309 88.90% [DEBUG] switch_ivr_bridge.c:655 sofia/default/1010460000 Bridge execute app sched_hangup(+2105.2631578947 normal_clearing)
  441. 2023-04-04 10:50:57.327299 88.90% [DEBUG] switch_ivr.c:632 sofia/default/1010460000 Command Execute [depth=0] sched_hangup(+2105.2631578947 normal_clearing)
  442. EXECUTE [depth=0] sofia/default/1010460000 sched_hangup(+2105.2631578947 normal_clearing)
  443. 2023-04-04 10:50:57.347306 88.90% [DEBUG] switch_scheduler.c:263 Added task 203 switch_ivr_schedule_hangup (0a01af75-7024-46f7-81d0-8c1eb7d80726) to run at 1680607562
  444. 2023-04-04 10:50:57.507331 88.90% [DEBUG] sofia.c:7499 Channel sofia/default/236698@alpha3.astppbilling.org:5078 entering state [ready][200]
  445. 2023-04-04 10:50:57.527324 88.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  446. 2023-04-04 10:50:57.647295 88.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  447. 2023-04-04 10:51:30.827353 78.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9660593600@alpha.astppbilling.org] from ip 103.240.35.46
  448. 2023-04-04 10:51:31.147298 78.30% [WARNING] sofia_reg.c:3223 Can't find user [9660593600@alpha.astppbilling.org] from 103.240.35.46
  449. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="9660593600" attribute
  450. and you must configure your device to use the proper domain in its authentication credentials.
  451. 2023-04-04 10:52:08.447340 76.87% [DEBUG] switch_ivr_bridge.c:820 sofia/default/236698@alpha3.astppbilling.org:5078 ending bridge by request from write function
  452. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1010460000]
  453. 2023-04-04 10:52:08.467325 76.87% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/1010460000 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  454. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1010460000) State EXCHANGE_MEDIA going to sleep
  455. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1010460000) Running State Change CS_HANGUP (Cur 2 Tot 957)
  456. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1010460000) Callstate Change ACTIVE -> HANGUP
  457. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1010460000) State HANGUP
  458. 2023-04-04 10:52:08.467325 76.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/1010460000 hanging up, cause: NORMAL_CLEARING
  459. 2023-04-04 10:52:08.467325 76.87% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1010460000
  460. 2023-04-04 10:52:08.467325 76.87% [NOTICE] sofia.c:1065 Hangup sofia/default/236698@alpha3.astppbilling.org:5078 [CS_EXECUTE] [NORMAL_CLEARING]
  461. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/1010460000 Standard HANGUP, cause: NORMAL_CLEARING
  462. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1010460000) State HANGUP going to sleep
  463. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1010460000) State Change CS_HANGUP -> CS_REPORTING
  464. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1010460000) Running State Change CS_REPORTING (Cur 2 Tot 957)
  465. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1010460000) State REPORTING
  466. 2023-04-04 10:52:08.467325 76.87% [INFO] mod_json_cdr.c:271 Process [0a01af75-7024-46f7-81d0-8c1eb7d80726.cdr.json]
  467. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/236698@alpha3.astppbilling.org:5078]
  468. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1010460000 skip receive message [UNBRIDGE] (channel is hungup already)
  469. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/236698@alpha3.astppbilling.org:5078 skip receive message [UNBRIDGE] (channel is hungup already)
  470. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_session.c:2983 sofia/default/236698@alpha3.astppbilling.org:5078 skip receive message [PHONE_EVENT] (channel is hungup already)
  471. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/236698@alpha3.astppbilling.org:5078) State EXECUTE going to sleep
  472. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/236698@alpha3.astppbilling.org:5078) Running State Change CS_HANGUP (Cur 2 Tot 957)
  473. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/236698@alpha3.astppbilling.org:5078) Callstate Change ACTIVE -> HANGUP
  474. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/236698@alpha3.astppbilling.org:5078) State HANGUP
  475. 2023-04-04 10:52:08.467325 76.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/236698@alpha3.astppbilling.org:5078 hanging up, cause: NORMAL_CLEARING
  476. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/236698@alpha3.astppbilling.org:5078 Standard HANGUP, cause: NORMAL_CLEARING
  477. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/236698@alpha3.astppbilling.org:5078) State HANGUP going to sleep
  478. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/236698@alpha3.astppbilling.org:5078) State Change CS_HANGUP -> CS_REPORTING
  479. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/236698@alpha3.astppbilling.org:5078) Running State Change CS_REPORTING (Cur 2 Tot 957)
  480. 2023-04-04 10:52:08.467325 76.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/236698@alpha3.astppbilling.org:5078) State REPORTING
  481. 2023-04-04 10:52:08.467325 76.87% [INFO] mod_json_cdr.c:271 Process [e5f155cd-b5b5-4d04-a52f-2ca0a615c4e2.cdr.json]
  482. 2023-04-04 10:52:08.487303 76.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/1010460000 Standard REPORTING, cause: NORMAL_CLEARING
  483. 2023-04-04 10:52:08.487303 76.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1010460000) State REPORTING going to sleep
  484. 2023-04-04 10:52:08.487303 76.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1010460000) State Change CS_REPORTING -> CS_DESTROY
  485. 2023-04-04 10:52:08.487303 76.87% [DEBUG] switch_core_session.c:1753 Session 957 (sofia/default/1010460000) Locked, Waiting on external entities
  486. 2023-04-04 10:52:08.487303 76.87% [NOTICE] switch_core_session.c:1771 Session 957 (sofia/default/1010460000) Ended
  487. 2023-04-04 10:52:08.487303 76.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1010460000 [CS_DESTROY]
  488. 2023-04-04 10:52:08.487303 76.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1010460000) Running State Change CS_DESTROY (Cur 1 Tot 957)
  489. 2023-04-04 10:52:08.487303 76.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1010460000) State DESTROY
  490. 2023-04-04 10:52:08.487303 76.87% [DEBUG] mod_sofia.c:379 sofia/default/1010460000 SOFIA DESTROY
  491. 2023-04-04 10:52:08.487303 76.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/1010460000 Standard DESTROY
  492. 2023-04-04 10:52:08.487303 76.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1010460000) State DESTROY going to sleep
  493. 2023-04-04 10:52:08.527303 76.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/236698@alpha3.astppbilling.org:5078 Standard REPORTING, cause: NORMAL_CLEARING
  494. 2023-04-04 10:52:08.527303 76.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/236698@alpha3.astppbilling.org:5078) State REPORTING going to sleep
  495. 2023-04-04 10:52:08.527303 76.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/236698@alpha3.astppbilling.org:5078) State Change CS_REPORTING -> CS_DESTROY
  496. 2023-04-04 10:52:08.527303 76.87% [DEBUG] switch_core_session.c:1753 Session 956 (sofia/default/236698@alpha3.astppbilling.org:5078) Locked, Waiting on external entities
  497. 2023-04-04 10:52:08.527303 76.87% [NOTICE] switch_core_session.c:1771 Session 956 (sofia/default/236698@alpha3.astppbilling.org:5078) Ended
  498. 2023-04-04 10:52:08.527303 76.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/236698@alpha3.astppbilling.org:5078 [CS_DESTROY]
  499. 2023-04-04 10:52:08.527303 76.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/236698@alpha3.astppbilling.org:5078) Running State Change CS_DESTROY (Cur 0 Tot 957)
  500. 2023-04-04 10:52:08.527303 76.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/236698@alpha3.astppbilling.org:5078) State DESTROY
  501. 2023-04-04 10:52:08.527303 76.87% [DEBUG] mod_sofia.c:379 sofia/default/236698@alpha3.astppbilling.org:5078 SOFIA DESTROY
  502. 2023-04-04 10:52:08.527303 76.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/236698@alpha3.astppbilling.org:5078 Standard DESTROY
  503. 2023-04-04 10:52:08.527303 76.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/236698@alpha3.astppbilling.org:5078) State DESTROY going to sleep
  504. 2023-04-04 10:52:08.847296 76.87% [DEBUG] switch_scheduler.c:147 Deleting task 203 switch_ivr_schedule_hangup (0a01af75-7024-46f7-81d0-8c1eb7d80726)