From Prashant Kumar, 1 Month ago, written in FreeSWITCH.
- view diff
Embed
  1. +OK log level  [7]
  2. freeswitch@v6>
  3. freeswitch@v6>
  4. freeswitch@v6>
  5. 2024-02-29 10:50:44.939061 97.27% [NOTICE] switch_channel.c:1142 New Channel sofia/default/9126103211@3.110.187.230 [8a487cba-56a5-4d5a-b622-e0e981e31966]
  6. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_NEW (Cur 1 Tot 3)
  7. 2024-02-29 10:50:44.939061 97.27% [INFO] sofia.c:10459 sofia/default/9126103211@3.110.187.230 receiving invite from 3.110.187.230:5077 version: 1.10.10-release  64bit call-id: 3b0f7782-5193-123d-67ad-021eb38071a8
  8. 2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 3.110.187.230:0.
  9. 2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:10582 IP 3.110.187.230 Approved by acl "default[]". Access Granted.
  10. 2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [received][100]
  11. 2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:7503 Remote SDP:
  12. v=0
  13. o=FreeSWITCH 1709183358 1709183359 IN IP4 3.110.187.230
  14. s=FreeSWITCH
  15. c=IN IP4 3.110.187.230
  16. t=0 0
  17. m=audio 20486 RTP/AVP 8 18 101
  18. a=rtpmap:8 PCMA/8000
  19. a=rtpmap:18 G729/8000
  20. a=rtpmap:101 telephone-event/8000
  21. a=fmtp:101 0-15
  22. a=ptime:20
  23.  
  24. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  26. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  28. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  29. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  30. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/9126103211@3.110.187.230 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  31. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_codec.c:111 sofia/default/9126103211@3.110.187.230 Original read codec set to PCMA:8
  32. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  33. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5856 sofia/default/9126103211@3.110.187.230 Set 2833 dtmf send payload to 101 recv payload to 101
  34. 2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:7927 (sofia/default/9126103211@3.110.187.230) State Change CS_NEW -> CS_INIT
  35. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9126103211@3.110.187.230) State NEW
  36. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_INIT (Cur 1 Tot 3)
  37. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9126103211@3.110.187.230) State INIT
  38. 2024-02-29 10:50:44.939061 97.27% [DEBUG] mod_sofia.c:97 sofia/default/9126103211@3.110.187.230 SOFIA INIT
  39. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/9126103211@3.110.187.230 Standard INIT
  40. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9126103211@3.110.187.230) State Change CS_INIT -> CS_ROUTING
  41. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9126103211@3.110.187.230) State INIT going to sleep
  42. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 3)
  43. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_channel.c:2399 (sofia/default/9126103211@3.110.187.230) Callstate Change DOWN -> RINGING
  44. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9126103211@3.110.187.230) State ROUTING
  45. 2024-02-29 10:50:44.939061 97.27% [DEBUG] mod_sofia.c:158 sofia/default/9126103211@3.110.187.230 SOFIA ROUTING
  46. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/9126103211@3.110.187.230 Standard ROUTING
  47. 2024-02-29 10:50:44.939061 97.27% [INFO] mod_dialplan_xml.c:639 Processing 9126103211 <9126103211>->100770 in context default
  48. 2024-02-29 10:50:44.939061 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  49. 2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  50. 2024-02-29 10:50:44.959032 97.27% [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')
  51. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  52. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100770
  53. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '100770' AND status=0 limit 1
  54. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ALPHA
  55. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '100770' limit 1
  57. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9126103211 / 9126103211
  58. 2024-02-29 10:50:44.959032 97.27% [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.use_did_as_cid_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 ="100770" LIMIT 1
  59. 2024-02-29 10:50:44.959032 97.27% [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,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 ="100770" LIMIT 1
  60. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  62. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
  63. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="1" and number ="9126103211" and status = '0' LIMIT 1
  64. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  65. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("3.110.187.230") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "100770"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  66. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  67. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  68. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  69. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="100770" AND (accountid = 0 OR status = 1) LIMIT 1
  70. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  71. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2
  72. 2024-02-29 10:50:44.959032 97.27% [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 = '^100770.*' OR patterns = '^10077.*' OR patterns = '^1007.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  73. 2024-02-29 10:50:44.959032 97.27% [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 ="100770" AND A.accountid = '2' limit 1
  74. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100770
  75. 2024-02-29 10:50:44.959032 97.27% [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.use_did_as_cid_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 ="100770" LIMIT 1
  76. 2024-02-29 10:50:44.959032 97.27% [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,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 ="100770" LIMIT 1
  77. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  78. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  79. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
  80. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="1" and number ="9126103211" and status = '0' LIMIT 1
  81. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  82. 2024-02-29 10:50:44.959032 97.27% [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 = '100770' OR number = '10077' OR number = '1007' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100770*' OR number = '10077*' OR number = '1007*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9126103211' OR number = '912610321' OR number = '91261032' OR number = '9126103' OR number = '912610' OR number = '91261' OR number = '9126' OR number = '912' OR number = '91' OR number = '9' OR number ='--') OR (number = '9126103211*' OR number = '912610321*' OR number = '91261032*' OR number = '9126103*' OR number = '912610*' OR number = '91261*' OR number = '9126*' OR number = '912*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  83. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  84. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100770' OR routing_prefix = '10077' OR routing_prefix = '1007' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  85. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  86. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  87. 2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  88. 2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  89. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 976.71
  90. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  91. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  92. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  93. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  94. 2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  95. 2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  96. 2024-02-29 10:50:44.979221 97.27% [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.use_did_as_cid_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 ="100770" LIMIT 1
  97. 2024-02-29 10:50:44.979221 97.27% [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,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 ="100770" LIMIT 1
  98. 2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  99. 2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  100. 2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
  101. 2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="1" and number ="9126103211" and status = '0' LIMIT 1
  102. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  103. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  104. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  105. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  106. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  107. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.77000
  108. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100770
  109. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 124
  110. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  111. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  112. 2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  113. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your976.71 balance Accountid 2 !!!
  114. 2024-02-29 10:50:44.979221 97.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  115. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  116. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  117. 2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  118. 2024-02-29 10:50:44.979221 97.27% [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
  119. 2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
  120. 2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  121. 2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2
  122. 2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2
  123. 2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2
  124. 2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  125. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+ALPHA' and status = 0 limit 1
  126. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  127. 2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  128. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  129. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  130. <document type="freeswitch/xml">
  131. <section name="dialplan" description="ASTPP Dialplan">
  132. <context name="default">
  133. <extension name="100770">
  134. <condition field="destination_number" expression="100770">
  135. <action application="set" data="effective_destination_number=100770"/>
  136. <action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
  137. <action application="set" data="type=0"/>
  138. <action application="set" data="callstart=2024-02-29 10:50:44"/>
  139. <action application="set" data="hangup_after_bridge=true"/>
  140. <action application="set" data="continue_on_fail=TRUE"/>
  141. <action application="set" data="account_id=2"/>
  142. <action application="set" data="parent_id=0"/>
  143. <action application="set" data="entity_id=0"/>
  144. <action application="set" data="call_processed=internal"/>
  145. <action application="set" data="call_direction=inbound"/>
  146. <action application="set" data="accountname=Cummunity"/>
  147. <action application="set" data="origination_rates_did=ID:1|CODE:^100770.*|DESTINATION:100770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:124|ACCID:2"/>
  148. <action application="set" data="origination_rates=0"/>
  149. <action application="set" data="original_caller_id_name=9126103211"/>
  150. <action application="set" data="original_caller_id_number=9126103211"/>
  151. <action application="limit" data="db 4727985745 user_4727985745 1 "/>
  152. <action application="export" data="is_recording=1"/>
  153. <action application="export" data="media_bug_answer_req=true"/>
  154. <action application="export" data="record_sample_rate=8000"/>
  155. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
  156. <action application="set" data="effective_caller_id_name=9126103211"/>
  157. <action application="set" data="effective_caller_id_number=9126103211"/>
  158. <action application="set" data="receiver_accid=2"/>
  159. <action application="set" data="did_id=1"/>
  160. <action application="set" data="transfer_call_type=4"/>
  161. <action application="set" data="transfer_extensions=1000999999"/>
  162. <action application="set" data="busy_status=1"/>
  163. <action application="set" data="no_answer_status=1"/>
  164. <action application="set" data="always_status=0"/>
  165. <action application="set" data="transfer_status=0"/>
  166. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  167. <action application="set" data="variable_sip_network_ip=3.110.187.230"/>
  168. <action application="set" data="variable_sip_network_port=5077"/>
  169. <action application="export" data="domain_name="/>
  170. <action application="export" data="sip_to_host="/>
  171. <action application="export" data="presence_data=x|||default(4727985745)|||^100770.* // 100770 // 0.77000|||||||||DID|||3.110.187.230"/>
  172. <action application="export" data="call_type=4"/>
  173. <action application="set" data="calltype=STANDARD"/>
  174. <action application="set" data="accountcode=4727985745"/>
  175. <action application="set" data="caller_did_account_id=2"/>
  176. <action application="set" data="did_number=100770"/>
  177. <action application="set" data="did_init_inc=60"/>
  178. <action application="set" data="did_inc=60"/>
  179. <action application="set" data="did_cost=0.77000"/>
  180. <action application="set" data="did_connectcost=0.00000"/>
  181. <action application="set" data="origination_rates_did=0"/>
  182. <action application="set" data="did_id=1"/>
  183. <action application="transfer" data="1000999999 XML default"/>
  184. </condition>
  185. </extension>
  186. </context>
  187. </section>
  188. </document>
  189. Dialplan: sofia/default/9126103211@3.110.187.230 parsing [default->100770] continue=false
  190. Dialplan: sofia/default/9126103211@3.110.187.230 Regex (PASS) [100770] destination_number(100770) =~ /100770/ break=on-false
  191. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_destination_number=100770)
  192. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  193. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(type=0)
  194. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(callstart=2024-02-29 10:50:44)
  195. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(hangup_after_bridge=true)
  196. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(continue_on_fail=TRUE)
  197. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(account_id=2)
  198. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(parent_id=0)
  199. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(entity_id=0)
  200. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_processed=internal)
  201. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_direction=inbound)
  202. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(accountname=Cummunity)
  203. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(origination_rates_did=ID:1|CODE:^100770.*|DESTINATION:100770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:124|ACCID:2)
  204. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(origination_rates=0)
  205. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(original_caller_id_name=9126103211)
  206. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(original_caller_id_number=9126103211)
  207. Dialplan: sofia/default/9126103211@3.110.187.230 Action limit(db 4727985745 user_4727985745 1 )
  208. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(is_recording=1)
  209. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(media_bug_answer_req=true)
  210. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(record_sample_rate=8000)
  211. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  212. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_caller_id_name=9126103211)
  213. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_caller_id_number=9126103211)
  214. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(receiver_accid=2)
  215. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_id=1)
  216. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(transfer_call_type=4)
  217. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(transfer_extensions=1000999999)
  218. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(busy_status=1)
  219. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(no_answer_status=1)
  220. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(always_status=0)
  221. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(transfer_status=0)
  222. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(variable_sip_to_host=${domain_name})
  223. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(variable_sip_network_ip=3.110.187.230)
  224. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(variable_sip_network_port=5077)
  225. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(domain_name=)
  226. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(sip_to_host=)
  227. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(presence_data=x|||default(4727985745)|||^100770.* // 100770 // 0.77000|||||||||DID|||3.110.187.230)
  228. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(call_type=4)
  229. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(calltype=STANDARD)
  230. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(accountcode=4727985745)
  231. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(caller_did_account_id=2)
  232. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_number=100770)
  233. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_init_inc=60)
  234. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_inc=60)
  235. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_cost=0.77000)
  236. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_connectcost=0.00000)
  237. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(origination_rates_did=0)
  238. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_id=1)
  239. Dialplan: sofia/default/9126103211@3.110.187.230 Action transfer(1000999999 XML default)
  240. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9126103211@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
  241. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9126103211@3.110.187.230) State ROUTING going to sleep
  242. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 3)
  243. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9126103211@3.110.187.230) State EXECUTE
  244. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_sofia.c:213 sofia/default/9126103211@3.110.187.230 SOFIA EXECUTE
  245. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/9126103211@3.110.187.230 Standard EXECUTE
  246. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_destination_number=100770)
  247. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_destination_number]=[100770]
  248. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  249. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
  250. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(type=0)
  251. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [type]=[0]
  252. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(callstart=2024-02-29 10:50:44)
  253. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [callstart]=[2024-02-29 10:50:44]
  254. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(hangup_after_bridge=true)
  255. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [hangup_after_bridge]=[true]
  256. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(continue_on_fail=TRUE)
  257. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [continue_on_fail]=[TRUE]
  258. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(account_id=2)
  259. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [account_id]=[2]
  260. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(parent_id=0)
  261. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [parent_id]=[0]
  262. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(entity_id=0)
  263. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [entity_id]=[0]
  264. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(call_processed=internal)
  265. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [call_processed]=[internal]
  266. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(call_direction=inbound)
  267. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [call_direction]=[inbound]
  268. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(accountname=Cummunity)
  269. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [accountname]=[Cummunity]
  270. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(origination_rates_did=ID:1|CODE:^100770.*|DESTINATION:100770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:124|ACCID:2)
  271. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [origination_rates_did]=[ID:1|CODE:^100770.*|DESTINATION:100770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:124|ACCID:2]
  272. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(origination_rates=0)
  273. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [origination_rates]=[0]
  274. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(original_caller_id_name=9126103211)
  275. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [original_caller_id_name]=[9126103211]
  276. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(original_caller_id_number=9126103211)
  277. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [original_caller_id_number]=[9126103211]
  278. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 limit(db 4727985745 user_4727985745 1 )
  279. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
  280. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  281. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(is_recording=1)
  282. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  283. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(media_bug_answer_req=true)
  284. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  285. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(record_sample_rate=8000)
  286. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  287. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav)
  288. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav]
  289. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_caller_id_name=9126103211)
  290. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_caller_id_name]=[9126103211]
  291. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_caller_id_number=9126103211)
  292. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_caller_id_number]=[9126103211]
  293. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(receiver_accid=2)
  294. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [receiver_accid]=[2]
  295. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_id=1)
  296. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_id]=[1]
  297. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(transfer_call_type=4)
  298. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [transfer_call_type]=[4]
  299. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(transfer_extensions=1000999999)
  300. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [transfer_extensions]=[1000999999]
  301. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(busy_status=1)
  302. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [busy_status]=[1]
  303. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(no_answer_status=1)
  304. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [no_answer_status]=[1]
  305. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(always_status=0)
  306. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [always_status]=[0]
  307. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(transfer_status=0)
  308. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [transfer_status]=[0]
  309. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(variable_sip_to_host=95.217.238.195)
  310. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [variable_sip_to_host]=[95.217.238.195]
  311. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(variable_sip_network_ip=3.110.187.230)
  312. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [variable_sip_network_ip]=[3.110.187.230]
  313. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(variable_sip_network_port=5077)
  314. 2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [variable_sip_network_port]=[5077]
  315. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(domain_name=)
  316. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF]
  317. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(sip_to_host=)
  318. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  319. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(presence_data=x|||default(4727985745)|||^100770.* // 100770 // 0.77000|||||||||DID|||3.110.187.230)
  320. 2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^100770.* // 100770 // 0.77000|||||||||DID|||3.110.187.230]
  321. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(call_type=4)
  322. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[4]
  323. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(calltype=STANDARD)
  324. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [calltype]=[STANDARD]
  325. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(accountcode=4727985745)
  326. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [accountcode]=[4727985745]
  327. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(caller_did_account_id=2)
  328. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [caller_did_account_id]=[2]
  329. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_number=100770)
  330. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_number]=[100770]
  331. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_init_inc=60)
  332. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_init_inc]=[60]
  333. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_inc=60)
  334. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_inc]=[60]
  335. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_cost=0.77000)
  336. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_cost]=[0.77000]
  337. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_connectcost=0.00000)
  338. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_connectcost]=[0.00000]
  339. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(origination_rates_did=0)
  340. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [origination_rates_did]=[0]
  341. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_id=1)
  342. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_id]=[1]
  343. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 transfer(1000999999 XML default)
  344. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_ivr.c:2288 (sofia/default/9126103211@3.110.187.230) State Change CS_EXECUTE -> CS_ROUTING
  345. 2024-02-29 10:50:45.019025 97.27% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/9126103211@3.110.187.230 to XML[1000999999@default]
  346. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9126103211@3.110.187.230) State EXECUTE going to sleep
  347. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 3)
  348. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9126103211@3.110.187.230) State ROUTING
  349. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  350. 2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_sofia.c:158 sofia/default/9126103211@3.110.187.230 SOFIA ROUTING
  351. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/9126103211@3.110.187.230 Standard ROUTING
  352. 2024-02-29 10:50:45.019025 97.27% [INFO] mod_dialplan_xml.c:639 Processing 9126103211 <9126103211>->1000999999 in context default
  353. 2024-02-29 10:50:45.019025 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  354. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  355. 2024-02-29 10:50:45.019025 97.27% [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')
  356. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  357. 2024-02-29 10:50:45.019025 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1000999999
  358. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1000999999' AND status=0 limit 1
  359. 2024-02-29 10:50:45.019025 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9126103211 / 9126103211
  360. 2024-02-29 10:50:45.019025 97.27% [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.use_did_as_cid_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 ="1000999999" LIMIT 1
  361. 2024-02-29 10:50:45.019025 97.27% [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,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 ="1000999999" LIMIT 1
  362. 2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  363. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  364. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
  365. 2024-02-29 10:50:45.039024 97.27% [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="1000999999" limit 1
  366. 2024-02-29 10:50:45.039024 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  367. 2024-02-29 10:50:45.039024 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  368. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  369. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1000999999.*' OR blocked_patterns = '^100099999.*' OR blocked_patterns = '^10009999.*' OR blocked_patterns = '^1000999.*' OR blocked_patterns = '^100099.*' OR blocked_patterns = '^10009.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  370. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1000999999" AND (accountid = 0 OR status = 1) LIMIT 1
  371. 2024-02-29 10:50:45.039024 97.27% [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 = '^1000999999.*' OR patterns = '^100099999.*' OR patterns = '^10009999.*' OR patterns = '^1000999.*' OR patterns = '^100099.*' OR patterns = '^10009.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  372. 2024-02-29 10:50:45.039024 97.27% [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 ="1000999999" AND A.accountid = '2' limit 1
  373. 2024-02-29 10:50:45.039024 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1000999999
  374. 2024-02-29 10:50:45.039024 97.27% [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.use_did_as_cid_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 ="1000999999" LIMIT 1
  375. 2024-02-29 10:50:45.039024 97.27% [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,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 ="1000999999" LIMIT 1
  376. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  377. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  378. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
  379. 2024-02-29 10:50:45.039024 97.27% [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="1000999999" limit 1
  380. 2024-02-29 10:50:45.039024 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  381. 2024-02-29 10:50:45.039024 97.27% [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 = '1000999999' OR number = '100099999' OR number = '10009999' OR number = '1000999' OR number = '100099' OR number = '10009' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '1000999999*' OR number = '100099999*' OR number = '10009999*' OR number = '1000999*' OR number = '100099*' OR number = '10009*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9126103211' OR number = '912610321' OR number = '91261032' OR number = '9126103' OR number = '912610' OR number = '91261' OR number = '9126' OR number = '912' OR number = '91' OR number = '9' OR number ='--') OR (number = '9126103211*' OR number = '912610321*' OR number = '91261032*' OR number = '9126103*' OR number = '912610*' OR number = '91261*' OR number = '9126*' OR number = '912*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  382. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  383. 2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1000999999' OR routing_prefix = '100099999' OR routing_prefix = '10009999' OR routing_prefix = '1000999' OR routing_prefix = '100099' OR routing_prefix = '10009' OR routing_prefix = '1000' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  384. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  385. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  386. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  387. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 976.71
  388. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  389. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  390. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  391. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  392. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  393. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  394. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  395. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1000999999.*' OR pattern = '^100099999.*' OR pattern = '^10009999.*' OR pattern = '^1000999.*' OR pattern = '^100099.*' OR pattern = '^10009.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^9126103211.*' OR caller_id_pattern = '^912610321.*' OR caller_id_pattern = '^91261032.*' OR caller_id_pattern = '^9126103.*' OR caller_id_pattern = '^912610.*' OR caller_id_pattern = '^91261.*' OR caller_id_pattern = '^9126.*' OR caller_id_pattern = '^912.*' OR caller_id_pattern = '^91.*' OR caller_id_pattern = '^9.*' 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
  396. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  397. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  398. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  399. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  400. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  401. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2000000000
  402. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  403. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  404. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  405. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  406. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  407. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  408. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your976.71 balance Accountid 2 !!!
  409. 2024-02-29 10:50:45.059032 97.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  410. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  411. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  412. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
  413. 2024-02-29 10:50:45.059032 97.27% [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
  414. 2024-02-29 10:50:45.059032 97.27% [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 = '^1000999999.*' OR pattern = '^100099999.*' OR pattern = '^10009999.*' OR pattern = '^1000999.*' OR pattern = '^100099.*' OR pattern = '^10009.*' OR pattern = '^1000.*' OR pattern = '^100.*' 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
  415. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  416. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  417. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  418. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  419. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  420. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  421. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  422. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  423. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  424. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  425. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  426. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  427. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  428. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  429. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  430. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  431. 2024-02-29 10:50:45.059032 97.27% [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
  432. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  433. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+ALPHA' and status = 0 limit 1
  434. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  435. 2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  436. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  437. 2024-02-29 10:50:45.059032 97.27% [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
  438. 2024-02-29 10:50:45.059032 97.27% [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
  439. 2024-02-29 10:50:45.059032 97.27% [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.use_did_as_cid_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 ="100770" LIMIT 1
  440. 2024-02-29 10:50:45.059032 97.27% [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,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 ="100770" LIMIT 1
  441. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  442. 2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  443. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
  444. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="1" and number ="9126103211" and status = '0' LIMIT 1
  445. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DIDQUERY] Query :SELECT * FROM dids WHERE id ="1" and status = 0 limit 1
  446. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  447. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  448. <document type="freeswitch/xml">
  449. <section name="dialplan" description="ASTPP Dialplan">
  450. <context name="default">
  451. <extension name="1000999999">
  452. <condition field="destination_number" expression="1000999999">
  453. <action application="set" data="effective_destination_number=1000999999"/>
  454. <action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
  455. <action application="set" data="type=0"/>
  456. <action application="set" data="callstart=2024-02-29 10:50:45"/>
  457. <action application="set" data="hangup_after_bridge=true"/>
  458. <action application="set" data="continue_on_fail=TRUE"/>
  459. <action application="set" data="account_id=2"/>
  460. <action application="set" data="parent_id=0"/>
  461. <action application="set" data="entity_id=0"/>
  462. <action application="set" data="call_processed=internal"/>
  463. <action application="set" data="call_direction=outbound"/>
  464. <action application="set" data="accountname=default"/>
  465. <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"/>
  466. <action application="set" data="original_caller_id_name=9126103211"/>
  467. <action application="set" data="original_caller_id_number=9126103211"/>
  468. <action application="limit" data="db 4727985745 user_4727985745 1 "/>
  469.  
  470. <action application="export" data="is_recording=1"/>
  471. <action application="export" data="media_bug_answer_req=true"/>
  472. <action application="export" data="record_sample_rate=8000"/>
  473. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
  474. <action application="set" data="continue_on_fail=TRUE"/>
  475. <action application="set" data="effective_caller_id_name=9126103211"/>
  476. <action application="set" data="effective_caller_id_number=9126103211"/>
  477. <action application="set" data="calltype=STANDARD"/>
  478. <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"/>
  479. <action application="set" data="trunk_id=1"/>
  480. <action application="set" data="provider_id=3"/>
  481. <action application="set" data="rate_flag=0"/>
  482. <action application="set" data="daily_call_credit_limit=0.00000"/>
  483. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  484. <action application="set" data="daily_call_used_limit=0.00000"/>
  485. <action application="set" data="monthly_call_used_limit=0.00000"/>
  486. <action application="set" data="quality_trunk_seq=1"/>
  487. <action application="set" data="force_trunk_flag=1"/>
  488. <action application="export" data="presence_data=trunk_id=1"/>
  489. <action application="set" data="intcall=0"/>
  490. <action application="export" data="presence_id=1000999999"/>
  491. <action application="export" data="presence_data=x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230"/>
  492. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000999999"/>
  493. <action application="set" data="did_id=1"/>
  494. <action application="set" data="destination_number=1000999999"/>
  495. <action application="set" data="leg_timeout=0"/>
  496. <action application="set" data="call_type_vm_flag=1"/>
  497. <action application="set" data="is_local_extension=0"/>
  498. <action application="lua" data="did_call_forwarding.lua"/>
  499. </condition>
  500. </extension>
  501. </context>
  502. </section>
  503. </document>
  504. Dialplan: sofia/default/9126103211@3.110.187.230 parsing [default->1000999999] continue=false
  505. Dialplan: sofia/default/9126103211@3.110.187.230 Regex (PASS) [1000999999] destination_number(1000999999) =~ /1000999999/ break=on-false
  506. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_destination_number=1000999999)
  507. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  508. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(type=0)
  509. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(callstart=2024-02-29 10:50:45)
  510. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(hangup_after_bridge=true)
  511. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(continue_on_fail=TRUE)
  512. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(account_id=2)
  513. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(parent_id=0)
  514. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(entity_id=0)
  515. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_processed=internal)
  516. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_direction=outbound)
  517. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(accountname=default)
  518. Dialplan: sofia/default/9126103211@3.110.187.230 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)
  519. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(original_caller_id_name=9126103211)
  520. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(original_caller_id_number=9126103211)
  521. Dialplan: sofia/default/9126103211@3.110.187.230 Action limit(db 4727985745 user_4727985745 1 )
  522. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(is_recording=1)
  523. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(media_bug_answer_req=true)
  524. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(record_sample_rate=8000)
  525. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  526. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(continue_on_fail=TRUE)
  527. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_caller_id_name=9126103211)
  528. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_caller_id_number=9126103211)
  529. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(calltype=STANDARD)
  530. Dialplan: sofia/default/9126103211@3.110.187.230 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)
  531. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(trunk_id=1)
  532. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(provider_id=3)
  533. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(rate_flag=0)
  534. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(daily_call_credit_limit=0.00000)
  535. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(monthly_call_credit_limit=0.00000)
  536. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(daily_call_used_limit=0.00000)
  537. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(monthly_call_used_limit=0.00000)
  538. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(quality_trunk_seq=1)
  539. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(force_trunk_flag=1)
  540. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(presence_data=trunk_id=1)
  541. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(intcall=0)
  542. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(presence_id=1000999999)
  543. Dialplan: sofia/default/9126103211@3.110.187.230 Action export(presence_data=x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230)
  544. Dialplan: sofia/default/9126103211@3.110.187.230 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000999999)
  545. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_id=1)
  546. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(destination_number=1000999999)
  547. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(leg_timeout=0)
  548. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_type_vm_flag=1)
  549. Dialplan: sofia/default/9126103211@3.110.187.230 Action set(is_local_extension=0)
  550. Dialplan: sofia/default/9126103211@3.110.187.230 Action lua(did_call_forwarding.lua)
  551. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9126103211@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
  552. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9126103211@3.110.187.230) State ROUTING going to sleep
  553. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 3)
  554. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9126103211@3.110.187.230) State EXECUTE
  555. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_sofia.c:213 sofia/default/9126103211@3.110.187.230 SOFIA EXECUTE
  556. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/9126103211@3.110.187.230 Standard EXECUTE
  557. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_destination_number=1000999999)
  558. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_destination_number]=[1000999999]
  559. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  560. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
  561. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(type=0)
  562. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [type]=[0]
  563. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(callstart=2024-02-29 10:50:45)
  564. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [callstart]=[2024-02-29 10:50:45]
  565. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(hangup_after_bridge=true)
  566. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [hangup_after_bridge]=[true]
  567. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(continue_on_fail=TRUE)
  568. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [continue_on_fail]=[TRUE]
  569. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(account_id=2)
  570. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [account_id]=[2]
  571. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(parent_id=0)
  572. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [parent_id]=[0]
  573. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(entity_id=0)
  574. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [entity_id]=[0]
  575. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(call_processed=internal)
  576. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [call_processed]=[internal]
  577. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(call_direction=outbound)
  578. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [call_direction]=[outbound]
  579. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(accountname=default)
  580. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [accountname]=[default]
  581. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 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)
  582. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [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]
  583. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(original_caller_id_name=9126103211)
  584. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [original_caller_id_name]=[9126103211]
  585. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(original_caller_id_number=9126103211)
  586. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [original_caller_id_number]=[9126103211]
  587. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 limit(db 4727985745 user_4727985745 1 )
  588. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
  589. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  590. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(is_recording=1)
  591. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  592. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(media_bug_answer_req=true)
  593. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  594. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(record_sample_rate=8000)
  595. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  596. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav)
  597. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav]
  598. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(continue_on_fail=TRUE)
  599. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [continue_on_fail]=[TRUE]
  600. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_caller_id_name=9126103211)
  601. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_caller_id_name]=[9126103211]
  602. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_caller_id_number=9126103211)
  603. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_caller_id_number]=[9126103211]
  604. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(calltype=STANDARD)
  605. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [calltype]=[STANDARD]
  606. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 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)
  607. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  608. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(trunk_id=1)
  609. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [trunk_id]=[1]
  610. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(provider_id=3)
  611. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [provider_id]=[3]
  612. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(rate_flag=0)
  613. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [rate_flag]=[0]
  614. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(daily_call_credit_limit=0.00000)
  615. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [daily_call_credit_limit]=[0.00000]
  616. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(monthly_call_credit_limit=0.00000)
  617. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [monthly_call_credit_limit]=[0.00000]
  618. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(daily_call_used_limit=0.00000)
  619. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [daily_call_used_limit]=[0.00000]
  620. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(monthly_call_used_limit=0.00000)
  621. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [monthly_call_used_limit]=[0.00000]
  622. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(quality_trunk_seq=1)
  623. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [quality_trunk_seq]=[1]
  624. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(force_trunk_flag=1)
  625. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [force_trunk_flag]=[1]
  626. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(presence_data=trunk_id=1)
  627. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  628. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(intcall=0)
  629. 2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [intcall]=[0]
  630. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(presence_id=1000999999)
  631. 2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[1000999999]
  632. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(presence_data=x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230)
  633. 2024-02-29 10:50:45.099021 97.27% [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|||3.110.187.230]
  634. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000999999)
  635. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  636. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  637. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  638. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav] to event
  639. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230] to event
  640. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [call_type]=[4] to event
  641. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  642. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  643. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  644. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav] to event
  645. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230] to event
  646. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [presence_id]=[1000999999] to event
  647. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230] to event
  648. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  649. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  650. 2024-02-29 10:50:45.099021 97.27% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1000999999 [9fc2fefe-a72f-4520-af35-4142db1561d5]
  651. 2024-02-29 10:50:45.099021 97.27% [DEBUG] mod_sofia.c:5110 (sofia/default/1000999999) State Change CS_NEW -> CS_INIT
  652. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_ivr_originate.c:3167 sofia/default/1000999999 Setting leg timeout to 30
  653. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_INIT (Cur 2 Tot 4)
  654. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000999999) State INIT
  655. 2024-02-29 10:50:45.099021 97.27% [DEBUG] mod_sofia.c:97 sofia/default/1000999999 SOFIA INIT
  656. 2024-02-29 10:50:45.099021 97.27% [INFO] sofia_glue.c:1659 sofia/default/1000999999 sending invite call-id: (null)
  657. 2024-02-29 10:50:45.099021 97.27% [DEBUG] sofia_glue.c:1662 sofia/default/1000999999 sending invite version: 1.10.10-release  64bit
  658. Local SDP:
  659. v=0
  660. o=FreeSWITCH 1709179027 1709179028 IN IP4 95.217.238.195
  661. s=FreeSWITCH
  662. c=IN IP4 95.217.238.195
  663. t=0 0
  664. m=audio 24818 RTP/AVP 8 18 101
  665. a=rtpmap:8 PCMA/8000
  666. a=rtpmap:18 G729/8000
  667. a=rtpmap:101 telephone-event/8000
  668. a=fmtp:101 0-15
  669. a=ptime:20
  670. a=sendrecv
  671.  
  672. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000999999 Standard INIT
  673. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000999999) State Change CS_INIT -> CS_ROUTING
  674. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000999999) State INIT going to sleep
  675. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_ROUTING (Cur 2 Tot 4)
  676. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000999999) State ROUTING
  677. 2024-02-29 10:50:45.099021 97.27% [DEBUG] mod_sofia.c:158 sofia/default/1000999999 SOFIA ROUTING
  678. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000999999) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  679. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000999999) State ROUTING going to sleep
  680. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 4)
  681. 2024-02-29 10:50:45.099021 97.27% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [calling][0]
  682. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000999999) State CONSUME_MEDIA
  683. 2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000999999) State CONSUME_MEDIA going to sleep
  684. 2024-02-29 10:50:45.299041 97.27% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [proceeding][180]
  685. 2024-02-29 10:50:45.299041 97.27% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/1000999999!
  686. 2024-02-29 10:50:45.299041 97.27% [DEBUG] switch_channel.c:3513 (sofia/default/1000999999) Callstate Change DOWN -> RINGING
  687. 2024-02-29 10:50:45.319023 97.27% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/9126103211@3.110.187.230!
  688. 2024-02-29 10:50:45.319023 97.27% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [early][180]
  689. 2024-02-29 10:50:45.319023 97.27% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/9126103211@3.110.187.230!
  690. 2024-02-29 10:50:50.339038 96.67% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [proceeding][183]
  691. 2024-02-29 10:50:50.339038 96.67% [DEBUG] sofia.c:7503 Remote SDP:
  692. v=0
  693. o=root 232300575 232300575 IN IP4 13.201.89.233
  694. s=Asterisk PBX 18.20.0
  695. c=IN IP4 13.201.89.233
  696. t=0 0
  697. m=audio 19640 RTP/AVP 8 101
  698. a=rtpmap:8 PCMA/8000
  699. a=rtpmap:101 telephone-event/8000
  700. a=fmtp:101 0-16
  701. a=maxptime:150
  702.  
  703. 2024-02-29 10:50:50.339038 96.67% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/1000999999!
  704. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_channel.c:3585 (sofia/default/1000999999) Callstate Change RINGING -> EARLY
  705. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  706. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  707. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  708. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  709. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1000999999 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  710. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_codec.c:111 sofia/default/1000999999 Original read codec set to PCMA:8
  711. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  712. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5856 sofia/default/1000999999 Set 2833 dtmf send payload to 101 recv payload to 101
  713. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/1000999999] 95.217.238.195 port 24818 -> 13.201.89.233 port 19640 codec: 8 ms: 20
  714. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  715. 2024-02-29 10:50:50.339038 96.67% [INFO] switch_ivr_originate.c:3858 Sending early media
  716. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/9126103211@3.110.187.230] 95.217.238.195 port 22338 -> 3.110.187.230 port 20486 codec: 8 ms: 20
  717. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  718. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8972 sofia/default/1000999999 Set 2833 dtmf send payload to 101
  719. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8979 sofia/default/1000999999 Set 2833 dtmf receive payload to 101
  720. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:9002 sofia/default/1000999999 Set rtp dtmf delay to 40
  721. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8972 sofia/default/9126103211@3.110.187.230 Set 2833 dtmf send payload to 101
  722. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8979 sofia/default/9126103211@3.110.187.230 Set 2833 dtmf receive payload to 101
  723. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:9002 sofia/default/9126103211@3.110.187.230 Set rtp dtmf delay to 40
  724. 2024-02-29 10:50:50.339038 96.67% [DEBUG] mod_sofia.c:2607 Ring SDP:
  725. v=0
  726. o=FreeSWITCH 1709181512 1709181513 IN IP4 95.217.238.195
  727. s=FreeSWITCH
  728. c=IN IP4 95.217.238.195
  729. t=0 0
  730. m=audio 22338 RTP/AVP 8 101
  731. a=rtpmap:8 PCMA/8000
  732. a=rtpmap:101 telephone-event/8000
  733. a=fmtp:101 0-15
  734. a=ptime:20
  735. a=sendrecv
  736.  
  737. 2024-02-29 10:50:50.339038 96.67% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/9126103211@3.110.187.230!
  738. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_channel.c:3585 (sofia/default/9126103211@3.110.187.230) Callstate Change RINGING -> EARLY
  739. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/1000999999] Peer UUID: 9fc2fefe-a72f-4520-af35-4142db1561d5
  740. 2024-02-29 10:50:50.339038 96.67% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [early][183]
  741. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/1000999999) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  742. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 4)
  743. 2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000999999) State EXCHANGE_MEDIA
  744. 2024-02-29 10:50:50.339038 96.67% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
  745. 2024-02-29 10:50:51.319022 96.63% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  746. 2024-02-29 10:51:00.359081 95.93% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [completing][200]
  747. 2024-02-29 10:51:00.359081 95.93% [DEBUG] sofia.c:7500 Duplicate SDP
  748. v=0
  749. o=root 232300575 232300575 IN IP4 13.201.89.233
  750. s=Asterisk PBX 18.20.0
  751. c=IN IP4 13.201.89.233
  752. t=0 0
  753. m=audio 19640 RTP/AVP 8 101
  754. a=rtpmap:8 PCMA/8000
  755. a=rtpmap:101 telephone-event/8000
  756. a=fmtp:101 0-16
  757. a=maxptime:150
  758.  
  759. 2024-02-29 10:51:00.379028 95.93% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [ready][200]
  760. 2024-02-29 10:51:00.379028 95.93% [NOTICE] sofia.c:8622 Channel [sofia/default/1000999999] has been answered
  761. EXECUTE [depth=0] sofia/default/1000999999 record_session(/usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav)
  762. 2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/default/9126103211@3.110.187.230.
  763. 2024-02-29 10:51:00.379028 95.93% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/9126103211@3.110.187.230:
  764. v=0
  765. o=FreeSWITCH 1709181512 1709181514 IN IP4 95.217.238.195
  766. s=FreeSWITCH
  767. c=IN IP4 95.217.238.195
  768. t=0 0
  769. m=audio 22338 RTP/AVP 8 101
  770. a=rtpmap:8 PCMA/8000
  771. a=rtpmap:101 telephone-event/8000
  772. a=fmtp:101 0-15
  773. a=ptime:20
  774. a=sendrecv
  775.  
  776. 2024-02-29 10:51:00.379028 95.93% [NOTICE] switch_ivr_bridge.c:730 Channel [sofia/default/9126103211@3.110.187.230] has been answered
  777. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 sched_hangup(+6000 normal_clearing)
  778. 2024-02-29 10:51:00.379028 95.93% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [completed][200]
  779. 2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_scheduler.c:263 Added task 5 switch_ivr_schedule_hangup (8a487cba-56a5-4d5a-b622-e0e981e31966) to run at 1709209860
  780. EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 record_session(/usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav)
  781. 2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000
  782. 2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/1000999999
  783. 2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_channel.c:3912 (sofia/default/1000999999) Callstate Change EARLY -> ACTIVE
  784. 2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000
  785. 2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/9126103211@3.110.187.230
  786. 2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_channel.c:3912 (sofia/default/9126103211@3.110.187.230) Callstate Change EARLY -> ACTIVE
  787. 2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech
  788. 2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech
  789. 2024-02-29 10:51:00.439037 95.93% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  790. 2024-02-29 10:51:00.439037 95.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  791. 2024-02-29 10:51:00.439037 95.93% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  792. 2024-02-29 10:51:00.439037 95.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  793. 2024-02-29 10:51:00.599072 95.80% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [ready][200]
  794. 2024-02-29 10:51:07.339041 93.40% [NOTICE] sofia.c:1065 Hangup sofia/default/9126103211@3.110.187.230 [CS_EXECUTE] [NORMAL_CLEARING]
  795. 2024-02-29 10:51:07.339041 93.40% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/9126103211@3.110.187.230]
  796. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_bridge.c:819 sofia/default/9126103211@3.110.187.230 ending bridge by request from write function
  797. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/1000999999]
  798. 2024-02-29 10:51:07.359054 93.40% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/1000999999 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  799. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000999999) State EXCHANGE_MEDIA going to sleep
  800. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_HANGUP (Cur 2 Tot 4)
  801. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_async.c:1597 Stop recording file /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav
  802. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/1000999999 skip receive message [UNBRIDGE] (channel is hungup already)
  803. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/9126103211@3.110.187.230 skip receive message [UNBRIDGE] (channel is hungup already)
  804. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_session.c:2979 sofia/default/9126103211@3.110.187.230 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  805. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9126103211@3.110.187.230) State EXECUTE going to sleep
  806. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_HANGUP (Cur 2 Tot 4)
  807. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_async.c:1597 Stop recording file /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav
  808. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_async.c:1678 Channel is hung up
  809. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_async.c:1678 Channel is hung up
  810. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/1000999999
  811. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000999999) Callstate Change ACTIVE -> HANGUP
  812. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000999999) State HANGUP
  813. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/9126103211@3.110.187.230
  814. 2024-02-29 10:51:07.359054 93.40% [DEBUG] mod_sofia.c:463 sofia/default/1000999999 Overriding SIP cause 480 with 200 from the other leg
  815. 2024-02-29 10:51:07.359054 93.40% [DEBUG] mod_sofia.c:469 Channel sofia/default/1000999999 hanging up, cause: NORMAL_CLEARING
  816. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9126103211@3.110.187.230) Callstate Change ACTIVE -> HANGUP
  817. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9126103211@3.110.187.230) State HANGUP
  818. 2024-02-29 10:51:07.359054 93.40% [DEBUG] mod_sofia.c:469 Channel sofia/default/9126103211@3.110.187.230 hanging up, cause: NORMAL_CLEARING
  819. 2024-02-29 10:51:07.359054 93.40% [DEBUG] mod_sofia.c:523 Sending BYE to sofia/default/1000999999
  820. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000999999 Standard HANGUP, cause: NORMAL_CLEARING
  821. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000999999) State HANGUP going to sleep
  822. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000999999) State Change CS_HANGUP -> CS_REPORTING
  823. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_REPORTING (Cur 2 Tot 4)
  824. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000999999) State REPORTING
  825. 2024-02-29 10:51:07.359054 93.40% [INFO] mod_json_cdr.c:272 Process [9fc2fefe-a72f-4520-af35-4142db1561d5.cdr.json]
  826. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/9126103211@3.110.187.230 Standard HANGUP, cause: NORMAL_CLEARING
  827. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9126103211@3.110.187.230) State HANGUP going to sleep
  828. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9126103211@3.110.187.230) State Change CS_HANGUP -> CS_REPORTING
  829. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_REPORTING (Cur 2 Tot 4)
  830. 2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9126103211@3.110.187.230) State REPORTING
  831. 2024-02-29 10:51:07.359054 93.40% [INFO] mod_json_cdr.c:272 Process [8a487cba-56a5-4d5a-b622-e0e981e31966.cdr.json]
  832. 2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000999999 Standard REPORTING, cause: NORMAL_CLEARING
  833. 2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000999999) State REPORTING going to sleep
  834. 2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000999999) State Change CS_REPORTING -> CS_DESTROY
  835. 2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_session.c:1744 Session 4 (sofia/default/1000999999) Locked, Waiting on external entities
  836. 2024-02-29 10:51:07.379036 93.40% [NOTICE] switch_core_session.c:1762 Session 4 (sofia/default/1000999999) Ended
  837. 2024-02-29 10:51:07.379036 93.40% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1000999999 [CS_DESTROY]
  838. 2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000999999) Running State Change CS_DESTROY (Cur 1 Tot 4)
  839. 2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000999999) State DESTROY
  840. 2024-02-29 10:51:07.379036 93.40% [DEBUG] mod_sofia.c:380 sofia/default/1000999999 SOFIA DESTROY
  841. 2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000999999 Standard DESTROY
  842. 2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000999999) State DESTROY going to sleep
  843. 2024-02-29 10:51:07.399024 93.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/9126103211@3.110.187.230 Standard REPORTING, cause: NORMAL_CLEARING
  844. 2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9126103211@3.110.187.230) State REPORTING going to sleep
  845. 2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9126103211@3.110.187.230) State Change CS_REPORTING -> CS_DESTROY
  846. 2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_session.c:1744 Session 3 (sofia/default/9126103211@3.110.187.230) Locked, Waiting on external entities
  847. 2024-02-29 10:51:07.419030 93.40% [NOTICE] switch_core_session.c:1762 Session 3 (sofia/default/9126103211@3.110.187.230) Ended
  848. 2024-02-29 10:51:07.419030 93.40% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/9126103211@3.110.187.230 [CS_DESTROY]
  849. 2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9126103211@3.110.187.230) Running State Change CS_DESTROY (Cur 0 Tot 4)
  850. 2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9126103211@3.110.187.230) State DESTROY
  851. 2024-02-29 10:51:07.419030 93.40% [DEBUG] mod_sofia.c:380 sofia/default/9126103211@3.110.187.230 SOFIA DESTROY
  852. 2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/9126103211@3.110.187.230 Standard DESTROY
  853. 2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9126103211@3.110.187.230) State DESTROY going to sleep
  854. 2024-02-29 10:51:07.879031 93.37% [DEBUG] switch_scheduler.c:147 Deleting task 5 switch_ivr_schedule_hangup (8a487cba-56a5-4d5a-b622-e0e981e31966)
  855. freeswitch@v6> /exit
  856.  
  857. root@v6:~#