From Prashant Kumar, 11 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. You must define a domain called 'alpha1.astppbilling.org' in your directory and add a user with the id="411" attribute
  2. and you must configure your device to use the proper domain in its authentication credentials.
  3. 2023-04-28 12:51:07.316173 83.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/25@alpha.astppbilling.org:5078 [37837ae6-8852-4729-94bc-861daadd5776]
  4. 2023-04-28 12:51:07.316173 83.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/25@alpha.astppbilling.org:5078) Running State Change CS_NEW (Cur 1 Tot 100)
  5. 2023-04-28 12:51:07.316173 83.90% [INFO] sofia.c:10462 sofia/default/25@alpha.astppbilling.org:5078 receiving invite from 103.240.35.46:60578 version: 1.10.7 -release 64bit call-id: NDQzY2Q3ZGVkNWU1ZDUxZjVjM2IwNTdjZjQxODNlMWE.
  6. 2023-04-28 12:51:07.316173 83.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  7. 2023-04-28 12:51:07.316173 83.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [776565655@alpha.astppbilling.org] from ip 103.240.35.46
  8. 2023-04-28 12:51:07.316173 83.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/25@alpha.astppbilling.org:5078) State NEW
  9. 2023-04-28 12:51:07.316173 83.90% [DEBUG] sofia.c:2419 detaching session 37837ae6-8852-4729-94bc-861daadd5776
  10. 2023-04-28 12:51:07.796147 83.87% [DEBUG] sofia.c:2532 Re-attaching to session 37837ae6-8852-4729-94bc-861daadd5776
  11. 2023-04-28 12:51:07.816143 83.87% [INFO] sofia.c:10462 sofia/default/25@alpha.astppbilling.org:5078 receiving invite from 103.240.35.46:60578 version: 1.10.7 -release 64bit call-id: NDQzY2Q3ZGVkNWU1ZDUxZjVjM2IwNTdjZjQxODNlMWE.
  12. 2023-04-28 12:51:07.816143 83.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  13. 2023-04-28 12:51:07.836144 83.87% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  14. 2023-04-28 12:51:07.836144 83.87% [DEBUG] sofia.c:7499 Channel sofia/default/25@alpha.astppbilling.org:5078 entering state [received][100]
  15. 2023-04-28 12:51:07.836144 83.87% [DEBUG] sofia.c:7509 Remote SDP:
  16. v=0
  17. o=Z 0 0 IN IP4 103.240.35.46
  18. s=Z
  19. c=IN IP4 103.240.35.46
  20. t=0 0
  21. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  22. a=rtpmap:110 speex/8000
  23. a=rtpmap:98 iLBC/8000
  24. a=fmtp:98 mode=20
  25. a=rtpmap:101 telephone-event/8000
  26. a=fmtp:101 0-15
  27.  
  28. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  29. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  33. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  34. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  37. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  38. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  39. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  40. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  41. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/25@alpha.astppbilling.org:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  42. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_codec.c:111 sofia/default/25@alpha.astppbilling.org:5078 Original read codec set to PCMA:8
  43. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  44. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_media.c:5973 sofia/default/25@alpha.astppbilling.org:5078 Set 2833 dtmf send payload to 101 recv payload to 101
  45. 2023-04-28 12:51:07.836144 83.87% [DEBUG] sofia.c:7933 (sofia/default/25@alpha.astppbilling.org:5078) State Change CS_NEW -> CS_INIT
  46. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/25@alpha.astppbilling.org:5078) Running State Change CS_INIT (Cur 1 Tot 100)
  47. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/25@alpha.astppbilling.org:5078) State INIT
  48. 2023-04-28 12:51:07.836144 83.87% [DEBUG] mod_sofia.c:97 sofia/default/25@alpha.astppbilling.org:5078 SOFIA INIT
  49. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/25@alpha.astppbilling.org:5078 Standard INIT
  50. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/25@alpha.astppbilling.org:5078) State Change CS_INIT -> CS_ROUTING
  51. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/25@alpha.astppbilling.org:5078) State INIT going to sleep
  52. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/25@alpha.astppbilling.org:5078) Running State Change CS_ROUTING (Cur 1 Tot 100)
  53. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_channel.c:2380 (sofia/default/25@alpha.astppbilling.org:5078) Callstate Change DOWN -> RINGING
  54. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/25@alpha.astppbilling.org:5078) State ROUTING
  55. 2023-04-28 12:51:07.836144 83.87% [DEBUG] mod_sofia.c:158 sofia/default/25@alpha.astppbilling.org:5078 SOFIA ROUTING
  56. 2023-04-28 12:51:07.836144 83.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/25@alpha.astppbilling.org:5078 Standard ROUTING
  57. 2023-04-28 12:51:07.836144 83.87% [INFO] mod_dialplan_xml.c:639 Processing 25 <25>->776565655 in context default
  58. 2023-04-28 12:51:07.856146 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  59. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  60. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  61. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  62. 2023-04-28 12:51:07.856146 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  63. 2023-04-28 12:51:07.856146 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 776565655
  64. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '776565655' limit 1
  65. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  66. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '776565655' and status=0 LIMIT 1
  67. 2023-04-28 12:51:07.856146 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER25
  68. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  69. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '776565655' limit 1
  70. 2023-04-28 12:51:07.856146 83.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  71. 2023-04-28 12:51:07.856146 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1015 / 1015
  72. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 655
  73. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 776565 AND status=0 limit 1
  74. 2023-04-28 12:51:07.856146 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  75. 2023-04-28 12:51:07.856146 83.87% [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="776565655"  AND domains.domain="alpha.astppbilling.org" limit 1
  76. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  77. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3097173617]
  78. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3097173617" AND deleted = 0 limit 1
  79. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^776565655.*' OR blocked_patterns = '^77656565.*' OR blocked_patterns = '^7765656.*' OR blocked_patterns = '^776565.*' OR blocked_patterns = '^77656.*' OR blocked_patterns = '^7765.*' OR blocked_patterns = '^776.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 1001 limit 1
  80. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  81. 2023-04-28 12:51:07.876168 83.87% [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 = '^776565655.*' OR patterns = '^77656565.*' OR patterns = '^7765656.*' OR patterns = '^776565.*' OR patterns = '^77656.*' OR patterns = '^7765.*' OR patterns = '^776.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 1001 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 474
  83. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 402
  84. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 402 AND status = 0
  85. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product : 234
  86. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 2 Call Direction : outbound [0:inbound,1:outbound,2:both]
  87. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters  WHERE  accountid = 1001 AND package_id = 474 AND status=1 LIMIT 1
  88. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 27
  89. 2023-04-28 12:51:07.876168 83.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Package Id : 474
  90. 2023-04-28 12:51:07.876168 83.87% [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 ="776565655" AND A.accountid = '1001' limit 1
  91. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 776565655
  92. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  93. 2023-04-28 12:51:07.876168 83.87% [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="776565655"  AND domains.domain="alpha.astppbilling.org" limit 1
  94. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  95. 2023-04-28 12:51:07.876168 83.87% [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 = '776565655' OR number = '77656565' OR number = '7765656' OR number = '776565' OR number = '77656' OR number = '7765' OR number = '776' OR number = '77' OR number = '7' OR number ='--') OR (number = '776565655*' OR number = '77656565*' OR number = '7765656*' OR number = '776565*' OR number = '77656*' OR number = '7765*' OR number = '776*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '1015' OR number = '101' OR number = '10' OR number = '1' OR number ='--') OR (number = '1015*' OR number = '101*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  96. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  97. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '776565655' OR routing_prefix = '77656565' OR routing_prefix = '7765656' OR routing_prefix = '776565' OR routing_prefix = '77656' OR routing_prefix = '7765' OR routing_prefix = '776' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  98. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  99. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1001
  100. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3097173617
  101. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 121.33022
  102. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  103. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 234
  104. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  105. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  106. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  107. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::234
  108. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  109. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  110. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::234
  111. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^776565655.*' OR pattern = '^77656565.*' OR pattern = '^7765656.*' OR pattern = '^776565.*' OR pattern = '^77656.*' OR pattern = '^7765.*' OR pattern = '^776.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^1015.*' OR caller_id_pattern = '^101.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 234 OR accountid=1001)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  112. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  113. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  114. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:3.00000
  115. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:234
  116. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '234' and status=0
  117. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:3.00000
  118. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  119. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 279100
  120. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  121. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  122. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 3.00000
  123. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : india
  124. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  125. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1001
  126. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  127. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  128. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  129. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:279100|CODE:^77.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:30|INITIALBLOCK:30|RATEGROUP:234|MARKUP:0|CI:0|ACCID:1001!!!
  130. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your121.33022 balance Accountid 1001 !!!
  131. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 27 minutes
  132. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  133. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=234 ORDER by id asc
  134. 2023-04-28 12:51:07.876168 83.87% [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 = '^776565655.*' OR pattern = '^77656565.*' OR pattern = '^7765656.*' OR pattern = '^776565.*' OR pattern = '^77656.*' OR pattern = '^7765.*' OR pattern = '^776.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  135. 2023-04-28 12:51:07.876168 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  136. 2023-04-28 12:51:07.876168 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  137. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 243
  138. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^77.*
  139. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  140. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 2.36500
  141. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  142. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^77.*
  143. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  144. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  145. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  146. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  147. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  148. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  149. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  150. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  151. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  152. 2023-04-28 12:51:07.896142 83.87% [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 = 1001 AND status=0 LIMIT 1
  153. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 27
  154. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  155. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  156. 2023-04-28 12:51:07.896142 83.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  157. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  158. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::234
  159. 2023-04-28 12:51:07.896142 83.87% [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 = 3) AND status=0 limit 1
  160. 2023-04-28 12:51:07.896142 83.87% [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 = 1) AND status=0 limit 1
  161. 2023-04-28 12:51:07.896142 83.87% [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 ="776565655" LIMIT 1
  162. 2023-04-28 12:51:07.896142 83.87% [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 ="776565655" LIMIT 1
  163. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  164. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  165. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  166. <document type="freeswitch/xml">
  167. <section name="dialplan" description="ASTPP Dialplan">
  168. <context name="default">
  169. <extension name="776565655">
  170. <condition field="destination_number" expression="776565655">
  171. <action application="set" data="effective_destination_number=776565655"/>
  172. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  173. <action application="set" data="bridge_pre_execute_bleg_data=+1620 normal_clearing"/>
  174. <action application="set" data="notify_flag=0"/>
  175. <action application="set" data="notify_credit_limit=5.00000"/>
  176. <action application="set" data="type=0"/>
  177. <action application="set" data="callstart=2023-04-28 12:51:07"/>
  178. <action application="set" data="hangup_after_bridge=true"/>
  179. <action application="set" data="continue_on_fail=TRUE"/>
  180. <action application="set" data="account_id=1001"/>
  181. <action application="set" data="parent_id=0"/>
  182. <action application="set" data="entity_id=0"/>
  183. <action application="set" data="call_processed=internal"/>
  184. <action application="set" data="call_direction=outbound"/>
  185. <action application="set" data="accountname=default"/>
  186. <action application="set" data="package_id=474"/>
  187. <action application="export" data="t38_passthru=true"/>
  188. <action application="set" data="fax_enable_t38=true"/>
  189. <action application="set" data="fax_enable_t38_request=true"/>
  190. <action application="set" data="filename1=astpp.pbx.lua"/>
  191. <action application="set" data="origination_rates=SHADOWBILLING:0|ID:279100|CODE:^77.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:30|INITIALBLOCK:30|RATEGROUP:234|MARKUP:0|CI:0|ACCID:1001"/>
  192. <action application="set" data="original_caller_id_name=1015"/>
  193. <action application="set" data="original_caller_id_number=1015"/>
  194.  
  195. <action application="set" data="effective_caller_id_name=1015"/>
  196. <action application="set" data="effective_caller_id_number=1015"/>
  197. <action application="set" data="calltype=STANDARD"/>
  198. <action application="set" data="termination_rates=ID:243|CODE:^77.*|DESTINATION:|CONNECTIONCOST:2.36500|INCLUDEDSECONDS:0|COST:0.54290|INC:30|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
  199. <action application="set" data="trunk_id=1"/>
  200. <action application="set" data="provider_id=3"/>
  201. <action application="set" data="rate_flag=0"/>
  202. <action application="set" data="daily_call_credit_limit=0.00000"/>
  203. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  204. <action application="set" data="daily_call_used_limit=0.00000"/>
  205. <action application="set" data="monthly_call_used_limit=0.00000"/>
  206. <action application="set" data="quality_trunk_seq=1"/>
  207. <action application="set" data="force_trunk_flag=0"/>
  208. <action application="export" data="presence_data=trunk_id=1"/>
  209. <action application="set" data="intcall=0"/>
  210. <action application="export" data="presence_id=776565655"/>
  211. <action application="export" data="presence_data=x|||AAA(3097173617)|||^77.* // india // 3.00000 |||YourTrunk // ^77.* //  // 0.54290 // trunk_id=1|||STD|||103.240.35.46"/>
  212. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/776565655"/>
  213. </condition>
  214. </extension>
  215. </context>
  216. </section>
  217. </document>
  218. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 parsing [default->776565655] continue=false
  219. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Regex (PASS) [776565655] destination_number(776565655) =~ /776565655/ break=on-false
  220. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(effective_destination_number=776565655)
  221. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  222. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_data=+1620 normal_clearing)
  223. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(notify_flag=0)
  224. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(notify_credit_limit=5.00000)
  225. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(type=0)
  226. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(callstart=2023-04-28 12:51:07)
  227. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(hangup_after_bridge=true)
  228. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(continue_on_fail=TRUE)
  229. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(account_id=1001)
  230. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(parent_id=0)
  231. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(entity_id=0)
  232. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(call_processed=internal)
  233. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(call_direction=outbound)
  234. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(accountname=default)
  235. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(package_id=474)
  236. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action export(t38_passthru=true)
  237. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(fax_enable_t38=true)
  238. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(fax_enable_t38_request=true)
  239. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(filename1=astpp.pbx.lua)
  240. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(origination_rates=SHADOWBILLING:0|ID:279100|CODE:^77.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:30|INITIALBLOCK:30|RATEGROUP:234|MARKUP:0|CI:0|ACCID:1001)
  241. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(original_caller_id_name=1015)
  242. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(original_caller_id_number=1015)
  243. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(effective_caller_id_name=1015)
  244. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(effective_caller_id_number=1015)
  245. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(calltype=STANDARD)
  246. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(termination_rates=ID:243|CODE:^77.*|DESTINATION:|CONNECTIONCOST:2.36500|INCLUDEDSECONDS:0|COST:0.54290|INC:30|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  247. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(trunk_id=1)
  248. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(provider_id=3)
  249. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(rate_flag=0)
  250. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(daily_call_credit_limit=0.00000)
  251. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(monthly_call_credit_limit=0.00000)
  252. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(daily_call_used_limit=0.00000)
  253. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(monthly_call_used_limit=0.00000)
  254. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(quality_trunk_seq=1)
  255. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(force_trunk_flag=0)
  256. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action export(presence_data=trunk_id=1)
  257. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action set(intcall=0)
  258. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action export(presence_id=776565655)
  259. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action export(presence_data=x|||AAA(3097173617)|||^77.* // india // 3.00000 |||YourTrunk // ^77.* //  // 0.54290 // trunk_id=1|||STD|||103.240.35.46)
  260. Dialplan: sofia/default/25@alpha.astppbilling.org:5078 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/776565655)
  261. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/25@alpha.astppbilling.org:5078) State Change CS_ROUTING -> CS_EXECUTE
  262. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/25@alpha.astppbilling.org:5078) State ROUTING going to sleep
  263. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/25@alpha.astppbilling.org:5078) Running State Change CS_EXECUTE (Cur 1 Tot 100)
  264. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/25@alpha.astppbilling.org:5078) State EXECUTE
  265. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_sofia.c:213 sofia/default/25@alpha.astppbilling.org:5078 SOFIA EXECUTE
  266. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/25@alpha.astppbilling.org:5078 Standard EXECUTE
  267. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(effective_destination_number=776565655)
  268. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [effective_destination_number]=[776565655]
  269. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(bridge_pre_execute_bleg_app=sched_hangup)
  270. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [bridge_pre_execute_bleg_app]=[sched_hangup]
  271. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(bridge_pre_execute_bleg_data=+1620 normal_clearing)
  272. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [bridge_pre_execute_bleg_data]=[+1620 normal_clearing]
  273. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(notify_flag=0)
  274. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [notify_flag]=[0]
  275. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(notify_credit_limit=5.00000)
  276. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [notify_credit_limit]=[5.00000]
  277. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(type=0)
  278. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [type]=[0]
  279. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(callstart=2023-04-28 12:51:07)
  280. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [callstart]=[2023-04-28 12:51:07]
  281. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(hangup_after_bridge=true)
  282. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [hangup_after_bridge]=[true]
  283. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(continue_on_fail=TRUE)
  284. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [continue_on_fail]=[TRUE]
  285. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(account_id=1001)
  286. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [account_id]=[1001]
  287. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(parent_id=0)
  288. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [parent_id]=[0]
  289. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(entity_id=0)
  290. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [entity_id]=[0]
  291. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(call_processed=internal)
  292. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [call_processed]=[internal]
  293. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(call_direction=outbound)
  294. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [call_direction]=[outbound]
  295. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(accountname=default)
  296. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [accountname]=[default]
  297. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(package_id=474)
  298. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [package_id]=[474]
  299. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 export(t38_passthru=true)
  300. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  301. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(fax_enable_t38=true)
  302. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [fax_enable_t38]=[true]
  303. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(fax_enable_t38_request=true)
  304. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [fax_enable_t38_request]=[true]
  305. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(filename1=astpp.pbx.lua)
  306. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [filename1]=[astpp.pbx.lua]
  307. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(origination_rates=SHADOWBILLING:0|ID:279100|CODE:^77.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:30|INITIALBLOCK:30|RATEGROUP:234|MARKUP:0|CI:0|ACCID:1001)
  308. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [origination_rates]=[SHADOWBILLING:0|ID:279100|CODE:^77.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:30|INITIALBLOCK:30|RATEGROUP:234|MARKUP:0|CI:0|ACCID:1001]
  309. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(original_caller_id_name=1015)
  310. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [original_caller_id_name]=[1015]
  311. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(original_caller_id_number=1015)
  312. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [original_caller_id_number]=[1015]
  313. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(effective_caller_id_name=1015)
  314. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [effective_caller_id_name]=[1015]
  315. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(effective_caller_id_number=1015)
  316. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [effective_caller_id_number]=[1015]
  317. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(calltype=STANDARD)
  318. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [calltype]=[STANDARD]
  319. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(termination_rates=ID:243|CODE:^77.*|DESTINATION:|CONNECTIONCOST:2.36500|INCLUDEDSECONDS:0|COST:0.54290|INC:30|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  320. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [termination_rates]=[ID:243|CODE:^77.*|DESTINATION:|CONNECTIONCOST:2.36500|INCLUDEDSECONDS:0|COST:0.54290|INC:30|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  321. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(trunk_id=1)
  322. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [trunk_id]=[1]
  323. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(provider_id=3)
  324. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [provider_id]=[3]
  325. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(rate_flag=0)
  326. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [rate_flag]=[0]
  327. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(daily_call_credit_limit=0.00000)
  328. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [daily_call_credit_limit]=[0.00000]
  329. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(monthly_call_credit_limit=0.00000)
  330. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [monthly_call_credit_limit]=[0.00000]
  331. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(daily_call_used_limit=0.00000)
  332. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [daily_call_used_limit]=[0.00000]
  333. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(monthly_call_used_limit=0.00000)
  334. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [monthly_call_used_limit]=[0.00000]
  335. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(quality_trunk_seq=1)
  336. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [quality_trunk_seq]=[1]
  337. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(force_trunk_flag=0)
  338. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [force_trunk_flag]=[0]
  339. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 export(presence_data=trunk_id=1)
  340. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  341. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 set(intcall=0)
  342. 2023-04-28 12:51:07.896142 83.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/25@alpha.astppbilling.org:5078 [intcall]=[0]
  343. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 export(presence_id=776565655)
  344. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[776565655]
  345. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 export(presence_data=x|||AAA(3097173617)|||^77.* // india // 3.00000 |||YourTrunk // ^77.* //  // 0.54290 // trunk_id=1|||STD|||103.240.35.46)
  346. 2023-04-28 12:51:07.896142 83.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||AAA(3097173617)|||^77.* // india // 3.00000 |||YourTrunk // ^77.* //  // 0.54290 // trunk_id=1|||STD|||103.240.35.46]
  347. EXECUTE [depth=0] sofia/default/25@alpha.astppbilling.org:5078 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/776565655)
  348. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_channel.c:1269 sofia/default/25@alpha.astppbilling.org:5078 EXPORTING[export_vars] [t38_passthru]=[true] to event
  349. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_channel.c:1269 sofia/default/25@alpha.astppbilling.org:5078 EXPORTING[export_vars] [presence_data]=[x|||AAA(3097173617)|||^77.* // india // 3.00000 |||YourTrunk // ^77.* //  // 0.54290 // trunk_id=1|||STD|||103.240.35.46] to event
  350. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_channel.c:1269 sofia/default/25@alpha.astppbilling.org:5078 EXPORTING[export_vars] [presence_id]=[776565655] to event
  351. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_channel.c:1269 sofia/default/25@alpha.astppbilling.org:5078 EXPORTING[export_vars] [presence_data]=[x|||AAA(3097173617)|||^77.* // india // 3.00000 |||YourTrunk // ^77.* //  // 0.54290 // trunk_id=1|||STD|||103.240.35.46] to event
  352. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  353. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  354. 2023-04-28 12:51:07.916142 83.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/776565655 [89346afe-33dc-45dd-a581-92d8a4517631]
  355. 2023-04-28 12:51:07.916142 83.87% [DEBUG] mod_sofia.c:5121 (sofia/default/776565655) State Change CS_NEW -> CS_INIT
  356. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_ivr_originate.c:3151 sofia/default/776565655 Setting leg timeout to 30
  357. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/776565655) Running State Change CS_INIT (Cur 2 Tot 101)
  358. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/776565655) State INIT
  359. 2023-04-28 12:51:07.916142 83.87% [DEBUG] mod_sofia.c:97 sofia/default/776565655 SOFIA INIT
  360. 2023-04-28 12:51:07.916142 83.87% [INFO] sofia_glue.c:1651 sofia/default/776565655 sending invite call-id: (null)
  361. 2023-04-28 12:51:07.916142 83.87% [DEBUG] sofia_glue.c:1654 sofia/default/776565655 sending invite version: 1.10.7 -release 64bit
  362. Local SDP:
  363. v=0
  364. o=FreeSWITCH 1682668935 1682668936 IN IP4 95.217.238.195
  365. s=FreeSWITCH
  366. c=IN IP4 95.217.238.195
  367. t=0 0
  368. m=audio 17332 RTP/AVP 8 18 101
  369. a=rtpmap:8 PCMA/8000
  370. a=rtpmap:18 G729/8000
  371. a=rtpmap:101 telephone-event/8000
  372. a=fmtp:101 0-15
  373. a=ptime:20
  374. a=sendrecv
  375.  
  376. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/776565655 Standard INIT
  377. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/776565655) State Change CS_INIT -> CS_ROUTING
  378. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/776565655) State INIT going to sleep
  379. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/776565655) Running State Change CS_ROUTING (Cur 2 Tot 101)
  380. 2023-04-28 12:51:07.916142 83.87% [DEBUG] sofia.c:7499 Channel sofia/default/776565655 entering state [calling][0]
  381. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/776565655) State ROUTING
  382. 2023-04-28 12:51:07.916142 83.87% [DEBUG] mod_sofia.c:158 sofia/default/776565655 SOFIA ROUTING
  383. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/776565655) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  384. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/776565655) State ROUTING going to sleep
  385. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/776565655) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 101)
  386. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/776565655) State CONSUME_MEDIA
  387. 2023-04-28 12:51:07.916142 83.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/776565655) State CONSUME_MEDIA going to sleep
  388. 2023-04-28 12:51:08.016154 83.87% [DEBUG] sofia.c:7499 Channel sofia/default/776565655 entering state [completing][200]
  389. 2023-04-28 12:51:08.016154 83.87% [DEBUG] sofia.c:7509 Remote SDP:
  390. v=0
  391. o=root 375861102 375861102 IN IP4 159.203.131.36
  392. s=Asterisk PBX 16.4.0
  393. c=IN IP4 159.203.131.36
  394. t=0 0
  395. m=audio 15218 RTP/AVP 8 101
  396. a=rtpmap:8 PCMA/8000
  397. a=rtpmap:101 telephone-event/8000
  398. a=fmtp:101 0-16
  399. a=maxptime:150
  400.  
  401. 2023-04-28 12:51:08.016154 83.87% [DEBUG] sofia.c:7499 Channel sofia/default/776565655 entering state [ready][200]
  402. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  403. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  404. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  405. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  406. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/776565655 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  407. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_codec.c:111 sofia/default/776565655 Original read codec set to PCMA:8
  408. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  409. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:5973 sofia/default/776565655 Set 2833 dtmf send payload to 101 recv payload to 101
  410. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/776565655] 95.217.238.195 port 17332 -> 159.203.131.36 port 15218 codec: 8 ms: 20
  411. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  412. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:9089 sofia/default/776565655 Set 2833 dtmf send payload to 101
  413. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:9096 sofia/default/776565655 Set 2833 dtmf receive payload to 101
  414. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_core_media.c:9119 sofia/default/776565655 Set rtp dtmf delay to 40
  415. 2023-04-28 12:51:08.016154 83.87% [NOTICE] sofia.c:8683 Channel [sofia/default/776565655] has been answered
  416. 2023-04-28 12:51:08.016154 83.87% [DEBUG] switch_channel.c:3950 (sofia/default/776565655) Callstate Change DOWN -> ACTIVE
  417. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/25@alpha.astppbilling.org:5078] 95.217.238.195 port 23576 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  418. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  419. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_core_media.c:9089 sofia/default/25@alpha.astppbilling.org:5078 Set 2833 dtmf send payload to 101
  420. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_core_media.c:9096 sofia/default/25@alpha.astppbilling.org:5078 Set 2833 dtmf receive payload to 101
  421. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_core_media.c:9119 sofia/default/25@alpha.astppbilling.org:5078 Set rtp dtmf delay to 40
  422. 2023-04-28 12:51:08.036155 83.87% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/25@alpha.astppbilling.org:5078:
  423. v=0
  424. o=FreeSWITCH 1682662692 1682662693 IN IP4 95.217.238.195
  425. s=FreeSWITCH
  426. c=IN IP4 95.217.238.195
  427. t=0 0
  428. m=audio 23576 RTP/AVP 8 101
  429. a=rtpmap:8 PCMA/8000
  430. a=rtpmap:101 telephone-event/8000
  431. a=fmtp:101 0-15
  432. a=ptime:20
  433. a=sendrecv
  434.  
  435. 2023-04-28 12:51:08.036155 83.87% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/25@alpha.astppbilling.org:5078] has been answered
  436. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_channel.c:3950 (sofia/default/25@alpha.astppbilling.org:5078) Callstate Change RINGING -> ACTIVE
  437. 2023-04-28 12:51:08.036155 83.87% [DEBUG] sofia.c:7499 Channel sofia/default/25@alpha.astppbilling.org:5078 entering state [completed][200]
  438. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/776565655] Peer UUID: 89346afe-33dc-45dd-a581-92d8a4517631
  439. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/776565655) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  440. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/776565655) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 101)
  441. 2023-04-28 12:51:08.036155 83.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/776565655) State EXCHANGE_MEDIA
  442. 2023-04-28 12:51:08.036155 83.87% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  443. 2023-04-28 12:51:08.216208 83.87% [DEBUG] switch_ivr_bridge.c:655 sofia/default/776565655 Bridge execute app sched_hangup(+1620 normal_clearing)
  444. 2023-04-28 12:51:08.216208 83.87% [DEBUG] switch_ivr.c:632 sofia/default/776565655 Command Execute [depth=0] sched_hangup(+1620 normal_clearing)
  445. EXECUTE [depth=0] sofia/default/776565655 sched_hangup(+1620 normal_clearing)
  446. 2023-04-28 12:51:08.216208 83.87% [DEBUG] switch_scheduler.c:263 Added task 52 switch_ivr_schedule_hangup (89346afe-33dc-45dd-a581-92d8a4517631) to run at 1682687888
  447. 2023-04-28 12:51:08.276156 83.87% [DEBUG] sofia.c:7499 Channel sofia/default/25@alpha.astppbilling.org:5078 entering state [ready][200]
  448. 2023-04-28 12:51:08.296153 83.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  449. 2023-04-28 12:51:08.436154 83.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  450. 2023-04-28 12:51:16.216193 83.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [10@alpha.astppbilling.org] from ip 103.240.35.46
  451. 2023-04-28 12:51:16.456148 83.03% [WARNING] sofia_reg.c:3223 Can't find user [10@alpha.astppbilling.org] from 103.240.35.46
  452. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="10" attribute
  453. and you must configure your device to use the proper domain in its authentication credentials.
  454. 2023-04-28 12:51:21.296152 82.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [21@alpha2.astppbilling.org] from ip 103.240.35.46
  455. 2023-04-28 12:51:21.516166 82.83% [WARNING] sofia_reg.c:3223 Can't find user [21@alpha2.astppbilling.org] from 103.240.35.46
  456. You must define a domain called 'alpha2.astppbilling.org' in your directory and add a user with the id="21" attribute
  457. and you must configure your device to use the proper domain in its authentication credentials.
  458. 2023-04-28 12:51:22.036162 82.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [11@alpha2.astppbilling.org] from ip 103.240.35.46
  459. 2023-04-28 12:51:22.276151 82.73% [WARNING] sofia_reg.c:3223 Can't find user [11@alpha2.astppbilling.org] from 103.240.35.46
  460. You must define a domain called 'alpha2.astppbilling.org' in your directory and add a user with the id="11" attribute
  461. and you must configure your device to use the proper domain in its authentication credentials.
  462. 2023-04-28 12:51:34.336425 82.93% [NOTICE] sofia.c:1065 Hangup sofia/default/25@alpha.astppbilling.org:5078 [CS_EXECUTE] [NORMAL_CLEARING]
  463. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/25@alpha.astppbilling.org:5078]
  464. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_ivr_bridge.c:820 sofia/default/25@alpha.astppbilling.org:5078 ending bridge by request from write function
  465. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/776565655]
  466. 2023-04-28 12:51:34.336425 82.93% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/776565655 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  467. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/776565655) State EXCHANGE_MEDIA going to sleep
  468. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/776565655) Running State Change CS_HANGUP (Cur 2 Tot 101)
  469. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/776565655) Callstate Change ACTIVE -> HANGUP
  470. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/776565655) State HANGUP
  471. 2023-04-28 12:51:34.336425 82.93% [DEBUG] mod_sofia.c:462 sofia/default/776565655 Overriding SIP cause 480 with 200 from the other leg
  472. 2023-04-28 12:51:34.336425 82.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/776565655 hanging up, cause: NORMAL_CLEARING
  473. 2023-04-28 12:51:34.336425 82.93% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/776565655
  474. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/776565655 skip receive message [UNBRIDGE] (channel is hungup already)
  475. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/25@alpha.astppbilling.org:5078 skip receive message [UNBRIDGE] (channel is hungup already)
  476. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/776565655 Standard HANGUP, cause: NORMAL_CLEARING
  477. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/776565655) State HANGUP going to sleep
  478. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/776565655) State Change CS_HANGUP -> CS_REPORTING
  479. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/776565655) Running State Change CS_REPORTING (Cur 2 Tot 101)
  480. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/776565655) State REPORTING
  481. 2023-04-28 12:51:34.336425 82.93% [INFO] mod_json_cdr.c:271 Process [89346afe-33dc-45dd-a581-92d8a4517631.cdr.json]
  482. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_session.c:2983 sofia/default/25@alpha.astppbilling.org:5078 skip receive message [PHONE_EVENT] (channel is hungup already)
  483. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/25@alpha.astppbilling.org:5078) State EXECUTE going to sleep
  484. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/25@alpha.astppbilling.org:5078) Running State Change CS_HANGUP (Cur 2 Tot 101)
  485. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/25@alpha.astppbilling.org:5078) Callstate Change ACTIVE -> HANGUP
  486. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/25@alpha.astppbilling.org:5078) State HANGUP
  487. 2023-04-28 12:51:34.336425 82.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/25@alpha.astppbilling.org:5078 hanging up, cause: NORMAL_CLEARING
  488. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/25@alpha.astppbilling.org:5078 Standard HANGUP, cause: NORMAL_CLEARING
  489. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/25@alpha.astppbilling.org:5078) State HANGUP going to sleep
  490. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/25@alpha.astppbilling.org:5078) State Change CS_HANGUP -> CS_REPORTING
  491. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/25@alpha.astppbilling.org:5078) Running State Change CS_REPORTING (Cur 2 Tot 101)
  492. 2023-04-28 12:51:34.336425 82.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/25@alpha.astppbilling.org:5078) State REPORTING
  493. 2023-04-28 12:51:34.336425 82.93% [INFO] mod_json_cdr.c:271 Process [37837ae6-8852-4729-94bc-861daadd5776.cdr.json]
  494. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/776565655 Standard REPORTING, cause: NORMAL_CLEARING
  495. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/776565655) State REPORTING going to sleep
  496. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/776565655) State Change CS_REPORTING -> CS_DESTROY
  497. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_session.c:1753 Session 101 (sofia/default/776565655) Locked, Waiting on external entities
  498. 2023-04-28 12:51:34.376165 82.93% [NOTICE] switch_core_session.c:1771 Session 101 (sofia/default/776565655) Ended
  499. 2023-04-28 12:51:34.376165 82.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/776565655 [CS_DESTROY]
  500. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/776565655) Running State Change CS_DESTROY (Cur 1 Tot 101)
  501. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/776565655) State DESTROY
  502. 2023-04-28 12:51:34.376165 82.93% [DEBUG] mod_sofia.c:379 sofia/default/776565655 SOFIA DESTROY
  503. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/776565655 Standard DESTROY
  504. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/776565655) State DESTROY going to sleep
  505. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/25@alpha.astppbilling.org:5078 Standard REPORTING, cause: NORMAL_CLEARING
  506. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/25@alpha.astppbilling.org:5078) State REPORTING going to sleep
  507. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/25@alpha.astppbilling.org:5078) State Change CS_REPORTING -> CS_DESTROY
  508. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_session.c:1753 Session 100 (sofia/default/25@alpha.astppbilling.org:5078) Locked, Waiting on external entities
  509. 2023-04-28 12:51:34.376165 82.93% [NOTICE] switch_core_session.c:1771 Session 100 (sofia/default/25@alpha.astppbilling.org:5078) Ended
  510. 2023-04-28 12:51:34.376165 82.93% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/25@alpha.astppbilling.org:5078 [CS_DESTROY]
  511. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/25@alpha.astppbilling.org:5078) Running State Change CS_DESTROY (Cur 0 Tot 101)
  512. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/25@alpha.astppbilling.org:5078) State DESTROY
  513. 2023-04-28 12:51:34.376165 82.93% [DEBUG] mod_sofia.c:379 sofia/default/25@alpha.astppbilling.org:5078 SOFIA DESTROY
  514. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/25@alpha.astppbilling.org:5078 Standard DESTROY
  515. 2023-04-28 12:51:34.376165 82.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/25@alpha.astppbilling.org:5078) State DESTROY going to sleep
  516. 2023-04-28 12:51:34.736146 82.20% [DEBUG] switch_scheduler.c:147 Deleting task 52 switch_ivr_schedule_hangup (89346afe-33dc-45dd-a581-92d8a4517631)
  517. freeswitch@AlphaQA> /exit