From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2. [This app Best viewed at 160x60 or more..]
  3. +OK log level  [7]
  4. 2023-03-28 12:07:25.224160 86.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8611335909@alpha2.astppbilling.org:5078 [9dc8376b-1c92-4fcf-9b04-397f5424d7bc]
  5. 2023-03-28 12:07:25.224160 86.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Running State Change CS_NEW (Cur 1 Tot 119)
  6. 2023-03-28 12:07:25.224160 86.33% [INFO] sofia.c:10462 sofia/default/8611335909@alpha2.astppbilling.org:5078 receiving invite from 103.240.35.46:54462 version: 1.10.7 -release 64bit call-id: ODBjMmZlYzExOTllMmJjMjIwYTAyN2Y1NTBjYzJkNjA.
  7. 2023-03-28 12:07:25.224160 86.33% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  8. 2023-03-28 12:07:25.224160 86.33% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [97000303030@alpha2.astppbilling.org] from ip 103.240.35.46
  9. 2023-03-28 12:07:25.224160 86.33% [DEBUG] sofia.c:2419 detaching session 9dc8376b-1c92-4fcf-9b04-397f5424d7bc
  10. 2023-03-28 12:07:25.224160 86.33% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State NEW
  11. 2023-03-28 12:07:25.904197 86.30% [DEBUG] sofia.c:2532 Re-attaching to session 9dc8376b-1c92-4fcf-9b04-397f5424d7bc
  12. 2023-03-28 12:07:25.924140 86.30% [INFO] sofia.c:10462 sofia/default/8611335909@alpha2.astppbilling.org:5078 receiving invite from 103.240.35.46:54462 version: 1.10.7 -release 64bit call-id: ODBjMmZlYzExOTllMmJjMjIwYTAyN2Y1NTBjYzJkNjA.
  13. 2023-03-28 12:07:25.924140 86.30% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  14. 2023-03-28 12:07:25.944156 86.30% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  15. 2023-03-28 12:07:25.944156 86.30% [DEBUG] sofia.c:7499 Channel sofia/default/8611335909@alpha2.astppbilling.org:5078 entering state [received][100]
  16. 2023-03-28 12:07:25.944156 86.30% [DEBUG] sofia.c:7509 Remote SDP:
  17. v=0
  18. o=Z 0 0 IN IP4 103.240.35.46
  19. s=Z
  20. c=IN IP4 103.240.35.46
  21. t=0 0
  22. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  23. a=rtpmap:110 speex/8000
  24. a=rtpmap:98 iLBC/8000
  25. a=fmtp:98 mode=20
  26. a=rtpmap:101 telephone-event/8000
  27. a=fmtp:101 0-15
  28.  
  29. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  30. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  31. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  32. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  33. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  35. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  42. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8611335909@alpha2.astppbilling.org:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  43. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_codec.c:111 sofia/default/8611335909@alpha2.astppbilling.org:5078 Original read codec set to PCMA:8
  44. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  45. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_media.c:5973 sofia/default/8611335909@alpha2.astppbilling.org:5078 Set 2833 dtmf send payload to 101 recv payload to 101
  46. 2023-03-28 12:07:25.944156 86.30% [DEBUG] sofia.c:7933 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State Change CS_NEW -> CS_INIT
  47. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Running State Change CS_INIT (Cur 1 Tot 119)
  48. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State INIT
  49. 2023-03-28 12:07:25.944156 86.30% [DEBUG] mod_sofia.c:97 sofia/default/8611335909@alpha2.astppbilling.org:5078 SOFIA INIT
  50. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/8611335909@alpha2.astppbilling.org:5078 Standard INIT
  51. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State Change CS_INIT -> CS_ROUTING
  52. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State INIT going to sleep
  53. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Running State Change CS_ROUTING (Cur 1 Tot 119)
  54. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_channel.c:2380 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Callstate Change DOWN -> RINGING
  55. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State ROUTING
  56. 2023-03-28 12:07:25.944156 86.30% [DEBUG] mod_sofia.c:158 sofia/default/8611335909@alpha2.astppbilling.org:5078 SOFIA ROUTING
  57. 2023-03-28 12:07:25.944156 86.30% [DEBUG] switch_core_state_machine.c:230 sofia/default/8611335909@alpha2.astppbilling.org:5078 Standard ROUTING
  58. 2023-03-28 12:07:25.944156 86.30% [INFO] mod_dialplan_xml.c:639 Processing 8611335909 <8611335909>->97000303030 in context default
  59. 2023-03-28 12:07:25.964156 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  60. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  61. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  62. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2023-03-28 12:07:25.964156 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  64. 2023-03-28 12:07:25.964156 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 97000303030
  65. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '97000303030' limit 1
  66. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  67. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '97000303030' and status=0 LIMIT 1
  68. 2023-03-28 12:07:25.964156 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER8611335909
  69. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '97000303030' limit 1
  71. 2023-03-28 12:07:25.964156 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8611335909 / 8611335909
  72. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 03030
  73. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 970003 AND status=0 limit 1
  74. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  75. 2023-03-28 12:07:25.964156 86.30% [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="97000303030"  AND domains.domain="alpha2.astppbilling.org" limit 1
  76. 2023-03-28 12:07:25.964156 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  77. 2023-03-28 12:07:25.964156 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2086278794]
  78. 2023-03-28 12:07:25.964156 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2086278794" AND deleted = 0 limit 1
  79. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^97000303030.*' OR blocked_patterns = '^9700030303.*' OR blocked_patterns = '^970003030.*' OR blocked_patterns = '^97000303.*' OR blocked_patterns = '^9700030.*' OR blocked_patterns = '^970003.*' OR blocked_patterns = '^97000.*' OR blocked_patterns = '^9700.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 170 limit 1
  80. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  81. 2023-03-28 12:07:25.984129 86.30% [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 = '^97000303030.*' OR patterns = '^9700030303.*' OR patterns = '^970003030.*' OR patterns = '^97000303.*' OR patterns = '^9700030.*' OR patterns = '^970003.*' OR patterns = '^97000.*' OR patterns = '^9700.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 170 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2023-03-28 12:07:25.984129 86.30% [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 ="97000303030" AND A.accountid = '170' limit 1
  83. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 97000303030
  84. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  85. 2023-03-28 12:07:25.984129 86.30% [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="97000303030"  AND domains.domain="alpha2.astppbilling.org" limit 1
  86. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  87. 2023-03-28 12:07:25.984129 86.30% [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 = '97000303030' OR number = '9700030303' OR number = '970003030' OR number = '97000303' OR number = '9700030' OR number = '970003' OR number = '97000' OR number = '9700' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '97000303030*' OR number = '9700030303*' OR number = '970003030*' OR number = '97000303*' OR number = '9700030*' OR number = '970003*' OR number = '97000*' OR number = '9700*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '8611335909' OR number = '861133590' OR number = '86113359' OR number = '8611335' OR number = '861133' OR number = '86113' OR number = '8611' OR number = '861' OR number = '86' OR number = '8' OR number ='--') OR (number = '8611335909*' OR number = '861133590*' OR number = '86113359*' OR number = '8611335*' OR number = '861133*' OR number = '86113*' OR number = '8611*' OR number = '861*' OR number = '86*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  88. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '97000303030' OR routing_prefix = '9700030303' OR routing_prefix = '970003030' OR routing_prefix = '97000303' OR routing_prefix = '9700030' OR routing_prefix = '970003' OR routing_prefix = '97000' OR routing_prefix = '9700' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  90. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 170
  92. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2086278794
  93. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 5
  94. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  95. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  96. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  97. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  98. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  99. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  100. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  101. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  102. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  103. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^97000303030.*' OR pattern = '^9700030303.*' OR pattern = '^970003030.*' OR pattern = '^97000303.*' OR pattern = '^9700030.*' OR pattern = '^970003.*' OR pattern = '^97000.*' OR pattern = '^9700.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND (caller_id_pattern = '^8611335909.*' OR caller_id_pattern = '^861133590.*' OR caller_id_pattern = '^86113359.*' OR caller_id_pattern = '^8611335.*' OR caller_id_pattern = '^861133.*' OR caller_id_pattern = '^86113.*' OR caller_id_pattern = '^8611.*' OR caller_id_pattern = '^861.*' OR caller_id_pattern = '^86.*' OR caller_id_pattern = '^8.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=170)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  104. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  105. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  106. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.20000
  107. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  108. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  109. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.20000
  110. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  111. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 67
  112. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  113. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  114. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
  115. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : QA pk
  116. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 156
  117. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 170
  118. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  119. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  120. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  121. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:67|CODE:^97.*|DESTINATION:QA pk|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:156|ACCID:170!!!
  122. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your5 balance Accountid 170 !!!
  123. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 4.1666666666667 minutes
  124. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  125. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  126. 2023-03-28 12:07:25.984129 86.30% [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 = '^97000303030.*' OR pattern = '^9700030303.*' OR pattern = '^970003030.*' OR pattern = '^97000303.*' OR pattern = '^9700030.*' OR pattern = '^970003.*' OR pattern = '^97000.*' OR pattern = '^9700.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' 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
  127. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  128. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 34
  129. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  130. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : QAA
  131. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  132. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  133. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  134. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  135. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  136. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  137. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  138. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  139. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  140. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  141. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  142. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  143. 2023-03-28 12:07:25.984129 86.30% [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 = 170 AND status=0 LIMIT 1
  144. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 4.1666666666667
  145. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  146. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  147. 2023-03-28 12:07:25.984129 86.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  148. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  149. 2023-03-28 12:07:25.984129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  150. 2023-03-28 12:07:25.984129 86.30% [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
  151. 2023-03-28 12:07:26.004129 86.30% [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
  152. 2023-03-28 12:07:26.004129 86.30% [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 ="97000303030" LIMIT 1
  153. 2023-03-28 12:07:26.004129 86.30% [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 ="97000303030" LIMIT 1
  154. 2023-03-28 12:07:26.004129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  155. 2023-03-28 12:07:26.004129 86.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  156. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  157. <document type="freeswitch/xml">
  158. <section name="dialplan" description="ASTPP Dialplan">
  159. <context name="default">
  160. <extension name="97000303030">
  161. <condition field="destination_number" expression="97000303030">
  162. <action application="set" data="effective_destination_number=97000303030"/>
  163. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  164. <action application="set" data="bridge_pre_execute_bleg_data=+250 normal_clearing"/>
  165. <action application="set" data="notify_flag=0"/>
  166. <action application="set" data="notify_credit_limit=5.00000"/>
  167. <action application="set" data="type=0"/>
  168. <action application="set" data="callstart=2023-03-28 12:07:25"/>
  169. <action application="set" data="hangup_after_bridge=true"/>
  170. <action application="set" data="continue_on_fail=TRUE"/>
  171. <action application="set" data="account_id=170"/>
  172. <action application="set" data="parent_id=0"/>
  173. <action application="set" data="entity_id=0"/>
  174. <action application="set" data="call_processed=internal"/>
  175. <action application="set" data="call_direction=outbound"/>
  176. <action application="set" data="accountname=default"/>
  177. <action application="export" data="t38_passthru=true"/>
  178. <action application="set" data="fax_enable_t38=true"/>
  179. <action application="set" data="fax_enable_t38_request=true"/>
  180. <action application="sleep" data="1000"/>
  181. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav"/>
  182. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  183. <action application="say" data="en CURRENCY PRONOUNCED 5"/>
  184. <action application="set" data="origination_rates=SHADOWBILLING:0|ID:67|CODE:^97.*|DESTINATION:QA pk|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:156|ACCID:170"/>
  185. <action application="set" data="original_caller_id_name=8611335909"/>
  186. <action application="set" data="original_caller_id_number=8611335909"/>
  187.  
  188. <action application="set" data="effective_caller_id_name=8611335909"/>
  189. <action application="set" data="effective_caller_id_number=8611335909"/>
  190. <action application="set" data="calltype=STANDARD"/>
  191. <action application="set" data="termination_rates=ID:34|CODE:^97.*|DESTINATION:QAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3"/>
  192. <action application="set" data="trunk_id=1"/>
  193. <action application="set" data="provider_id=3"/>
  194. <action application="set" data="rate_flag=0"/>
  195. <action application="set" data="daily_call_credit_limit=0.00000"/>
  196. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  197. <action application="set" data="daily_call_used_limit=0.00000"/>
  198. <action application="set" data="monthly_call_used_limit=0.00000"/>
  199. <action application="set" data="quality_trunk_seq=1"/>
  200. <action application="set" data="force_trunk_flag=0"/>
  201. <action application="export" data="presence_data=trunk_id=1"/>
  202. <action application="set" data="intcall=0"/>
  203. <action application="export" data="presence_id=97000303030"/>
  204. <action application="export" data="presence_data=x|||Nirali(2086278794)|||^97.* // QA pk // 1.20000 |||YourTrunk // ^97.* // QAA // 0.60000 // trunk_id=1|||STD|||103.240.35.46"/>
  205. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/97000303030"/>
  206. </condition>
  207. </extension>
  208. </context>
  209. </section>
  210. </document>
  211. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 parsing [default->97000303030] continue=false
  212. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Regex (PASS) [97000303030] destination_number(97000303030) =~ /97000303030/ break=on-false
  213. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(effective_destination_number=97000303030)
  214. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  215. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_data=+250 normal_clearing)
  216. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(notify_flag=0)
  217. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(notify_credit_limit=5.00000)
  218. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(type=0)
  219. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(callstart=2023-03-28 12:07:25)
  220. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(hangup_after_bridge=true)
  221. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(continue_on_fail=TRUE)
  222. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(account_id=170)
  223. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(parent_id=0)
  224. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(entity_id=0)
  225. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(call_processed=internal)
  226. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(call_direction=outbound)
  227. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(accountname=default)
  228. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action export(t38_passthru=true)
  229. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(fax_enable_t38=true)
  230. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(fax_enable_t38_request=true)
  231. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action sleep(1000)
  232. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  233. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(ringback=%(2000,4000,440.0,480.0))
  234. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action say(en CURRENCY PRONOUNCED 5)
  235. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(origination_rates=SHADOWBILLING:0|ID:67|CODE:^97.*|DESTINATION:QA pk|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:156|ACCID:170)
  236. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(original_caller_id_name=8611335909)
  237. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(original_caller_id_number=8611335909)
  238. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(effective_caller_id_name=8611335909)
  239. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(effective_caller_id_number=8611335909)
  240. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(calltype=STANDARD)
  241. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(termination_rates=ID:34|CODE:^97.*|DESTINATION:QAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  242. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(trunk_id=1)
  243. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(provider_id=3)
  244. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(rate_flag=0)
  245. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(daily_call_credit_limit=0.00000)
  246. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(monthly_call_credit_limit=0.00000)
  247. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(daily_call_used_limit=0.00000)
  248. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(monthly_call_used_limit=0.00000)
  249. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(quality_trunk_seq=1)
  250. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(force_trunk_flag=0)
  251. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action export(presence_data=trunk_id=1)
  252. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action set(intcall=0)
  253. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action export(presence_id=97000303030)
  254. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action export(presence_data=x|||Nirali(2086278794)|||^97.* // QA pk // 1.20000 |||YourTrunk // ^97.* // QAA // 0.60000 // trunk_id=1|||STD|||103.240.35.46)
  255. Dialplan: sofia/default/8611335909@alpha2.astppbilling.org:5078 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/97000303030)
  256. 2023-03-28 12:07:26.004129 86.30% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State Change CS_ROUTING -> CS_EXECUTE
  257. 2023-03-28 12:07:26.004129 86.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State ROUTING going to sleep
  258. 2023-03-28 12:07:26.004129 86.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Running State Change CS_EXECUTE (Cur 1 Tot 119)
  259. 2023-03-28 12:07:26.004129 86.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State EXECUTE
  260. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_sofia.c:213 sofia/default/8611335909@alpha2.astppbilling.org:5078 SOFIA EXECUTE
  261. 2023-03-28 12:07:26.004129 86.30% [DEBUG] switch_core_state_machine.c:323 sofia/default/8611335909@alpha2.astppbilling.org:5078 Standard EXECUTE
  262. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(effective_destination_number=97000303030)
  263. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [effective_destination_number]=[97000303030]
  264. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(bridge_pre_execute_bleg_app=sched_hangup)
  265. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [bridge_pre_execute_bleg_app]=[sched_hangup]
  266. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(bridge_pre_execute_bleg_data=+250 normal_clearing)
  267. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [bridge_pre_execute_bleg_data]=[+250 normal_clearing]
  268. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(notify_flag=0)
  269. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [notify_flag]=[0]
  270. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(notify_credit_limit=5.00000)
  271. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [notify_credit_limit]=[5.00000]
  272. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(type=0)
  273. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [type]=[0]
  274. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(callstart=2023-03-28 12:07:25)
  275. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [callstart]=[2023-03-28 12:07:25]
  276. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(hangup_after_bridge=true)
  277. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [hangup_after_bridge]=[true]
  278. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(continue_on_fail=TRUE)
  279. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [continue_on_fail]=[TRUE]
  280. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(account_id=170)
  281. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [account_id]=[170]
  282. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(parent_id=0)
  283. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [parent_id]=[0]
  284. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(entity_id=0)
  285. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [entity_id]=[0]
  286. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(call_processed=internal)
  287. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [call_processed]=[internal]
  288. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(call_direction=outbound)
  289. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [call_direction]=[outbound]
  290. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(accountname=default)
  291. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [accountname]=[default]
  292. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 export(t38_passthru=true)
  293. 2023-03-28 12:07:26.004129 86.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  294. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(fax_enable_t38=true)
  295. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [fax_enable_t38]=[true]
  296. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(fax_enable_t38_request=true)
  297. 2023-03-28 12:07:26.004129 86.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [fax_enable_t38_request]=[true]
  298. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 sleep(1000)
  299. 2023-03-28 12:07:27.004159 86.40% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/8611335909@alpha2.astppbilling.org:5078
  300. 2023-03-28 12:07:27.004159 86.40% [INFO] switch_core_session.c:2797 Sending early media
  301. 2023-03-28 12:07:27.004159 86.40% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/8611335909@alpha2.astppbilling.org:5078] 95.217.238.195 port 29522 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  302. 2023-03-28 12:07:27.004159 86.40% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  303. 2023-03-28 12:07:27.004159 86.40% [DEBUG] switch_core_media.c:9089 sofia/default/8611335909@alpha2.astppbilling.org:5078 Set 2833 dtmf send payload to 101
  304. 2023-03-28 12:07:27.004159 86.40% [DEBUG] switch_core_media.c:9096 sofia/default/8611335909@alpha2.astppbilling.org:5078 Set 2833 dtmf receive payload to 101
  305. 2023-03-28 12:07:27.004159 86.40% [DEBUG] switch_core_media.c:9119 sofia/default/8611335909@alpha2.astppbilling.org:5078 Set rtp dtmf delay to 40
  306. 2023-03-28 12:07:27.004159 86.40% [DEBUG] mod_sofia.c:2610 Ring SDP:
  307. v=0
  308. o=FreeSWITCH 1679975725 1679975726 IN IP4 95.217.238.195
  309. s=FreeSWITCH
  310. c=IN IP4 95.217.238.195
  311. t=0 0
  312. m=audio 29522 RTP/AVP 8 101
  313. a=rtpmap:8 PCMA/8000
  314. a=rtpmap:101 telephone-event/8000
  315. a=fmtp:101 0-15
  316. a=ptime:20
  317. a=sendrecv
  318.  
  319. 2023-03-28 12:07:27.004159 86.40% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/8611335909@alpha2.astppbilling.org:5078!
  320. 2023-03-28 12:07:27.004159 86.40% [DEBUG] switch_channel.c:3622 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Callstate Change RINGING -> EARLY
  321. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  322. 2023-03-28 12:07:27.004159 86.40% [DEBUG] sofia.c:7499 Channel sofia/default/8611335909@alpha2.astppbilling.org:5078 entering state [early][183]
  323. 2023-03-28 12:07:27.024173 86.40% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000
  324. 2023-03-28 12:07:27.024173 86.40% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  325. 2023-03-28 12:07:27.444156 86.40% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  326. 2023-03-28 12:07:28.324158 86.53% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  327. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(ringback=%(2000,4000,440.0,480.0))
  328. 2023-03-28 12:07:28.324158 86.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [ringback]=[%(2000,4000,440.0,480.0)]
  329. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 say(en CURRENCY PRONOUNCED 5)
  330. 2023-03-28 12:07:28.344153 86.53% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  331. 2023-03-28 12:07:29.624151 86.47% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/5.wav!currency/dollars.wav
  332. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(origination_rates=SHADOWBILLING:0|ID:67|CODE:^97.*|DESTINATION:QA pk|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:156|ACCID:170)
  333. 2023-03-28 12:07:29.624151 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [origination_rates]=[SHADOWBILLING:0|ID:67|CODE:^97.*|DESTINATION:QA pk|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:156|ACCID:170]
  334. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(original_caller_id_name=8611335909)
  335. 2023-03-28 12:07:29.624151 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [original_caller_id_name]=[8611335909]
  336. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(original_caller_id_number=8611335909)
  337. 2023-03-28 12:07:29.624151 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [original_caller_id_number]=[8611335909]
  338. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(effective_caller_id_name=8611335909)
  339. 2023-03-28 12:07:29.624151 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [effective_caller_id_name]=[8611335909]
  340. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(effective_caller_id_number=8611335909)
  341. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [effective_caller_id_number]=[8611335909]
  342. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(calltype=STANDARD)
  343. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [calltype]=[STANDARD]
  344. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(termination_rates=ID:34|CODE:^97.*|DESTINATION:QAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  345. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [termination_rates]=[ID:34|CODE:^97.*|DESTINATION:QAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3]
  346. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(trunk_id=1)
  347. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [trunk_id]=[1]
  348. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(provider_id=3)
  349. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [provider_id]=[3]
  350. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(rate_flag=0)
  351. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [rate_flag]=[0]
  352. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(daily_call_credit_limit=0.00000)
  353. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [daily_call_credit_limit]=[0.00000]
  354. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(monthly_call_credit_limit=0.00000)
  355. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [monthly_call_credit_limit]=[0.00000]
  356. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(daily_call_used_limit=0.00000)
  357. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [daily_call_used_limit]=[0.00000]
  358. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(monthly_call_used_limit=0.00000)
  359. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [monthly_call_used_limit]=[0.00000]
  360. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(quality_trunk_seq=1)
  361. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [quality_trunk_seq]=[1]
  362. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(force_trunk_flag=0)
  363. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [force_trunk_flag]=[0]
  364. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 export(presence_data=trunk_id=1)
  365. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  366. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 set(intcall=0)
  367. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/8611335909@alpha2.astppbilling.org:5078 [intcall]=[0]
  368. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 export(presence_id=97000303030)
  369. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[97000303030]
  370. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 export(presence_data=x|||Nirali(2086278794)|||^97.* // QA pk // 1.20000 |||YourTrunk // ^97.* // QAA // 0.60000 // trunk_id=1|||STD|||103.240.35.46)
  371. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Nirali(2086278794)|||^97.* // QA pk // 1.20000 |||YourTrunk // ^97.* // QAA // 0.60000 // trunk_id=1|||STD|||103.240.35.46]
  372. EXECUTE [depth=0] sofia/default/8611335909@alpha2.astppbilling.org:5078 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/97000303030)
  373. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_channel.c:1269 sofia/default/8611335909@alpha2.astppbilling.org:5078 EXPORTING[export_vars] [t38_passthru]=[true] to event
  374. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_channel.c:1269 sofia/default/8611335909@alpha2.astppbilling.org:5078 EXPORTING[export_vars] [presence_data]=[x|||Nirali(2086278794)|||^97.* // QA pk // 1.20000 |||YourTrunk // ^97.* // QAA // 0.60000 // trunk_id=1|||STD|||103.240.35.46] to event
  375. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_channel.c:1269 sofia/default/8611335909@alpha2.astppbilling.org:5078 EXPORTING[export_vars] [presence_id]=[97000303030] to event
  376. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_channel.c:1269 sofia/default/8611335909@alpha2.astppbilling.org:5078 EXPORTING[export_vars] [presence_data]=[x|||Nirali(2086278794)|||^97.* // QA pk // 1.20000 |||YourTrunk // ^97.* // QAA // 0.60000 // trunk_id=1|||STD|||103.240.35.46] to event
  377. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  378. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  379. 2023-03-28 12:07:29.644137 86.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/97000303030 [d74cbe21-37ea-4bbc-addb-413a4ec9685c]
  380. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_sofia.c:5121 (sofia/default/97000303030) State Change CS_NEW -> CS_INIT
  381. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_ivr_originate.c:3151 sofia/default/97000303030 Setting leg timeout to 30
  382. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/97000303030) Running State Change CS_INIT (Cur 2 Tot 120)
  383. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/97000303030) State INIT
  384. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_sofia.c:97 sofia/default/97000303030 SOFIA INIT
  385. 2023-03-28 12:07:29.644137 86.47% [INFO] sofia_glue.c:1651 sofia/default/97000303030 sending invite call-id: (null)
  386. 2023-03-28 12:07:29.644137 86.47% [DEBUG] sofia_glue.c:1654 sofia/default/97000303030 sending invite version: 1.10.7 -release 64bit
  387. Local SDP:
  388. v=0
  389. o=FreeSWITCH 1679987217 1679987218 IN IP4 95.217.238.195
  390. s=FreeSWITCH
  391. c=IN IP4 95.217.238.195
  392. t=0 0
  393. m=audio 18032 RTP/AVP 8 18 101
  394. a=rtpmap:8 PCMA/8000
  395. a=rtpmap:18 G729/8000
  396. a=rtpmap:101 telephone-event/8000
  397. a=fmtp:101 0-15
  398. a=ptime:20
  399. a=sendrecv
  400.  
  401. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/97000303030 Standard INIT
  402. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/97000303030) State Change CS_INIT -> CS_ROUTING
  403. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/97000303030) State INIT going to sleep
  404. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/97000303030) Running State Change CS_ROUTING (Cur 2 Tot 120)
  405. 2023-03-28 12:07:29.644137 86.47% [DEBUG] sofia.c:7499 Channel sofia/default/97000303030 entering state [calling][0]
  406. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/97000303030) State ROUTING
  407. 2023-03-28 12:07:29.644137 86.47% [DEBUG] mod_sofia.c:158 sofia/default/97000303030 SOFIA ROUTING
  408. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/97000303030) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  409. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/97000303030) State ROUTING going to sleep
  410. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/97000303030) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 120)
  411. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/97000303030) State CONSUME_MEDIA
  412. 2023-03-28 12:07:29.644137 86.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/97000303030) State CONSUME_MEDIA going to sleep
  413. 2023-03-28 12:07:29.744151 86.27% [DEBUG] sofia.c:7499 Channel sofia/default/97000303030 entering state [completing][200]
  414. 2023-03-28 12:07:29.744151 86.27% [DEBUG] sofia.c:7509 Remote SDP:
  415. v=0
  416. o=root 580026697 580026697 IN IP4 159.203.131.36
  417. s=Asterisk PBX 16.4.0
  418. c=IN IP4 159.203.131.36
  419. t=0 0
  420. m=audio 11354 RTP/AVP 8 101
  421. a=rtpmap:8 PCMA/8000
  422. a=rtpmap:101 telephone-event/8000
  423. a=fmtp:101 0-16
  424. a=maxptime:150
  425.  
  426. 2023-03-28 12:07:29.744151 86.27% [DEBUG] sofia.c:7499 Channel sofia/default/97000303030 entering state [ready][200]
  427. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  428. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  429. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  430. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  431. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/97000303030 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  432. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_core_codec.c:111 sofia/default/97000303030 Original read codec set to PCMA:8
  433. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  434. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_core_media.c:5973 sofia/default/97000303030 Set 2833 dtmf send payload to 101 recv payload to 101
  435. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/97000303030] 95.217.238.195 port 18032 -> 159.203.131.36 port 11354 codec: 8 ms: 20
  436. 2023-03-28 12:07:29.744151 86.27% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  437. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_core_media.c:9089 sofia/default/97000303030 Set 2833 dtmf send payload to 101
  438. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_core_media.c:9096 sofia/default/97000303030 Set 2833 dtmf receive payload to 101
  439. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_core_media.c:9119 sofia/default/97000303030 Set rtp dtmf delay to 40
  440. 2023-03-28 12:07:29.764155 86.27% [NOTICE] sofia.c:8683 Channel [sofia/default/97000303030] has been answered
  441. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_channel.c:3950 (sofia/default/97000303030) Callstate Change DOWN -> ACTIVE
  442. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/8611335909@alpha2.astppbilling.org:5078.
  443. 2023-03-28 12:07:29.764155 86.27% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/8611335909@alpha2.astppbilling.org:5078:
  444. v=0
  445. o=FreeSWITCH 1679975725 1679975727 IN IP4 95.217.238.195
  446. s=FreeSWITCH
  447. c=IN IP4 95.217.238.195
  448. t=0 0
  449. m=audio 29522 RTP/AVP 8 101
  450. a=rtpmap:8 PCMA/8000
  451. a=rtpmap:101 telephone-event/8000
  452. a=fmtp:101 0-15
  453. a=ptime:20
  454. a=sendrecv
  455.  
  456. 2023-03-28 12:07:29.764155 86.27% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/8611335909@alpha2.astppbilling.org:5078] has been answered
  457. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_channel.c:3950 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Callstate Change EARLY -> ACTIVE
  458. 2023-03-28 12:07:29.764155 86.27% [DEBUG] sofia.c:7499 Channel sofia/default/8611335909@alpha2.astppbilling.org:5078 entering state [completed][200]
  459. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/97000303030] Peer UUID: d74cbe21-37ea-4bbc-addb-413a4ec9685c
  460. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/97000303030) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  461. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/97000303030) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 120)
  462. 2023-03-28 12:07:29.764155 86.27% [DEBUG] switch_core_state_machine.c:650 (sofia/default/97000303030) State EXCHANGE_MEDIA
  463. 2023-03-28 12:07:29.764155 86.27% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  464. 2023-03-28 12:07:29.804147 86.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  465. 2023-03-28 12:07:29.924182 86.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  466. 2023-03-28 12:07:29.944158 86.27% [DEBUG] switch_ivr_bridge.c:655 sofia/default/97000303030 Bridge execute app sched_hangup(+250 normal_clearing)
  467. 2023-03-28 12:07:29.964167 86.27% [DEBUG] switch_ivr.c:632 sofia/default/97000303030 Command Execute [depth=0] sched_hangup(+250 normal_clearing)
  468. EXECUTE [depth=0] sofia/default/97000303030 sched_hangup(+250 normal_clearing)
  469. 2023-03-28 12:07:29.964167 86.27% [DEBUG] switch_scheduler.c:263 Added task 38 switch_ivr_schedule_hangup (d74cbe21-37ea-4bbc-addb-413a4ec9685c) to run at 1680005499
  470. 2023-03-28 12:07:30.064182 86.27% [DEBUG] sofia.c:7499 Channel sofia/default/8611335909@alpha2.astppbilling.org:5078 entering state [ready][200]
  471. 2023-03-28 12:07:35.944206 86.33% [NOTICE] sofia.c:1065 Hangup sofia/default/8611335909@alpha2.astppbilling.org:5078 [CS_EXECUTE] [NORMAL_CLEARING]
  472. 2023-03-28 12:07:35.944206 86.33% [DEBUG] switch_ivr_bridge.c:820 sofia/default/8611335909@alpha2.astppbilling.org:5078 ending bridge by request from write function
  473. 2023-03-28 12:07:35.944206 86.33% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/97000303030]
  474. 2023-03-28 12:07:35.944206 86.33% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/97000303030 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  475. 2023-03-28 12:07:35.944206 86.33% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/8611335909@alpha2.astppbilling.org:5078]
  476. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:650 (sofia/default/97000303030) State EXCHANGE_MEDIA going to sleep
  477. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/97000303030) Running State Change CS_HANGUP (Cur 2 Tot 120)
  478. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:844 (sofia/default/97000303030) Callstate Change ACTIVE -> HANGUP
  479. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/97000303030) State HANGUP
  480. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/97000303030 skip receive message [UNBRIDGE] (channel is hungup already)
  481. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/8611335909@alpha2.astppbilling.org:5078 skip receive message [UNBRIDGE] (channel is hungup already)
  482. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_session.c:2983 sofia/default/8611335909@alpha2.astppbilling.org:5078 skip receive message [PHONE_EVENT] (channel is hungup already)
  483. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State EXECUTE going to sleep
  484. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Running State Change CS_HANGUP (Cur 2 Tot 120)
  485. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Callstate Change ACTIVE -> HANGUP
  486. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State HANGUP
  487. 2023-03-28 12:07:35.964161 86.33% [DEBUG] mod_sofia.c:468 Channel sofia/default/8611335909@alpha2.astppbilling.org:5078 hanging up, cause: NORMAL_CLEARING
  488. 2023-03-28 12:07:35.964161 86.33% [DEBUG] mod_sofia.c:462 sofia/default/97000303030 Overriding SIP cause 480 with 200 from the other leg
  489. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:59 sofia/default/8611335909@alpha2.astppbilling.org:5078 Standard HANGUP, cause: NORMAL_CLEARING
  490. 2023-03-28 12:07:35.964161 86.33% [DEBUG] mod_sofia.c:468 Channel sofia/default/97000303030 hanging up, cause: NORMAL_CLEARING
  491. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State HANGUP going to sleep
  492. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State Change CS_HANGUP -> CS_REPORTING
  493. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Running State Change CS_REPORTING (Cur 2 Tot 120)
  494. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State REPORTING
  495. 2023-03-28 12:07:35.964161 86.33% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/97000303030
  496. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:59 sofia/default/97000303030 Standard HANGUP, cause: NORMAL_CLEARING
  497. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/97000303030) State HANGUP going to sleep
  498. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:616 (sofia/default/97000303030) State Change CS_HANGUP -> CS_REPORTING
  499. 2023-03-28 12:07:35.964161 86.33% [INFO] mod_json_cdr.c:271 Process [9dc8376b-1c92-4fcf-9b04-397f5424d7bc.cdr.json]
  500. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/97000303030) Running State Change CS_REPORTING (Cur 2 Tot 120)
  501. 2023-03-28 12:07:35.964161 86.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/97000303030) State REPORTING
  502. 2023-03-28 12:07:35.964161 86.33% [INFO] mod_json_cdr.c:271 Process [d74cbe21-37ea-4bbc-addb-413a4ec9685c.cdr.json]
  503. 2023-03-28 12:07:35.984135 86.33% [DEBUG] switch_core_state_machine.c:168 sofia/default/97000303030 Standard REPORTING, cause: NORMAL_CLEARING
  504. 2023-03-28 12:07:35.984135 86.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/97000303030) State REPORTING going to sleep
  505. 2023-03-28 12:07:35.984135 86.33% [DEBUG] switch_core_state_machine.c:607 (sofia/default/97000303030) State Change CS_REPORTING -> CS_DESTROY
  506. 2023-03-28 12:07:35.984135 86.33% [DEBUG] switch_core_session.c:1753 Session 120 (sofia/default/97000303030) Locked, Waiting on external entities
  507. 2023-03-28 12:07:35.984135 86.33% [NOTICE] switch_core_session.c:1771 Session 120 (sofia/default/97000303030) Ended
  508. 2023-03-28 12:07:35.984135 86.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/97000303030 [CS_DESTROY]
  509. 2023-03-28 12:07:35.984135 86.33% [DEBUG] switch_core_state_machine.c:735 (sofia/default/97000303030) Running State Change CS_DESTROY (Cur 1 Tot 120)
  510. 2023-03-28 12:07:35.984135 86.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/97000303030) State DESTROY
  511. 2023-03-28 12:07:35.984135 86.33% [DEBUG] mod_sofia.c:379 sofia/default/97000303030 SOFIA DESTROY
  512. 2023-03-28 12:07:35.984135 86.33% [DEBUG] switch_core_state_machine.c:175 sofia/default/97000303030 Standard DESTROY
  513. 2023-03-28 12:07:35.984135 86.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/97000303030) State DESTROY going to sleep
  514. 2023-03-28 12:07:36.004157 86.33% [DEBUG] switch_core_state_machine.c:168 sofia/default/8611335909@alpha2.astppbilling.org:5078 Standard REPORTING, cause: NORMAL_CLEARING
  515. 2023-03-28 12:07:36.004157 86.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State REPORTING going to sleep
  516. 2023-03-28 12:07:36.004157 86.33% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State Change CS_REPORTING -> CS_DESTROY
  517. 2023-03-28 12:07:36.004157 86.33% [DEBUG] switch_core_session.c:1753 Session 119 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Locked, Waiting on external entities
  518. 2023-03-28 12:07:36.004157 86.33% [NOTICE] switch_core_session.c:1771 Session 119 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Ended
  519. 2023-03-28 12:07:36.004157 86.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8611335909@alpha2.astppbilling.org:5078 [CS_DESTROY]
  520. 2023-03-28 12:07:36.004157 86.33% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8611335909@alpha2.astppbilling.org:5078) Running State Change CS_DESTROY (Cur 0 Tot 120)
  521. 2023-03-28 12:07:36.004157 86.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State DESTROY
  522. 2023-03-28 12:07:36.004157 86.33% [DEBUG] mod_sofia.c:379 sofia/default/8611335909@alpha2.astppbilling.org:5078 SOFIA DESTROY
  523. 2023-03-28 12:07:36.004157 86.33% [DEBUG] switch_core_state_machine.c:175 sofia/default/8611335909@alpha2.astppbilling.org:5078 Standard DESTROY
  524. 2023-03-28 12:07:36.004157 86.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8611335909@alpha2.astppbilling.org:5078) State DESTROY going to sleep
  525. 2023-03-28 12:07:36.484157 86.33% [DEBUG] switch_scheduler.c:147 Deleting task 38 switch_ivr_schedule_hangup (d74cbe21-37ea-4bbc-addb-413a4ec9685c)
  526. freeswitch@AlphaQA> /exit
  527.  
  528. root@AlphaQA:/usr/local/freeswitch/recordings#