From Prashant Kumar, 8 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-03-28 11:26:50.010527 92.13% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1096719402@alpha.astppbilling.org [7cbcfcdb-d8cd-4817-863e-229193e2c217]
  2. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1096719402@alpha.astppbilling.org) Running State Change CS_NEW (Cur 3 Tot 28)
  3. 2024-03-28 11:26:50.010527 92.13% [INFO] sofia.c:10459 sofia/default/1096719402@alpha.astppbilling.org receiving invite from 95.217.238.195:5060 version: 1.10.10-release  64bit call-id: DLGCH_ADQvBh4OBSkWGiheHiQJZgIkIBkKMzdmFiQgXgkjCSkVNygXCSMeOwJCPEA-
  4. 2024-03-28 11:26:50.010527 92.13% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 95.217.238.195:0.
  5. 2024-03-28 11:26:50.010527 92.13% [DEBUG] sofia.c:10582 IP 95.217.238.195 Approved by acl "default[]". Access Granted.
  6. 2024-03-28 11:26:50.010527 92.13% [DEBUG] sofia.c:7493 Channel sofia/default/1096719402@alpha.astppbilling.org entering state [received][100]
  7. 2024-03-28 11:26:50.010527 92.13% [DEBUG] sofia.c:7503 Remote SDP:
  8. v=0
  9. o=Z 0 0 IN IP4 95.217.238.195
  10. s=Z
  11. c=IN IP4 95.217.238.195
  12. t=0 0
  13. m=audio 30850 RTP/AVP 3 110 8 0 98 101
  14. a=rtpmap:3 GSM/8000
  15. a=rtpmap:110 speex/8000
  16. a=rtpmap:8 PCMA/8000
  17. a=rtpmap:0 PCMU/8000
  18. a=rtpmap:98 iLBC/8000
  19. a=fmtp:98 mode=20
  20. a=rtpmap:101 telephone-event/8000
  21. a=fmtp:101 0-15
  22. a=rtcp:30851
  23.  
  24. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  26. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  27. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  28. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  30. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  31. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  34. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  35. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  36. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  37. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1096719402@alpha.astppbilling.org PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  38. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_codec.c:111 sofia/default/1096719402@alpha.astppbilling.org Original read codec set to PCMA:8
  39. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  40. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_media.c:5856 sofia/default/1096719402@alpha.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101
  41. 2024-03-28 11:26:50.010527 92.13% [DEBUG] sofia.c:7927 (sofia/default/1096719402@alpha.astppbilling.org) State Change CS_NEW -> CS_INIT
  42. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1096719402@alpha.astppbilling.org) State NEW
  43. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1096719402@alpha.astppbilling.org) Running State Change CS_INIT (Cur 3 Tot 28)
  44. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1096719402@alpha.astppbilling.org) State INIT
  45. 2024-03-28 11:26:50.010527 92.13% [DEBUG] mod_sofia.c:97 sofia/default/1096719402@alpha.astppbilling.org SOFIA INIT
  46. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/1096719402@alpha.astppbilling.org Standard INIT
  47. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1096719402@alpha.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  48. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1096719402@alpha.astppbilling.org) State INIT going to sleep
  49. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1096719402@alpha.astppbilling.org) Running State Change CS_ROUTING (Cur 3 Tot 28)
  50. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_channel.c:2399 (sofia/default/1096719402@alpha.astppbilling.org) Callstate Change DOWN -> RINGING
  51. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1096719402@alpha.astppbilling.org) State ROUTING
  52. 2024-03-28 11:26:50.010527 92.13% [DEBUG] mod_sofia.c:158 sofia/default/1096719402@alpha.astppbilling.org SOFIA ROUTING
  53. 2024-03-28 11:26:50.010527 92.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/1096719402@alpha.astppbilling.org Standard ROUTING
  54. 2024-03-28 11:26:50.010527 92.13% [INFO] mod_dialplan_xml.c:639 Processing 1096719402 <1096719402>->10404040404 in context default
  55. 2024-03-28 11:26:50.010527 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  56. 2024-03-28 11:26:50.030519 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  57. 2024-03-28 11:26:50.030519 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  58. 2024-03-28 11:26:50.030519 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2024-03-28 11:26:50.030519 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10404040404
  60. 2024-03-28 11:26:50.030519 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10404040404' AND status=0 limit 1
  61. 2024-03-28 11:26:50.030519 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1096719402
  62. 2024-03-28 11:26:50.030519 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2024-03-28 11:26:50.030519 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '10404040404' limit 1
  64. 2024-03-28 11:26:50.030519 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : <null> / 1096719402
  65. 2024-03-28 11:26:50.030519 92.13% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10404040404" LIMIT 1
  66. 2024-03-28 11:26:50.030519 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2024-03-28 11:26:50.030519 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10404040404" limit 1
  68. 2024-03-28 11:26:50.030519 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  69. 2024-03-28 11:26:50.030519 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 152.58.190.207
  70. 2024-03-28 11:26:50.030519 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  71. 2024-03-28 11:26:50.030519 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  72. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10404040404.*' OR blocked_patterns = '^1040404040.*' OR blocked_patterns = '^104040404.*' OR blocked_patterns = '^10404040.*' OR blocked_patterns = '^1040404.*' OR blocked_patterns = '^104040.*' OR blocked_patterns = '^10404.*' OR blocked_patterns = '^1040.*' OR blocked_patterns = '^104.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  73. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="10404040404" AND (accountid = 0 OR status = 1) LIMIT 1
  74. 2024-03-28 11:26:50.050521 92.13% [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 = '^10404040404.*' OR patterns = '^1040404040.*' OR patterns = '^104040404.*' OR patterns = '^10404040.*' OR patterns = '^1040404.*' OR patterns = '^104040.*' OR patterns = '^10404.*' OR patterns = '^1040.*' OR patterns = '^104.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  75. 2024-03-28 11:26:50.050521 92.13% [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 ="10404040404" AND A.accountid = '2' limit 1
  76. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10404040404
  77. 2024-03-28 11:26:50.050521 92.13% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10404040404" LIMIT 1
  78. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  79. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10404040404" limit 1
  80. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  81. 2024-03-28 11:26:50.050521 92.13% [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 = '10404040404' OR number = '1040404040' OR number = '104040404' OR number = '10404040' OR number = '1040404' OR number = '104040' OR number = '10404' OR number = '1040' OR number = '104' OR number = '10' OR number = '1' OR number ='--') OR (number = '10404040404*' OR number = '1040404040*' OR number = '104040404*' OR number = '10404040*' OR number = '1040404*' OR number = '104040*' OR number = '10404*' OR number = '1040*' OR number = '104*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '1096719402' OR number = '109671940' OR number = '10967194' OR number = '1096719' OR number = '109671' OR number = '10967' OR number = '1096' OR number = '109' OR number = '10' OR number = '1' OR number ='--') OR (number = '1096719402*' OR number = '109671940*' OR number = '10967194*' OR number = '1096719*' OR number = '109671*' OR number = '10967*' OR number = '1096*' OR number = '109*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  82. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  83. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10404040404' OR routing_prefix = '1040404040' OR routing_prefix = '104040404' OR routing_prefix = '10404040' OR routing_prefix = '1040404' OR routing_prefix = '104040' OR routing_prefix = '10404' OR routing_prefix = '1040' OR routing_prefix = '104' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  84. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  85. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  86. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  87. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9985.8
  88. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  89. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  90. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  91. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  92. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  93. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  94. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  95. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^10404040404.*' OR pattern = '^1040404040.*' OR pattern = '^104040404.*' OR pattern = '^10404040.*' OR pattern = '^1040404.*' OR pattern = '^104040.*' OR pattern = '^10404.*' OR pattern = '^1040.*' OR pattern = '^104.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^1096719402.*' OR caller_id_pattern = '^109671940.*' OR caller_id_pattern = '^10967194.*' OR caller_id_pattern = '^1096719.*' OR caller_id_pattern = '^109671.*' OR caller_id_pattern = '^10967.*' OR caller_id_pattern = '^1096.*' OR caller_id_pattern = '^109.*' 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 = 1 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  96. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  97. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  98. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  99. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  100. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  101. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2000000000
  102. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  103. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  104. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  105. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  106. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  107. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  108. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9985.8 balance Accountid 2 !!!
  109. 2024-03-28 11:26:50.050521 92.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  110. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  111. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  112. 2024-03-28 11:26:50.050521 92.13% [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
  113. 2024-03-28 11:26:50.050521 92.13% [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 = '^10404040404.*' OR pattern = '^1040404040.*' OR pattern = '^104040404.*' OR pattern = '^10404040.*' OR pattern = '^1040404.*' OR pattern = '^104040.*' OR pattern = '^10404.*' OR pattern = '^1040.*' OR pattern = '^104.*' OR pattern = '^10.*' OR pattern = '^1.*' 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
  114. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  115. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  116. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  117. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  118. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  119. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  120. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  121. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  122. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  123. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  124. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  125. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  126. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  127. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  128. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  129. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  130. 2024-03-28 11:26:50.050521 92.13% [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 = 2 AND status=0 LIMIT 1
  131. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  132. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '1096719402' and status = 0 limit 1
  133. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  134. 2024-03-28 11:26:50.050521 92.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  135. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  136. 2024-03-28 11:26:50.050521 92.13% [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
  137. 2024-03-28 11:26:50.050521 92.13% [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
  138. 2024-03-28 11:26:50.050521 92.13% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10404040404" LIMIT 1
  139. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  140. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  141. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  142. <document type="freeswitch/xml">
  143. <section name="dialplan" description="ASTPP Dialplan">
  144. <context name="default">
  145. <extension name="10404040404">
  146. <condition field="destination_number" expression="10404040404">
  147. <action application="set" data="effective_destination_number=10404040404"/>
  148. <action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
  149. <action application="set" data="type=0"/>
  150. <action application="set" data="callstart=2024-03-28 11:26:50"/>
  151. <action application="set" data="hangup_after_bridge=true"/>
  152. <action application="set" data="continue_on_fail=TRUE"/>
  153. <action application="set" data="account_id=2"/>
  154. <action application="set" data="parent_id=0"/>
  155. <action application="set" data="entity_id=0"/>
  156. <action application="set" data="call_processed=internal"/>
  157. <action application="set" data="call_direction=outbound"/>
  158. <action application="set" data="accountname=default"/>
  159. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2"/>
  160. <action application="set" data="original_caller_id_number=1096719402"/>
  161.  
  162. <action application="export" data="is_recording=1"/>
  163. <action application="export" data="media_bug_answer_req=true"/>
  164. <action application="export" data="record_sample_rate=8000"/>
  165. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
  166. <action application="set" data="continue_on_fail=TRUE"/>
  167. <action application="set" data="effective_caller_id_number=1096719402"/>
  168. <action application="set" data="calltype=STANDARD"/>
  169. <action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
  170. <action application="set" data="trunk_id=1"/>
  171. <action application="set" data="provider_id=3"/>
  172. <action application="set" data="rate_flag=0"/>
  173. <action application="set" data="daily_call_credit_limit=0.00000"/>
  174. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  175. <action application="set" data="daily_call_used_limit=0.00000"/>
  176. <action application="set" data="monthly_call_used_limit=0.00000"/>
  177. <action application="set" data="quality_trunk_seq=1"/>
  178. <action application="set" data="force_trunk_flag=0"/>
  179. <action application="export" data="presence_data=trunk_id=1"/>
  180. <action application="set" data="intcall=0"/>
  181. <action application="export" data="presence_id=10404040404"/>
  182. <action application="export" data="presence_data=x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||152.58.190.207"/>
  183. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10404040404;fs_path=sip:95.217.238.195:5060"/>
  184. </condition>
  185. </extension>
  186. </context>
  187. </section>
  188. </document>
  189. Dialplan: sofia/default/1096719402@alpha.astppbilling.org parsing [default->10404040404] continue=false
  190. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Regex (PASS) [10404040404] destination_number(10404040404) =~ /10404040404/ break=on-false
  191. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(effective_destination_number=10404040404)
  192. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  193. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(type=0)
  194. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(callstart=2024-03-28 11:26:50)
  195. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(hangup_after_bridge=true)
  196. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(continue_on_fail=TRUE)
  197. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(account_id=2)
  198. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(parent_id=0)
  199. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(entity_id=0)
  200. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(call_processed=internal)
  201. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(call_direction=outbound)
  202. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(accountname=default)
  203. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
  204. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(original_caller_id_number=1096719402)
  205. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action export(is_recording=1)
  206. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action export(media_bug_answer_req=true)
  207. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action export(record_sample_rate=8000)
  208. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  209. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(continue_on_fail=TRUE)
  210. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(effective_caller_id_number=1096719402)
  211. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(calltype=STANDARD)
  212. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  213. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(trunk_id=1)
  214. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(provider_id=3)
  215. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(rate_flag=0)
  216. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(daily_call_credit_limit=0.00000)
  217. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(monthly_call_credit_limit=0.00000)
  218. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(daily_call_used_limit=0.00000)
  219. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(monthly_call_used_limit=0.00000)
  220. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(quality_trunk_seq=1)
  221. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(force_trunk_flag=0)
  222. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action export(presence_data=trunk_id=1)
  223. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action set(intcall=0)
  224. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action export(presence_id=10404040404)
  225. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action export(presence_data=x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||152.58.190.207)
  226. Dialplan: sofia/default/1096719402@alpha.astppbilling.org Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10404040404;fs_path=sip:95.217.238.195:5060)
  227. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1096719402@alpha.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
  228. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1096719402@alpha.astppbilling.org) State ROUTING going to sleep
  229. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1096719402@alpha.astppbilling.org) Running State Change CS_EXECUTE (Cur 3 Tot 28)
  230. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1096719402@alpha.astppbilling.org) State EXECUTE
  231. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_sofia.c:213 sofia/default/1096719402@alpha.astppbilling.org SOFIA EXECUTE
  232. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/1096719402@alpha.astppbilling.org Standard EXECUTE
  233. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(effective_destination_number=10404040404)
  234. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [effective_destination_number]=[10404040404]
  235. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  236. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
  237. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(type=0)
  238. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [type]=[0]
  239. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(callstart=2024-03-28 11:26:50)
  240. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [callstart]=[2024-03-28 11:26:50]
  241. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(hangup_after_bridge=true)
  242. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [hangup_after_bridge]=[true]
  243. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(continue_on_fail=TRUE)
  244. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [continue_on_fail]=[TRUE]
  245. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(account_id=2)
  246. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [account_id]=[2]
  247. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(parent_id=0)
  248. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [parent_id]=[0]
  249. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(entity_id=0)
  250. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [entity_id]=[0]
  251. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(call_processed=internal)
  252. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [call_processed]=[internal]
  253. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(call_direction=outbound)
  254. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [call_direction]=[outbound]
  255. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(accountname=default)
  256. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [accountname]=[default]
  257. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
  258. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2]
  259. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(original_caller_id_number=1096719402)
  260. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [original_caller_id_number]=[1096719402]
  261. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org export(is_recording=1)
  262. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  263. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org export(media_bug_answer_req=true)
  264. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  265. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org export(record_sample_rate=8000)
  266. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  267. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/7cbcfcdb-d8cd-4817-863e-229193e2c217.wav)
  268. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/7cbcfcdb-d8cd-4817-863e-229193e2c217.wav]
  269. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(continue_on_fail=TRUE)
  270. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [continue_on_fail]=[TRUE]
  271. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(effective_caller_id_number=1096719402)
  272. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [effective_caller_id_number]=[1096719402]
  273. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(calltype=STANDARD)
  274. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [calltype]=[STANDARD]
  275. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  276. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  277. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(trunk_id=1)
  278. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [trunk_id]=[1]
  279. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(provider_id=3)
  280. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [provider_id]=[3]
  281. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(rate_flag=0)
  282. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [rate_flag]=[0]
  283. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(daily_call_credit_limit=0.00000)
  284. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [daily_call_credit_limit]=[0.00000]
  285. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(monthly_call_credit_limit=0.00000)
  286. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [monthly_call_credit_limit]=[0.00000]
  287. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(daily_call_used_limit=0.00000)
  288. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [daily_call_used_limit]=[0.00000]
  289. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(monthly_call_used_limit=0.00000)
  290. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [monthly_call_used_limit]=[0.00000]
  291. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(quality_trunk_seq=1)
  292. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [quality_trunk_seq]=[1]
  293. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(force_trunk_flag=0)
  294. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [force_trunk_flag]=[0]
  295. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org export(presence_data=trunk_id=1)
  296. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  297. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org set(intcall=0)
  298. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_dptools.c:1671 SET sofia/default/1096719402@alpha.astppbilling.org [intcall]=[0]
  299. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org export(presence_id=10404040404)
  300. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[10404040404]
  301. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org export(presence_data=x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||152.58.190.207)
  302. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||152.58.190.207]
  303. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10404040404;fs_path=sip:95.217.238.195:5060)
  304. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1288 sofia/default/1096719402@alpha.astppbilling.org EXPORTING[export_vars] [is_recording]=[1] to event
  305. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1288 sofia/default/1096719402@alpha.astppbilling.org EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  306. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1288 sofia/default/1096719402@alpha.astppbilling.org EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  307. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1288 sofia/default/1096719402@alpha.astppbilling.org EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/7cbcfcdb-d8cd-4817-863e-229193e2c217.wav] to event
  308. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1288 sofia/default/1096719402@alpha.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||152.58.190.207] to event
  309. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1288 sofia/default/1096719402@alpha.astppbilling.org EXPORTING[export_vars] [presence_id]=[10404040404] to event
  310. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_channel.c:1288 sofia/default/1096719402@alpha.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||152.58.190.207] to event
  311. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  312. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  313. 2024-03-28 11:26:50.050521 92.13% [NOTICE] switch_channel.c:1142 New Channel sofia/default/10404040404 [d6982b57-f6cf-4569-8eb7-84bc38df262d]
  314. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_sofia.c:5110 (sofia/default/10404040404) State Change CS_NEW -> CS_INIT
  315. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_ivr_originate.c:3167 sofia/default/10404040404 Setting leg timeout to 30
  316. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10404040404) Running State Change CS_INIT (Cur 4 Tot 29)
  317. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10404040404) State INIT
  318. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_sofia.c:97 sofia/default/10404040404 SOFIA INIT
  319. 2024-03-28 11:26:50.050521 92.13% [DEBUG] sofia_glue.c:1628 sip:95.217.238.195:5060 Setting proxy route to sofia/default/10404040404
  320. 2024-03-28 11:26:50.050521 92.13% [INFO] sofia_glue.c:1659 sofia/default/10404040404 sending invite call-id: (null)
  321. 2024-03-28 11:26:50.050521 92.13% [DEBUG] sofia_glue.c:1662 sofia/default/10404040404 sending invite version: 1.10.10-release  64bit
  322. Local SDP:
  323. v=0
  324. o=FreeSWITCH 1711601820 1711601821 IN IP4 95.217.238.195
  325. s=FreeSWITCH
  326. c=IN IP4 95.217.238.195
  327. t=0 0
  328. m=audio 23390 RTP/AVP 8 18 101
  329. a=rtpmap:8 PCMA/8000
  330. a=rtpmap:18 G729/8000
  331. a=rtpmap:101 telephone-event/8000
  332. a=fmtp:101 0-15
  333. a=ptime:20
  334. a=sendrecv
  335.  
  336. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/10404040404 Standard INIT
  337. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/10404040404) State Change CS_INIT -> CS_ROUTING
  338. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10404040404) State INIT going to sleep
  339. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10404040404) Running State Change CS_ROUTING (Cur 4 Tot 29)
  340. 2024-03-28 11:26:50.050521 92.13% [DEBUG] sofia.c:7493 Channel sofia/default/10404040404 entering state [calling][0]
  341. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10404040404) State ROUTING
  342. 2024-03-28 11:26:50.050521 92.13% [DEBUG] mod_sofia.c:158 sofia/default/10404040404 SOFIA ROUTING
  343. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_ivr_originate.c:67 (sofia/default/10404040404) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  344. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10404040404) State ROUTING going to sleep
  345. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10404040404) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 29)
  346. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10404040404) State CONSUME_MEDIA
  347. 2024-03-28 11:26:50.050521 92.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10404040404) State CONSUME_MEDIA going to sleep
  348. 2024-03-28 11:26:50.230533 92.13% [DEBUG] switch_rtp.c:6933 Correct audio RTCP ip/port confirmed.
  349. 2024-03-28 11:26:50.290590 92.13% [DEBUG] sofia.c:7493 Channel sofia/default/10404040404 entering state [proceeding][180]
  350. 2024-03-28 11:26:50.290590 92.13% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/10404040404!
  351. 2024-03-28 11:26:50.290590 92.13% [DEBUG] switch_channel.c:3513 (sofia/default/10404040404) Callstate Change DOWN -> RINGING
  352. 2024-03-28 11:26:50.290590 92.13% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/1096719402@alpha.astppbilling.org!
  353. 2024-03-28 11:26:50.290590 92.13% [DEBUG] sofia.c:7493 Channel sofia/default/1096719402@alpha.astppbilling.org entering state [early][180]
  354. 2024-03-28 11:26:50.290590 92.13% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/1096719402@alpha.astppbilling.org!
  355. 2024-03-28 11:26:51.210554 91.63% [DEBUG] switch_rtp.c:6933 Correct audio RTCP ip/port confirmed.
  356. 2024-03-28 11:26:55.310577 91.43% [DEBUG] sofia.c:7493 Channel sofia/default/10404040404 entering state [proceeding][183]
  357. 2024-03-28 11:26:55.310577 91.43% [DEBUG] sofia.c:7503 Remote SDP:
  358. v=0
  359. o=root 902410589 902410589 IN IP4 95.217.238.195
  360. s=Asterisk PBX 18.20.0
  361. c=IN IP4 95.217.238.195
  362. t=0 0
  363. m=audio 30886 RTP/AVP 8 101
  364. c=IN IP4 95.217.238.195
  365. a=rtpmap:8 PCMA/8000
  366. a=rtpmap:101 telephone-event/8000
  367. a=fmtp:101 0-16
  368. a=maxptime:150
  369. a=rtcp:30887
  370. a=ptime:20
  371. m=audio 30886 RTP/AVP 8 101
  372. a=rtpmap:8 PCMA/8000
  373. a=rtpmap:101 telephone-event/8000
  374. a=fmtp:101 0-16
  375. a=maxptime:150
  376. a=rtcp:30887
  377. a=ptime:20
  378.  
  379. 2024-03-28 11:26:55.310577 91.43% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/10404040404!
  380. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_channel.c:3585 (sofia/default/10404040404) Callstate Change RINGING -> EARLY
  381. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  382. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  383. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  384. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  385. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/10404040404 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  386. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_codec.c:111 sofia/default/10404040404 Original read codec set to PCMA:8
  387. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  388. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:5856 sofia/default/10404040404 Set 2833 dtmf send payload to 101 recv payload to 101
  389. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/10404040404] 95.217.238.195 port 23390 -> 95.217.238.195 port 30886 codec: 8 ms: 20
  390. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  391. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:8880 Activating RTCP PORT 30887
  392. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_rtp.c:4705 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 30887
  393. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_rtp.c:2533 Setting RTCP remote addr to 95.217.238.195:30887 2
  394. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:8972 sofia/default/10404040404 Set 2833 dtmf send payload to 101
  395. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:8979 sofia/default/10404040404 Set 2833 dtmf receive payload to 101
  396. 2024-03-28 11:26:55.310577 91.43% [DEBUG] switch_core_media.c:9002 sofia/default/10404040404 Set rtp dtmf delay to 40
  397. 2024-03-28 11:26:55.330526 91.43% [INFO] switch_ivr_originate.c:3858 Sending early media
  398. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/1096719402@alpha.astppbilling.org] 95.217.238.195 port 32262 -> 95.217.238.195 port 30850 codec: 8 ms: 20
  399. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  400. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_core_media.c:8880 Activating RTCP PORT 30851
  401. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_rtp.c:4705 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 30851
  402. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_rtp.c:2533 Setting RTCP remote addr to 95.217.238.195:30851 2
  403. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_core_media.c:8972 sofia/default/1096719402@alpha.astppbilling.org Set 2833 dtmf send payload to 101
  404. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_core_media.c:8979 sofia/default/1096719402@alpha.astppbilling.org Set 2833 dtmf receive payload to 101
  405. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_core_media.c:9002 sofia/default/1096719402@alpha.astppbilling.org Set rtp dtmf delay to 40
  406. 2024-03-28 11:26:55.330526 91.43% [DEBUG] mod_sofia.c:2607 Ring SDP:
  407. v=0
  408. o=FreeSWITCH 1711592953 1711592954 IN IP4 95.217.238.195
  409. s=FreeSWITCH
  410. c=IN IP4 95.217.238.195
  411. t=0 0
  412. m=audio 32262 RTP/AVP 8 101
  413. a=rtpmap:8 PCMA/8000
  414. a=rtpmap:101 telephone-event/8000
  415. a=fmtp:101 0-15
  416. a=ptime:20
  417. a=sendrecv
  418. a=rtcp:32263 IN IP4 95.217.238.195
  419.  
  420. 2024-03-28 11:26:55.330526 91.43% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/1096719402@alpha.astppbilling.org!
  421. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_channel.c:3585 (sofia/default/1096719402@alpha.astppbilling.org) Callstate Change RINGING -> EARLY
  422. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/10404040404] Peer UUID: d6982b57-f6cf-4569-8eb7-84bc38df262d
  423. 2024-03-28 11:26:55.330526 91.43% [DEBUG] sofia.c:7493 Channel sofia/default/1096719402@alpha.astppbilling.org entering state [early][183]
  424. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/10404040404) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  425. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10404040404) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 29)
  426. 2024-03-28 11:26:55.330526 91.43% [DEBUG] switch_core_state_machine.c:650 (sofia/default/10404040404) State EXCHANGE_MEDIA
  427. 2024-03-28 11:26:55.330526 91.43% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
  428. 2024-03-28 11:26:55.710543 91.43% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  429. 2024-03-28 11:26:55.750556 91.43% [DEBUG] switch_rtp.c:1774 rtcp_stats_init: audio ssrc[1370069087] base_seq[41913]
  430. 2024-03-28 11:26:58.010568 90.13% [DEBUG] switch_rtp.c:6933 Correct audio RTCP ip/port confirmed.
  431. 2024-03-28 11:27:00.910540 90.43% [DEBUG] switch_rtp.c:6933 Correct audio RTCP ip/port confirmed.
  432. 2024-03-28 11:27:05.310567 89.67% [DEBUG] sofia.c:7493 Channel sofia/default/10404040404 entering state [completing][200]
  433. 2024-03-28 11:27:05.310567 89.67% [DEBUG] sofia.c:7500 Duplicate SDP
  434. v=0
  435. o=root 902410589 902410589 IN IP4 95.217.238.195
  436. s=Asterisk PBX 18.20.0
  437. c=IN IP4 95.217.238.195
  438. t=0 0
  439. m=audio 30886 RTP/AVP 8 101
  440. c=IN IP4 95.217.238.195
  441. a=rtpmap:8 PCMA/8000
  442. a=rtpmap:101 telephone-event/8000
  443. a=fmtp:101 0-16
  444. a=maxptime:150
  445. a=rtcp:30887
  446. a=ptime:20
  447. m=audio 30886 RTP/AVP 8 101
  448. a=rtpmap:8 PCMA/8000
  449. a=rtpmap:101 telephone-event/8000
  450. a=fmtp:101 0-16
  451. a=maxptime:150
  452. a=rtcp:30887
  453. a=ptime:20
  454.  
  455. 2024-03-28 11:27:05.330548 89.67% [DEBUG] switch_rtp.c:1774 rtcp_stats_init: audio ssrc[1018983374] base_seq[28001]
  456. 2024-03-28 11:27:05.330548 89.67% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  457. 2024-03-28 11:27:05.330548 89.67% [DEBUG] sofia.c:7493 Channel sofia/default/10404040404 entering state [ready][200]
  458. 2024-03-28 11:27:05.330548 89.67% [NOTICE] sofia.c:8622 Channel [sofia/default/10404040404] has been answered
  459. EXECUTE [depth=0] sofia/default/10404040404 record_session(/usr/local/freeswitch/recordings/7cbcfcdb-d8cd-4817-863e-229193e2c217.wav)
  460. 2024-03-28 11:27:05.350528 89.67% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000
  461. 2024-03-28 11:27:05.350528 89.67% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/10404040404
  462. 2024-03-28 11:27:05.350528 89.67% [DEBUG] switch_channel.c:3912 (sofia/default/10404040404) Callstate Change EARLY -> ACTIVE
  463. 2024-03-28 11:27:05.350528 89.67% [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/default/1096719402@alpha.astppbilling.org.
  464. 2024-03-28 11:27:05.350528 89.67% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/1096719402@alpha.astppbilling.org:
  465. v=0
  466. o=FreeSWITCH 1711592953 1711592955 IN IP4 95.217.238.195
  467. s=FreeSWITCH
  468. c=IN IP4 95.217.238.195
  469. t=0 0
  470. m=audio 32262 RTP/AVP 8 101
  471. a=rtpmap:8 PCMA/8000
  472. a=rtpmap:101 telephone-event/8000
  473. a=fmtp:101 0-15
  474. a=ptime:20
  475. a=sendrecv
  476. a=rtcp:32263 IN IP4 95.217.238.195
  477.  
  478. 2024-03-28 11:27:05.350528 89.67% [NOTICE] switch_ivr_bridge.c:730 Channel [sofia/default/1096719402@alpha.astppbilling.org] has been answered
  479. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org sched_hangup(+6000 normal_clearing)
  480. 2024-03-28 11:27:05.350528 89.67% [DEBUG] sofia.c:7493 Channel sofia/default/1096719402@alpha.astppbilling.org entering state [completed][200]
  481. 2024-03-28 11:27:05.350528 89.67% [DEBUG] switch_scheduler.c:263 Added task 13 switch_ivr_schedule_hangup (7cbcfcdb-d8cd-4817-863e-229193e2c217) to run at 1711631225
  482. EXECUTE [depth=0] sofia/default/1096719402@alpha.astppbilling.org record_session(/usr/local/freeswitch/recordings/7cbcfcdb-d8cd-4817-863e-229193e2c217.wav)
  483. 2024-03-28 11:27:05.350528 89.67% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech
  484. 2024-03-28 11:27:05.370510 89.67% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000
  485. 2024-03-28 11:27:05.370510 89.67% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/1096719402@alpha.astppbilling.org
  486. 2024-03-28 11:27:05.370510 89.67% [DEBUG] switch_channel.c:3912 (sofia/default/1096719402@alpha.astppbilling.org) Callstate Change EARLY -> ACTIVE
  487. 2024-03-28 11:27:05.370510 89.67% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech
  488. 2024-03-28 11:27:05.390511 89.67% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  489. 2024-03-28 11:27:05.390511 89.67% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  490. 2024-03-28 11:27:05.390511 89.67% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  491. 2024-03-28 11:27:05.390511 89.67% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  492. 2024-03-28 11:27:05.570521 89.67% [DEBUG] sofia.c:7493 Channel sofia/default/1096719402@alpha.astppbilling.org entering state [ready][200]
  493. 2024-03-28 11:27:05.910593 89.53% [DEBUG] switch_rtp.c:6933 Correct audio RTCP ip/port confirmed.
  494. 2024-03-28 11:27:08.530548 90.13% [DEBUG] switch_rtp.c:6933 Correct audio RTCP ip/port confirmed.
  495. 2024-03-28 11:27:14.090528 89.83% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  496. 2024-03-28 11:27:14.110517 89.83% [NOTICE] switch_channel.c:1142 New Channel sofia/default/5936001354@127.0.0.1:5060 [8fa37be3-7bff-4d88-a9dc-bfea3fa58c69]
  497. 2024-03-28 11:27:14.110517 89.83% [DEBUG] mod_sofia.c:5110 (sofia/default/5936001354@127.0.0.1:5060) State Change CS_NEW -> CS_INIT
  498. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5936001354@127.0.0.1:5060) Running State Change CS_INIT (Cur 5 Tot 30)
  499. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5936001354@127.0.0.1:5060) State INIT
  500. 2024-03-28 11:27:14.110517 89.83% [DEBUG] mod_sofia.c:97 sofia/default/5936001354@127.0.0.1:5060 SOFIA INIT
  501. 2024-03-28 11:27:14.110517 89.83% [INFO] sofia_glue.c:1659 sofia/default/5936001354@127.0.0.1:5060 sending invite call-id: (null)
  502. 2024-03-28 11:27:14.110517 89.83% [DEBUG] sofia_glue.c:1662 sofia/default/5936001354@127.0.0.1:5060 sending invite version: 1.10.10-release  64bit
  503. Local SDP:
  504. v=0
  505. o=FreeSWITCH 1711596404 1711596405 IN IP4 95.217.238.195
  506. s=FreeSWITCH
  507. c=IN IP4 95.217.238.195
  508. t=0 0
  509. m=audio 28830 RTP/AVP 8 0 101
  510. a=rtpmap:8 PCMA/8000
  511. a=rtpmap:0 PCMU/8000
  512. a=rtpmap:101 telephone-event/8000
  513. a=fmtp:101 0-15
  514. a=ptime:20
  515. a=sendrecv
  516.  
  517. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/5936001354@127.0.0.1:5060 Standard INIT
  518. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5936001354@127.0.0.1:5060) State Change CS_INIT -> CS_ROUTING
  519. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5936001354@127.0.0.1:5060) State INIT going to sleep
  520. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5936001354@127.0.0.1:5060) Running State Change CS_ROUTING (Cur 5 Tot 30)
  521. 2024-03-28 11:27:14.110517 89.83% [DEBUG] sofia.c:7493 Channel sofia/default/5936001354@127.0.0.1:5060 entering state [calling][0]
  522. 2024-03-28 11:27:14.110517 89.83% [DEBUG] sofia.c:7493 Channel sofia/default/5936001354@127.0.0.1:5060 entering state [terminated][503]
  523. 2024-03-28 11:27:14.110517 89.83% [NOTICE] sofia.c:8735 Hangup sofia/default/5936001354@127.0.0.1:5060 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
  524. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5936001354@127.0.0.1:5060) State ROUTING
  525. 2024-03-28 11:27:14.110517 89.83% [DEBUG] mod_sofia.c:158 sofia/default/5936001354@127.0.0.1:5060 SOFIA ROUTING
  526. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5936001354@127.0.0.1:5060) State ROUTING going to sleep
  527. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5936001354@127.0.0.1:5060) Running State Change CS_HANGUP (Cur 5 Tot 30)
  528. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5936001354@127.0.0.1:5060) Callstate Change DOWN -> HANGUP
  529. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5936001354@127.0.0.1:5060) State HANGUP
  530. 2024-03-28 11:27:14.110517 89.83% [DEBUG] mod_sofia.c:469 Channel sofia/default/5936001354@127.0.0.1:5060 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  531. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/5936001354@127.0.0.1:5060 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  532. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5936001354@127.0.0.1:5060) State HANGUP going to sleep
  533. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5936001354@127.0.0.1:5060) State Change CS_HANGUP -> CS_REPORTING
  534. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5936001354@127.0.0.1:5060) Running State Change CS_REPORTING (Cur 5 Tot 30)
  535. 2024-03-28 11:27:14.110517 89.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5936001354@127.0.0.1:5060) State REPORTING
  536. 2024-03-28 11:27:14.110517 89.83% [INFO] mod_json_cdr.c:272 Process [8fa37be3-7bff-4d88-a9dc-bfea3fa58c69.cdr.json]
  537. 2024-03-28 11:27:14.130517 89.83% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  538. 2024-03-28 11:27:14.130517 89.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/5936001354@127.0.0.1:5060 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  539. 2024-03-28 11:27:14.130517 89.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5936001354@127.0.0.1:5060) State REPORTING going to sleep
  540. 2024-03-28 11:27:14.130517 89.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5936001354@127.0.0.1:5060) State Change CS_REPORTING -> CS_DESTROY
  541. 2024-03-28 11:27:14.130517 89.83% [DEBUG] switch_core_session.c:1744 Session 30 (sofia/default/5936001354@127.0.0.1:5060) Locked, Waiting on external entities
  542. 2024-03-28 11:27:14.130517 89.83% [NOTICE] switch_core_session.c:1762 Session 30 (sofia/default/5936001354@127.0.0.1:5060) Ended
  543. 2024-03-28 11:27:14.130517 89.83% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/5936001354@127.0.0.1:5060 [CS_DESTROY]
  544. 2024-03-28 11:27:14.130517 89.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5936001354@127.0.0.1:5060) Running State Change CS_DESTROY (Cur 4 Tot 30)
  545. 2024-03-28 11:27:14.130517 89.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5936001354@127.0.0.1:5060) State DESTROY
  546. 2024-03-28 11:27:14.130517 89.83% [DEBUG] mod_sofia.c:380 sofia/default/5936001354@127.0.0.1:5060 SOFIA DESTROY
  547. 2024-03-28 11:27:14.130517 89.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/5936001354@127.0.0.1:5060 Standard DESTROY
  548. 2024-03-28 11:27:14.130517 89.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5936001354@127.0.0.1:5060) State DESTROY going to sleep
  549. freeswitch@v6> /exit
  550.  
  551. root@v6:~#
  552.