From Prashant Kumar, 6 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. +OK log level  [7]
  2. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  3. 2024-05-22 04:19:02.861172 0.60% [NOTICE] switch_channel.c:1142 New Channel sofia/default/107888888@nira.astppbilling.org:5060 [f42e8941-7223-46a6-927c-f477c5b49b6f]
  4. 2024-05-22 04:19:02.861172 0.60% [DEBUG] mod_sofia.c:5110 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  5. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_ivr_originate.c:3167 sofia/default/107888888@nira.astppbilling.org:5060 Setting leg timeout to 7
  6. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_INIT (Cur 1 Tot 86)
  7. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107888888@nira.astppbilling.org:5060) State INIT
  8. 2024-05-22 04:19:02.861172 0.60% [DEBUG] mod_sofia.c:97 sofia/default/107888888@nira.astppbilling.org:5060 SOFIA INIT
  9. 2024-05-22 04:19:02.861172 0.60% [INFO] sofia_glue.c:1659 sofia/default/107888888@nira.astppbilling.org:5060 sending invite call-id: (null)
  10. 2024-05-22 04:19:02.861172 0.60% [DEBUG] sofia_glue.c:1662 sofia/default/107888888@nira.astppbilling.org:5060 sending invite version: 1.10.10-release  64bit
  11. Local SDP:
  12. v=0
  13. o=FreeSWITCH 1716323830 1716323831 IN IP4 95.216.147.158
  14. s=FreeSWITCH
  15. c=IN IP4 95.216.147.158
  16. t=0 0
  17. m=audio 27712 RTP/AVP 8 0 101
  18. a=rtpmap:8 PCMA/8000
  19. a=rtpmap:0 PCMU/8000
  20. a=rtpmap:101 telephone-event/8000
  21. a=fmtp:101 0-15
  22. a=ptime:20
  23. a=sendrecv
  24.  
  25. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/107888888@nira.astppbilling.org:5060 Standard INIT
  26. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  27. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107888888@nira.astppbilling.org:5060) State INIT going to sleep
  28. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 86)
  29. 2024-05-22 04:19:02.861172 0.60% [DEBUG] sofia.c:7493 Channel sofia/default/107888888@nira.astppbilling.org:5060 entering state [calling][0]
  30. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107888888@nira.astppbilling.org:5060) State ROUTING
  31. 2024-05-22 04:19:02.861172 0.60% [DEBUG] mod_sofia.c:158 sofia/default/107888888@nira.astppbilling.org:5060 SOFIA ROUTING
  32. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_ivr_originate.c:67 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  33. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107888888@nira.astppbilling.org:5060) State ROUTING going to sleep
  34. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 86)
  35. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/107888888@nira.astppbilling.org:5060) State CONSUME_MEDIA
  36. 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/107888888@nira.astppbilling.org:5060) State CONSUME_MEDIA going to sleep
  37. 2024-05-22 04:19:03.384503 0.57% [NOTICE] switch_channel.c:1142 New Channel sofia/default/0000000000@95.216.147.158 [7943fd05-70b5-47e6-b84f-5bb6e6a25684]
  38. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_NEW (Cur 2 Tot 87)
  39. 2024-05-22 04:19:03.384503 0.57% [INFO] sofia.c:10459 sofia/default/0000000000@95.216.147.158 receiving invite from 95.216.147.158:5060 version: 1.10.10-release  64bit call-id: 4319f834-9295-123d-f9b1-960002fd5b47
  40. 2024-05-22 04:19:03.384503 0.57% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 95.216.147.158:0.
  41. 2024-05-22 04:19:03.384503 0.57% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [received][100]
  42. 2024-05-22 04:19:03.384503 0.57% [DEBUG] sofia.c:7503 Remote SDP:
  43. v=0
  44. o=FreeSWITCH 1716323830 1716323831 IN IP4 95.216.147.158
  45. s=FreeSWITCH
  46. c=IN IP4 95.216.147.158
  47. t=0 0
  48. m=audio 27712 RTP/AVP 8 0 101
  49. a=rtpmap:8 PCMA/8000
  50. a=rtpmap:0 PCMU/8000
  51. a=rtpmap:101 telephone-event/8000
  52. a=fmtp:101 0-15
  53. a=ptime:20
  54.  
  55. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  56. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  57. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  58. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  59. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  60. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  61. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  62. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/0000000000@95.216.147.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  63. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_codec.c:111 sofia/default/0000000000@95.216.147.158 Original read codec set to PCMA:8
  64. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  65. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5856 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf send payload to 101 recv payload to 101
  66. 2024-05-22 04:19:03.384503 0.57% [DEBUG] sofia.c:7927 (sofia/default/0000000000@95.216.147.158) State Change CS_NEW -> CS_INIT
  67. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0000000000@95.216.147.158) State NEW
  68. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_INIT (Cur 2 Tot 87)
  69. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0000000000@95.216.147.158) State INIT
  70. 2024-05-22 04:19:03.384503 0.57% [DEBUG] mod_sofia.c:97 sofia/default/0000000000@95.216.147.158 SOFIA INIT
  71. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/0000000000@95.216.147.158 Standard INIT
  72. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0000000000@95.216.147.158) State Change CS_INIT -> CS_ROUTING
  73. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0000000000@95.216.147.158) State INIT going to sleep
  74. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_ROUTING (Cur 2 Tot 87)
  75. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_channel.c:2399 (sofia/default/0000000000@95.216.147.158) Callstate Change DOWN -> RINGING
  76. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0000000000@95.216.147.158) State ROUTING
  77. 2024-05-22 04:19:03.384503 0.57% [DEBUG] mod_sofia.c:158 sofia/default/0000000000@95.216.147.158 SOFIA ROUTING
  78. 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/0000000000@95.216.147.158 Standard ROUTING
  79. 2024-05-22 04:19:03.384503 0.57% [INFO] mod_dialplan_xml.c:639 Processing 0000000000 <0000000000>->107888888 in context default
  80. 2024-05-22 04:19:03.885923 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  81. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  82. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  83. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  85. 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 107888888
  86. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '107888888' limit 1
  87. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  88. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '107888888' and status=0 LIMIT 1
  89. 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia
  90. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  91. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'nira.astppbilling.org' limit 1
  92. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '6' and username = '107888888' limit 1
  93. 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 0000000000 / 0000000000
  94. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  95. 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="107888888"  AND domains.domain="nira.astppbilling.org" limit 1
  96. 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  97. 2024-05-22 04:19:03.926742 0.57% [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("95.216.147.158") 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 "107888888"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  98. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6]
  99. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6" OR id = "6") AND deleted = 0 limit 1
  100. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^107888888.*' OR blocked_patterns = '^10788888.*' OR blocked_patterns = '^1078888.*' OR blocked_patterns = '^107888.*' OR blocked_patterns = '^10788.*' OR blocked_patterns = '^1078.*' OR blocked_patterns = '^107.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 6 limit 1
  101. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  102. 2024-05-22 04:19:03.940817 0.57% [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 = '^107888888.*' OR patterns = '^10788888.*' OR patterns = '^1078888.*' OR patterns = '^107888.*' OR patterns = '^10788.*' OR patterns = '^1078.*' OR patterns = '^107.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
  103. 2024-05-22 04:19:03.940817 0.57% [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 ="107888888" AND A.accountid = '6' limit 1
  104. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 107888888
  105. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  106. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="107888888"  AND domains.domain="nira.astppbilling.org" limit 1
  107. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  108. 2024-05-22 04:19:03.940817 0.57% [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 = '107888888' OR number = '10788888' OR number = '1078888' OR number = '107888' OR number = '10788' OR number = '1078' OR number = '107' OR number = '10' OR number = '1' OR number ='--') OR (number = '107888888*' OR number = '10788888*' OR number = '1078888*' OR number = '107888*' OR number = '10788*' OR number = '1078*' OR number = '107*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '0000000000' OR number = '000000000' OR number = '00000000' OR number = '0000000' OR number = '000000' OR number = '00000' OR number = '0000' OR number = '000' OR number = '00' OR number = '0' OR number ='--') OR (number = '0000000000*' OR number = '000000000*' OR number = '00000000*' OR number = '0000000*' OR number = '000000*' OR number = '00000*' OR number = '0000*' OR number = '000*' OR number = '00*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  109. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  110. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '107888888' OR routing_prefix = '10788888' OR routing_prefix = '1078888' OR routing_prefix = '107888' OR routing_prefix = '10788' OR routing_prefix = '1078' OR routing_prefix = '107' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  111. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  112. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
  113. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9900410177
  114. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49999.9
  115. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  116. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  117. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  118. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  119. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  120. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  121. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  122. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  123. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  124. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^107888888.*' OR pattern = '^10788888.*' OR pattern = '^1078888.*' OR pattern = '^107888.*' OR pattern = '^10788.*' OR pattern = '^1078.*' OR pattern = '^107.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^917030888000.*' OR caller_id_pattern = '^91703088800.*' OR caller_id_pattern = '^9170308880.*' OR caller_id_pattern = '^917030888.*' OR caller_id_pattern = '^91703088.*' OR caller_id_pattern = '^9170308.*' OR caller_id_pattern = '^917030.*' OR caller_id_pattern = '^91703.*' OR caller_id_pattern = '^9170.*' OR caller_id_pattern = '^917.*' 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=6)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  125. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  126. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  127. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.2000000000
  128. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  129. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  130. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.2000000000
  131. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  132. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  133. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  134. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  135. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2000000000
  136. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  137. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  138. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
  139. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  140. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  141. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  142. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49999.9 balance Accountid 6 !!!
  143. 2024-05-22 04:19:03.940817 0.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  144. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  145. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id  :
  146. 2024-05-22 04:19:03.940817 0.57% [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
  147. 2024-05-22 04:19:03.940817 0.57% [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 = '^107888888.*' OR pattern = '^10788888.*' OR pattern = '^1078888.*' OR pattern = '^107888.*' OR pattern = '^10788.*' OR pattern = '^1078.*' OR pattern = '^107.*' 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
  148. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  149. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  150. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  151. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  152. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  153. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  154. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  155. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  156. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  157. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  158. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  159. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  160. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  161. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  162. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  163. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  164. 2024-05-22 04:19:03.940817 0.57% [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 = 6 AND status=0 LIMIT 1
  165. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  166. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1
  167. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  168. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  169. 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  170. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :107888888
  171. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :107888888
  172. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  173. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  174. 2024-05-22 04:19:03.940817 0.57% [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
  175. 2024-05-22 04:19:03.940817 0.57% [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
  176. 2024-05-22 04:19:03.940817 0.57% [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 ="107888888" LIMIT 1
  177. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  178. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :0000000000
  179. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  180. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  181. <document type="freeswitch/xml">
  182. <section name="dialplan" description="ASTPP Dialplan">
  183. <context name="default">
  184. <extension name="107888888">
  185. <condition field="destination_number" expression="107888888">
  186. <action application="set" data="effective_destination_number=107888888"/>
  187. <action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
  188. <action application="set" data="notify_flag=0"/>
  189. <action application="set" data="notify_credit_limit=5.00000"/>
  190. <action application="set" data="type=0"/>
  191. <action application="set" data="callstart=2024-05-22 04:19:03"/>
  192. <action application="set" data="hangup_after_bridge=true"/>
  193. <action application="set" data="continue_on_fail=TRUE"/>
  194. <action application="set" data="account_id=6"/>
  195. <action application="set" data="parent_id=0"/>
  196. <action application="set" data="entity_id=0"/>
  197. <action application="set" data="call_processed=internal"/>
  198. <action application="set" data="call_direction=outbound"/>
  199. <action application="set" data="accountname=default"/>
  200. <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:6"/>
  201. <action application="set" data="original_caller_id_name=917030888000"/>
  202. <action application="set" data="original_caller_id_number=917030888000"/>
  203.  
  204. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  205. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  206. <action application="set" data="continue_on_fail=TRUE"/>
  207. <action application="set" data="effective_caller_id_name=917030888000"/>
  208. <action application="set" data="effective_caller_id_number=917030888000"/>
  209. <action application="set" data="calltype=STANDARD"/>
  210. <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"/>
  211. <action application="set" data="trunk_id=1"/>
  212. <action application="set" data="provider_id=3"/>
  213. <action application="set" data="rate_flag=0"/>
  214. <action application="set" data="daily_call_credit_limit=0.00000"/>
  215. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  216. <action application="set" data="daily_call_used_limit=0.00000"/>
  217. <action application="set" data="monthly_call_used_limit=0.00000"/>
  218. <action application="set" data="quality_trunk_seq=1"/>
  219. <action application="set" data="force_trunk_flag=0"/>
  220. <action application="export" data="presence_data=trunk_id=1"/>
  221. <action application="set" data="intcall=0"/>
  222. <action application="export" data="presence_id=107888888"/>
  223. <action application="export" data="presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158"/>
  224. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/107888888"/>
  225. </condition>
  226. </extension>
  227. </context>
  228. </section>
  229. </document>
  230. Dialplan: sofia/default/0000000000@95.216.147.158 parsing [default->107888888] continue=false
  231. Dialplan: sofia/default/0000000000@95.216.147.158 Regex (PASS) [107888888] destination_number(107888888) =~ /107888888/ break=on-false
  232. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_destination_number=107888888)
  233. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  234. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(notify_flag=0)
  235. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(notify_credit_limit=5.00000)
  236. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(type=0)
  237. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(callstart=2024-05-22 04:19:03)
  238. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(hangup_after_bridge=true)
  239. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(continue_on_fail=TRUE)
  240. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(account_id=6)
  241. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(parent_id=0)
  242. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(entity_id=0)
  243. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(call_processed=internal)
  244. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(call_direction=outbound)
  245. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(accountname=default)
  246. Dialplan: sofia/default/0000000000@95.216.147.158 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:6)
  247. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(original_caller_id_name=917030888000)
  248. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(original_caller_id_number=917030888000)
  249. Dialplan: sofia/default/0000000000@95.216.147.158 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  250. Dialplan: sofia/default/0000000000@95.216.147.158 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  251. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(continue_on_fail=TRUE)
  252. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_caller_id_name=917030888000)
  253. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_caller_id_number=917030888000)
  254. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(calltype=STANDARD)
  255. Dialplan: sofia/default/0000000000@95.216.147.158 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)
  256. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(trunk_id=1)
  257. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(provider_id=3)
  258. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(rate_flag=0)
  259. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(daily_call_credit_limit=0.00000)
  260. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(monthly_call_credit_limit=0.00000)
  261. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(daily_call_used_limit=0.00000)
  262. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(monthly_call_used_limit=0.00000)
  263. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(quality_trunk_seq=1)
  264. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(force_trunk_flag=0)
  265. Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_data=trunk_id=1)
  266. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(intcall=0)
  267. Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_id=107888888)
  268. Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158)
  269. Dialplan: sofia/default/0000000000@95.216.147.158 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/107888888)
  270. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0000000000@95.216.147.158) State Change CS_ROUTING -> CS_EXECUTE
  271. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0000000000@95.216.147.158) State ROUTING going to sleep
  272. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_EXECUTE (Cur 2 Tot 87)
  273. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0000000000@95.216.147.158) State EXECUTE
  274. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_sofia.c:213 sofia/default/0000000000@95.216.147.158 SOFIA EXECUTE
  275. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/0000000000@95.216.147.158 Standard EXECUTE
  276. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_destination_number=107888888)
  277. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_destination_number]=[107888888]
  278. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  279. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
  280. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(notify_flag=0)
  281. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [notify_flag]=[0]
  282. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(notify_credit_limit=5.00000)
  283. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [notify_credit_limit]=[5.00000]
  284. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(type=0)
  285. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [type]=[0]
  286. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(callstart=2024-05-22 04:19:03)
  287. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [callstart]=[2024-05-22 04:19:03]
  288. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(hangup_after_bridge=true)
  289. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [hangup_after_bridge]=[true]
  290. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(continue_on_fail=TRUE)
  291. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [continue_on_fail]=[TRUE]
  292. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(account_id=6)
  293. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [account_id]=[6]
  294. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(parent_id=0)
  295. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [parent_id]=[0]
  296. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(entity_id=0)
  297. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [entity_id]=[0]
  298. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(call_processed=internal)
  299. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [call_processed]=[internal]
  300. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(call_direction=outbound)
  301. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [call_direction]=[outbound]
  302. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(accountname=default)
  303. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [accountname]=[default]
  304. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 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:6)
  305. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [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:6]
  306. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(original_caller_id_name=917030888000)
  307. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [original_caller_id_name]=[917030888000]
  308. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(original_caller_id_number=917030888000)
  309. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [original_caller_id_number]=[917030888000]
  310. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 hash(insert/95.216.147.158-last_dial/0000000000/107888888)
  311. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 hash(insert/95.216.147.158-call_return/107888888/0000000000)
  312. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(continue_on_fail=TRUE)
  313. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [continue_on_fail]=[TRUE]
  314. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_caller_id_name=917030888000)
  315. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_caller_id_name]=[917030888000]
  316. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_caller_id_number=917030888000)
  317. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_caller_id_number]=[917030888000]
  318. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(calltype=STANDARD)
  319. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [calltype]=[STANDARD]
  320. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 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)
  321. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  322. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(trunk_id=1)
  323. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [trunk_id]=[1]
  324. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(provider_id=3)
  325. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [provider_id]=[3]
  326. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(rate_flag=0)
  327. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [rate_flag]=[0]
  328. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(daily_call_credit_limit=0.00000)
  329. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [daily_call_credit_limit]=[0.00000]
  330. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(monthly_call_credit_limit=0.00000)
  331. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [monthly_call_credit_limit]=[0.00000]
  332. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(daily_call_used_limit=0.00000)
  333. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [daily_call_used_limit]=[0.00000]
  334. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(monthly_call_used_limit=0.00000)
  335. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [monthly_call_used_limit]=[0.00000]
  336. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(quality_trunk_seq=1)
  337. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [quality_trunk_seq]=[1]
  338. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(force_trunk_flag=0)
  339. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [force_trunk_flag]=[0]
  340. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_data=trunk_id=1)
  341. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  342. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(intcall=0)
  343. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [intcall]=[0]
  344. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_id=107888888)
  345. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[107888888]
  346. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158)
  347. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158]
  348. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/107888888)
  349. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] to event
  350. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_id]=[107888888] to event
  351. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] to event
  352. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  353. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  354. 2024-05-22 04:19:03.940817 0.57% [NOTICE] switch_channel.c:1142 New Channel sofia/default/107888888 [e87d1ae5-ea9c-47cd-8056-752958785b81]
  355. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_sofia.c:5110 (sofia/default/107888888) State Change CS_NEW -> CS_INIT
  356. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_ivr_originate.c:3167 sofia/default/107888888 Setting leg timeout to 30
  357. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_INIT (Cur 3 Tot 88)
  358. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107888888) State INIT
  359. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_sofia.c:97 sofia/default/107888888 SOFIA INIT
  360. 2024-05-22 04:19:03.940817 0.57% [INFO] sofia_glue.c:1659 sofia/default/107888888 sending invite call-id: (null)
  361. 2024-05-22 04:19:03.940817 0.57% [DEBUG] sofia_glue.c:1662 sofia/default/107888888 sending invite version: 1.10.10-release  64bit
  362. Local SDP:
  363. v=0
  364. o=FreeSWITCH 1716333703 1716333704 IN IP4 95.216.147.158
  365. s=FreeSWITCH
  366. c=IN IP4 95.216.147.158
  367. t=0 0
  368. m=audio 17840 RTP/AVP 8 18 101
  369. a=rtpmap:8 PCMA/8000
  370. a=rtpmap:18 G729/8000
  371. a=rtpmap:101 telephone-event/8000
  372. a=fmtp:101 0-15
  373. a=ptime:20
  374. a=sendrecv
  375.  
  376. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/107888888 Standard INIT
  377. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/107888888) State Change CS_INIT -> CS_ROUTING
  378. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107888888) State INIT going to sleep
  379. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_ROUTING (Cur 3 Tot 88)
  380. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107888888) State ROUTING
  381. 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_sofia.c:158 sofia/default/107888888 SOFIA ROUTING
  382. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_ivr_originate.c:67 (sofia/default/107888888) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  383. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107888888) State ROUTING going to sleep
  384. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 88)
  385. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/107888888) State CONSUME_MEDIA
  386. 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/107888888) State CONSUME_MEDIA going to sleep
  387. 2024-05-22 04:19:03.982443 0.57% [DEBUG] sofia.c:7493 Channel sofia/default/107888888 entering state [calling][0]
  388. 2024-05-22 04:19:05.232358 0.57% [DEBUG] sofia.c:7493 Channel sofia/default/107888888 entering state [proceeding][180]
  389. 2024-05-22 04:19:05.232358 0.57% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/107888888!
  390. 2024-05-22 04:19:05.232358 0.57% [DEBUG] switch_channel.c:3513 (sofia/default/107888888) Callstate Change DOWN -> RINGING
  391. 2024-05-22 04:19:05.232358 0.57% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/0000000000@95.216.147.158!
  392. 2024-05-22 04:19:05.232358 0.57% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/0000000000@95.216.147.158!
  393. 2024-05-22 04:19:05.319315 1.07% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [early][180]
  394. 2024-05-22 04:19:05.559314 1.07% [DEBUG] sofia.c:7493 Channel sofia/default/107888888@nira.astppbilling.org:5060 entering state [proceeding][180]
  395. 2024-05-22 04:19:05.559314 1.07% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/107888888@nira.astppbilling.org:5060!
  396. 2024-05-22 04:19:05.559314 1.07% [DEBUG] switch_channel.c:3513 (sofia/default/107888888@nira.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  397. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  398. 2024-05-22 04:19:08.492272 2.10% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1099999000@nira.astppbilling.org:5060 [69175f6d-d83f-4713-bab1-86c798ed64d7]
  399. 2024-05-22 04:19:08.492272 2.10% [DEBUG] mod_sofia.c:5110 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  400. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_ivr_originate.c:3167 sofia/default/1099999000@nira.astppbilling.org:5060 Setting leg timeout to 7
  401. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_INIT (Cur 4 Tot 89)
  402. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1099999000@nira.astppbilling.org:5060) State INIT
  403. 2024-05-22 04:19:08.492272 2.10% [DEBUG] mod_sofia.c:97 sofia/default/1099999000@nira.astppbilling.org:5060 SOFIA INIT
  404. 2024-05-22 04:19:08.492272 2.10% [INFO] sofia_glue.c:1659 sofia/default/1099999000@nira.astppbilling.org:5060 sending invite call-id: (null)
  405. 2024-05-22 04:19:08.492272 2.10% [DEBUG] sofia_glue.c:1662 sofia/default/1099999000@nira.astppbilling.org:5060 sending invite version: 1.10.10-release  64bit
  406. Local SDP:
  407. v=0
  408. o=FreeSWITCH 1716332696 1716332697 IN IP4 95.216.147.158
  409. s=FreeSWITCH
  410. c=IN IP4 95.216.147.158
  411. t=0 0
  412. m=audio 18852 RTP/AVP 8 0 101
  413. a=rtpmap:8 PCMA/8000
  414. a=rtpmap:0 PCMU/8000
  415. a=rtpmap:101 telephone-event/8000
  416. a=fmtp:101 0-15
  417. a=ptime:20
  418. a=sendrecv
  419.  
  420. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/1099999000@nira.astppbilling.org:5060 Standard INIT
  421. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  422. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1099999000@nira.astppbilling.org:5060) State INIT going to sleep
  423. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 4 Tot 89)
  424. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1099999000@nira.astppbilling.org:5060) State ROUTING
  425. 2024-05-22 04:19:08.492272 2.10% [DEBUG] mod_sofia.c:158 sofia/default/1099999000@nira.astppbilling.org:5060 SOFIA ROUTING
  426. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  427. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1099999000@nira.astppbilling.org:5060) State ROUTING going to sleep
  428. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 89)
  429. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1099999000@nira.astppbilling.org:5060) State CONSUME_MEDIA
  430. 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1099999000@nira.astppbilling.org:5060) State CONSUME_MEDIA going to sleep
  431. 2024-05-22 04:19:08.519310 2.10% [NOTICE] switch_channel.c:1142 New Channel sofia/default/0000000000@95.216.147.158 [fe88c356-a5e4-45ae-905b-5f7f97a7cc62]
  432. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_NEW (Cur 5 Tot 90)
  433. 2024-05-22 04:19:08.519310 2.10% [INFO] sofia.c:10459 sofia/default/0000000000@95.216.147.158 receiving invite from 95.216.147.158:5060 version: 1.10.10-release  64bit call-id: 467a9ff6-9295-123d-f9b1-960002fd5b47
  434. 2024-05-22 04:19:08.519310 2.10% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 95.216.147.158:0.
  435. 2024-05-22 04:19:08.519310 2.10% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [received][100]
  436. 2024-05-22 04:19:08.519310 2.10% [DEBUG] sofia.c:7503 Remote SDP:
  437. v=0
  438. o=FreeSWITCH 1716332696 1716332697 IN IP4 95.216.147.158
  439. s=FreeSWITCH
  440. c=IN IP4 95.216.147.158
  441. t=0 0
  442. m=audio 18852 RTP/AVP 8 0 101
  443. a=rtpmap:8 PCMA/8000
  444. a=rtpmap:0 PCMU/8000
  445. a=rtpmap:101 telephone-event/8000
  446. a=fmtp:101 0-15
  447. a=ptime:20
  448.  
  449. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  450. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  451. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  452. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  453. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  454. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  455. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  456. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/0000000000@95.216.147.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  457. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_codec.c:111 sofia/default/0000000000@95.216.147.158 Original read codec set to PCMA:8
  458. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  459. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5856 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf send payload to 101 recv payload to 101
  460. 2024-05-22 04:19:08.519310 2.10% [DEBUG] sofia.c:7927 (sofia/default/0000000000@95.216.147.158) State Change CS_NEW -> CS_INIT
  461. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0000000000@95.216.147.158) State NEW
  462. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_INIT (Cur 5 Tot 90)
  463. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0000000000@95.216.147.158) State INIT
  464. 2024-05-22 04:19:08.519310 2.10% [DEBUG] mod_sofia.c:97 sofia/default/0000000000@95.216.147.158 SOFIA INIT
  465. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/0000000000@95.216.147.158 Standard INIT
  466. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0000000000@95.216.147.158) State Change CS_INIT -> CS_ROUTING
  467. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0000000000@95.216.147.158) State INIT going to sleep
  468. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_ROUTING (Cur 5 Tot 90)
  469. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_channel.c:2399 (sofia/default/0000000000@95.216.147.158) Callstate Change DOWN -> RINGING
  470. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0000000000@95.216.147.158) State ROUTING
  471. 2024-05-22 04:19:08.519310 2.10% [DEBUG] mod_sofia.c:158 sofia/default/0000000000@95.216.147.158 SOFIA ROUTING
  472. 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:230 sofia/default/0000000000@95.216.147.158 Standard ROUTING
  473. 2024-05-22 04:19:08.519310 2.10% [INFO] mod_dialplan_xml.c:639 Processing 0000000000 <0000000000>->1099999000 in context default
  474. 2024-05-22 04:19:08.562135 2.10% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000@nira.astppbilling.org:5060 entering state [calling][0]
  475. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  476. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  477. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  478. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  479. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  480. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1099999000
  481. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1099999000' limit 1
  482. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  483. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1099999000' and status=0 LIMIT 1
  484. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia
  485. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  486. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'nira.astppbilling.org' limit 1
  487. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '6' and username = '1099999000' limit 1
  488. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 0000000000 / 0000000000
  489. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  490. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1099999000"  AND domains.domain="nira.astppbilling.org" limit 1
  491. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  492. 2024-05-22 04:19:08.562135 2.10% [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("95.216.147.158") 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 "1099999000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  493. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6]
  494. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6" OR id = "6") AND deleted = 0 limit 1
  495. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1099999000.*' OR blocked_patterns = '^109999900.*' OR blocked_patterns = '^10999990.*' OR blocked_patterns = '^1099999.*' OR blocked_patterns = '^109999.*' OR blocked_patterns = '^10999.*' OR blocked_patterns = '^1099.*' OR blocked_patterns = '^109.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 6 limit 1
  496. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  497. 2024-05-22 04:19:08.562135 2.10% [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 = '^1099999000.*' OR patterns = '^109999900.*' OR patterns = '^10999990.*' OR patterns = '^1099999.*' OR patterns = '^109999.*' OR patterns = '^10999.*' OR patterns = '^1099.*' OR patterns = '^109.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
  498. 2024-05-22 04:19:08.562135 2.10% [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 ="1099999000" AND A.accountid = '6' limit 1
  499. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1099999000
  500. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  501. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1099999000"  AND domains.domain="nira.astppbilling.org" limit 1
  502. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  503. 2024-05-22 04:19:08.562135 2.10% [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 = '1099999000' OR number = '109999900' OR number = '10999990' OR number = '1099999' OR number = '109999' OR number = '10999' OR number = '1099' OR number = '109' OR number = '10' OR number = '1' OR number ='--') OR (number = '1099999000*' OR number = '109999900*' OR number = '10999990*' OR number = '1099999*' OR number = '109999*' OR number = '10999*' OR number = '1099*' OR number = '109*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '0000000000' OR number = '000000000' OR number = '00000000' OR number = '0000000' OR number = '000000' OR number = '00000' OR number = '0000' OR number = '000' OR number = '00' OR number = '0' OR number ='--') OR (number = '0000000000*' OR number = '000000000*' OR number = '00000000*' OR number = '0000000*' OR number = '000000*' OR number = '00000*' OR number = '0000*' OR number = '000*' OR number = '00*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  504. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  505. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1099999000' OR routing_prefix = '109999900' OR routing_prefix = '10999990' OR routing_prefix = '1099999' OR routing_prefix = '109999' OR routing_prefix = '10999' OR routing_prefix = '1099' OR routing_prefix = '109' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  506. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  507. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
  508. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9900410177
  509. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49999.9
  510. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  511. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  512. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  513. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  514. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  515. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  516. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  517. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  518. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  519. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1099999000.*' OR pattern = '^109999900.*' OR pattern = '^10999990.*' OR pattern = '^1099999.*' OR pattern = '^109999.*' OR pattern = '^10999.*' OR pattern = '^1099.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^917030888000.*' OR caller_id_pattern = '^91703088800.*' OR caller_id_pattern = '^9170308880.*' OR caller_id_pattern = '^917030888.*' OR caller_id_pattern = '^91703088.*' OR caller_id_pattern = '^9170308.*' OR caller_id_pattern = '^917030.*' OR caller_id_pattern = '^91703.*' OR caller_id_pattern = '^9170.*' OR caller_id_pattern = '^917.*' 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=6)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  520. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  521. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  522. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.2000000000
  523. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  524. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  525. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.2000000000
  526. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  527. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  528. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  529. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  530. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2000000000
  531. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  532. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  533. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
  534. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  535. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  536. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  537. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49999.9 balance Accountid 6 !!!
  538. 2024-05-22 04:19:08.562135 2.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  539. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  540. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id  :
  541. 2024-05-22 04:19:08.562135 2.10% [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
  542. 2024-05-22 04:19:08.562135 2.10% [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 = '^1099999000.*' OR pattern = '^109999900.*' OR pattern = '^10999990.*' OR pattern = '^1099999.*' OR pattern = '^109999.*' OR pattern = '^10999.*' OR pattern = '^1099.*' OR pattern = '^109.*' 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
  543. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  544. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  545. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  546. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  547. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  548. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  549. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  550. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  551. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  552. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  553. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  554. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  555. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  556. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  557. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  558. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  559. 2024-05-22 04:19:08.562135 2.10% [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 = 6 AND status=0 LIMIT 1
  560. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  561. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1
  562. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  563. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  564. 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  565. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :1099999000
  566. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :1099999000
  567. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  568. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  569. 2024-05-22 04:19:08.562135 2.10% [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
  570. 2024-05-22 04:19:08.562135 2.10% [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
  571. 2024-05-22 04:19:08.562135 2.10% [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 ="1099999000" LIMIT 1
  572. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  573. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :0000000000
  574. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  575. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  576. <document type="freeswitch/xml">
  577. <section name="dialplan" description="ASTPP Dialplan">
  578. <context name="default">
  579. <extension name="1099999000">
  580. <condition field="destination_number" expression="1099999000">
  581. <action application="set" data="effective_destination_number=1099999000"/>
  582. <action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
  583. <action application="set" data="notify_flag=0"/>
  584. <action application="set" data="notify_credit_limit=5.00000"/>
  585. <action application="set" data="type=0"/>
  586. <action application="set" data="callstart=2024-05-22 04:19:08"/>
  587. <action application="set" data="hangup_after_bridge=true"/>
  588. <action application="set" data="continue_on_fail=TRUE"/>
  589. <action application="set" data="account_id=6"/>
  590. <action application="set" data="parent_id=0"/>
  591. <action application="set" data="entity_id=0"/>
  592. <action application="set" data="call_processed=internal"/>
  593. <action application="set" data="call_direction=outbound"/>
  594. <action application="set" data="accountname=default"/>
  595. <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:6"/>
  596. <action application="set" data="original_caller_id_name=917030888000"/>
  597. <action application="set" data="original_caller_id_number=917030888000"/>
  598.  
  599. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  600. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  601. <action application="set" data="continue_on_fail=TRUE"/>
  602. <action application="set" data="effective_caller_id_name=917030888000"/>
  603. <action application="set" data="effective_caller_id_number=917030888000"/>
  604. <action application="set" data="calltype=STANDARD"/>
  605. <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"/>
  606. <action application="set" data="trunk_id=1"/>
  607. <action application="set" data="provider_id=3"/>
  608. <action application="set" data="rate_flag=0"/>
  609. <action application="set" data="daily_call_credit_limit=0.00000"/>
  610. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  611. <action application="set" data="daily_call_used_limit=0.00000"/>
  612. <action application="set" data="monthly_call_used_limit=0.00000"/>
  613. <action application="set" data="quality_trunk_seq=1"/>
  614. <action application="set" data="force_trunk_flag=0"/>
  615. <action application="export" data="presence_data=trunk_id=1"/>
  616. <action application="set" data="intcall=0"/>
  617. <action application="export" data="presence_id=1099999000"/>
  618. <action application="export" data="presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158"/>
  619. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1099999000"/>
  620. </condition>
  621. </extension>
  622. </context>
  623. </section>
  624. </document>
  625. Dialplan: sofia/default/0000000000@95.216.147.158 parsing [default->1099999000] continue=false
  626. Dialplan: sofia/default/0000000000@95.216.147.158 Regex (PASS) [1099999000] destination_number(1099999000) =~ /1099999000/ break=on-false
  627. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_destination_number=1099999000)
  628. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  629. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(notify_flag=0)
  630. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(notify_credit_limit=5.00000)
  631. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(type=0)
  632. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(callstart=2024-05-22 04:19:08)
  633. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(hangup_after_bridge=true)
  634. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(continue_on_fail=TRUE)
  635. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(account_id=6)
  636. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(parent_id=0)
  637. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(entity_id=0)
  638. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(call_processed=internal)
  639. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(call_direction=outbound)
  640. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(accountname=default)
  641. Dialplan: sofia/default/0000000000@95.216.147.158 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:6)
  642. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(original_caller_id_name=917030888000)
  643. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(original_caller_id_number=917030888000)
  644. Dialplan: sofia/default/0000000000@95.216.147.158 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  645. Dialplan: sofia/default/0000000000@95.216.147.158 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  646. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(continue_on_fail=TRUE)
  647. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_caller_id_name=917030888000)
  648. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_caller_id_number=917030888000)
  649. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(calltype=STANDARD)
  650. Dialplan: sofia/default/0000000000@95.216.147.158 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)
  651. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(trunk_id=1)
  652. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(provider_id=3)
  653. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(rate_flag=0)
  654. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(daily_call_credit_limit=0.00000)
  655. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(monthly_call_credit_limit=0.00000)
  656. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(daily_call_used_limit=0.00000)
  657. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(monthly_call_used_limit=0.00000)
  658. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(quality_trunk_seq=1)
  659. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(force_trunk_flag=0)
  660. Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_data=trunk_id=1)
  661. Dialplan: sofia/default/0000000000@95.216.147.158 Action set(intcall=0)
  662. Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_id=1099999000)
  663. Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158)
  664. Dialplan: sofia/default/0000000000@95.216.147.158 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1099999000)
  665. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0000000000@95.216.147.158) State Change CS_ROUTING -> CS_EXECUTE
  666. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0000000000@95.216.147.158) State ROUTING going to sleep
  667. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_EXECUTE (Cur 5 Tot 90)
  668. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0000000000@95.216.147.158) State EXECUTE
  669. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_sofia.c:213 sofia/default/0000000000@95.216.147.158 SOFIA EXECUTE
  670. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:323 sofia/default/0000000000@95.216.147.158 Standard EXECUTE
  671. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_destination_number=1099999000)
  672. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_destination_number]=[1099999000]
  673. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  674. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
  675. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(notify_flag=0)
  676. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [notify_flag]=[0]
  677. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(notify_credit_limit=5.00000)
  678. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [notify_credit_limit]=[5.00000]
  679. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(type=0)
  680. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [type]=[0]
  681. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(callstart=2024-05-22 04:19:08)
  682. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [callstart]=[2024-05-22 04:19:08]
  683. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(hangup_after_bridge=true)
  684. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [hangup_after_bridge]=[true]
  685. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(continue_on_fail=TRUE)
  686. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [continue_on_fail]=[TRUE]
  687. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(account_id=6)
  688. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [account_id]=[6]
  689. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(parent_id=0)
  690. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [parent_id]=[0]
  691. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(entity_id=0)
  692. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [entity_id]=[0]
  693. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(call_processed=internal)
  694. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [call_processed]=[internal]
  695. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(call_direction=outbound)
  696. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [call_direction]=[outbound]
  697. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(accountname=default)
  698. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [accountname]=[default]
  699. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 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:6)
  700. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [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:6]
  701. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(original_caller_id_name=917030888000)
  702. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [original_caller_id_name]=[917030888000]
  703. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(original_caller_id_number=917030888000)
  704. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [original_caller_id_number]=[917030888000]
  705. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 hash(insert/95.216.147.158-last_dial/0000000000/1099999000)
  706. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 hash(insert/95.216.147.158-call_return/1099999000/0000000000)
  707. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(continue_on_fail=TRUE)
  708. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [continue_on_fail]=[TRUE]
  709. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_caller_id_name=917030888000)
  710. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_caller_id_name]=[917030888000]
  711. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_caller_id_number=917030888000)
  712. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_caller_id_number]=[917030888000]
  713. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(calltype=STANDARD)
  714. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [calltype]=[STANDARD]
  715. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 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)
  716. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  717. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(trunk_id=1)
  718. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [trunk_id]=[1]
  719. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(provider_id=3)
  720. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [provider_id]=[3]
  721. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(rate_flag=0)
  722. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [rate_flag]=[0]
  723. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(daily_call_credit_limit=0.00000)
  724. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [daily_call_credit_limit]=[0.00000]
  725. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(monthly_call_credit_limit=0.00000)
  726. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [monthly_call_credit_limit]=[0.00000]
  727. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(daily_call_used_limit=0.00000)
  728. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [daily_call_used_limit]=[0.00000]
  729. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(monthly_call_used_limit=0.00000)
  730. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [monthly_call_used_limit]=[0.00000]
  731. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(quality_trunk_seq=1)
  732. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [quality_trunk_seq]=[1]
  733. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(force_trunk_flag=0)
  734. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [force_trunk_flag]=[0]
  735. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_data=trunk_id=1)
  736. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  737. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(intcall=0)
  738. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [intcall]=[0]
  739. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_id=1099999000)
  740. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[1099999000]
  741. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158)
  742. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158]
  743. EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1099999000)
  744. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] to event
  745. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_id]=[1099999000] to event
  746. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] to event
  747. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  748. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  749. 2024-05-22 04:19:08.562135 2.10% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1099999000 [dedd6864-fe06-4eff-95e8-08b7ab5da5af]
  750. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_sofia.c:5110 (sofia/default/1099999000) State Change CS_NEW -> CS_INIT
  751. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_ivr_originate.c:3167 sofia/default/1099999000 Setting leg timeout to 30
  752. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_INIT (Cur 6 Tot 91)
  753. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1099999000) State INIT
  754. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_sofia.c:97 sofia/default/1099999000 SOFIA INIT
  755. 2024-05-22 04:19:08.562135 2.10% [INFO] sofia_glue.c:1659 sofia/default/1099999000 sending invite call-id: (null)
  756. 2024-05-22 04:19:08.562135 2.10% [DEBUG] sofia_glue.c:1662 sofia/default/1099999000 sending invite version: 1.10.10-release  64bit
  757. Local SDP:
  758. v=0
  759. o=FreeSWITCH 1716318828 1716318829 IN IP4 95.216.147.158
  760. s=FreeSWITCH
  761. c=IN IP4 95.216.147.158
  762. t=0 0
  763. m=audio 32720 RTP/AVP 8 18 101
  764. a=rtpmap:8 PCMA/8000
  765. a=rtpmap:18 G729/8000
  766. a=rtpmap:101 telephone-event/8000
  767. a=fmtp:101 0-15
  768. a=ptime:20
  769. a=sendrecv
  770.  
  771. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/1099999000 Standard INIT
  772. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1099999000) State Change CS_INIT -> CS_ROUTING
  773. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1099999000) State INIT going to sleep
  774. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_ROUTING (Cur 6 Tot 91)
  775. 2024-05-22 04:19:08.562135 2.10% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000 entering state [calling][0]
  776. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1099999000) State ROUTING
  777. 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_sofia.c:158 sofia/default/1099999000 SOFIA ROUTING
  778. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1099999000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  779. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1099999000) State ROUTING going to sleep
  780. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 91)
  781. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1099999000) State CONSUME_MEDIA
  782. 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1099999000) State CONSUME_MEDIA going to sleep
  783. 2024-05-22 04:19:10.110773 2.17% [NOTICE] switch_ivr_originate.c:367 Hangup sofia/default/107888888@nira.astppbilling.org:5060 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
  784. 2024-05-22 04:19:10.110773 2.17% [DEBUG] sofia.c:7493 Channel sofia/default/107888888 entering state [proceeding][183]
  785. 2024-05-22 04:19:10.110773 2.17% [DEBUG] sofia.c:7503 Remote SDP:
  786. v=0
  787. o=root 1257109877 1257109877 IN IP4 35.154.176.248
  788. s=Asterisk PBX 18.20.0
  789. c=IN IP4 35.154.176.248
  790. t=0 0
  791. m=audio 15290 RTP/AVP 8 101
  792. a=rtpmap:8 PCMA/8000
  793. a=rtpmap:101 telephone-event/8000
  794. a=fmtp:101 0-16
  795. a=maxptime:150
  796.  
  797. 2024-05-22 04:19:10.110773 2.17% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/107888888!
  798. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_channel.c:3585 (sofia/default/107888888) Callstate Change RINGING -> EARLY
  799. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  800. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  801. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  802. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  803. 2024-05-22 04:19:10.110773 2.17% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000 entering state [proceeding][180]
  804. 2024-05-22 04:19:10.110773 2.17% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/1099999000!
  805. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/107888888 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  806. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_codec.c:111 sofia/default/107888888 Original read codec set to PCMA:8
  807. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  808. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5856 sofia/default/107888888 Set 2833 dtmf send payload to 101 recv payload to 101
  809. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/107888888] 95.216.147.158 port 17840 -> 35.154.176.248 port 15290 codec: 8 ms: 20
  810. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_channel.c:3513 (sofia/default/1099999000) Callstate Change DOWN -> RINGING
  811. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 6 Tot 91)
  812. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  813. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/107888888@nira.astppbilling.org:5060) Callstate Change RINGING -> HANGUP
  814. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107888888@nira.astppbilling.org:5060) State HANGUP
  815. 2024-05-22 04:19:10.110773 2.17% [DEBUG] mod_sofia.c:469 Channel sofia/default/107888888@nira.astppbilling.org:5060 hanging up, cause: ALLOTTED_TIMEOUT
  816. 2024-05-22 04:19:10.110773 2.17% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/107888888@nira.astppbilling.org:5060
  817. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/107888888@nira.astppbilling.org:5060 Standard HANGUP, cause: ALLOTTED_TIMEOUT
  818. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107888888@nira.astppbilling.org:5060) State HANGUP going to sleep
  819. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  820. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 6 Tot 91)
  821. 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107888888@nira.astppbilling.org:5060) State REPORTING
  822. 2024-05-22 04:19:10.110773 2.17% [INFO] mod_json_cdr.c:272 Process [f42e8941-7223-46a6-927c-f477c5b49b6f.cdr.json]
  823. 2024-05-22 04:19:10.137581 2.17% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/0000000000@95.216.147.158!
  824. 2024-05-22 04:19:10.137581 2.17% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/0000000000@95.216.147.158!
  825. 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 802 [ALLOTTED_TIMEOUT]
  826. 2024-05-22 04:19:10.137581 2.17% [INFO] switch_ivr_originate.c:3858 Sending early media
  827. 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/0000000000@95.216.147.158] 95.216.147.158 port 27800 -> 95.216.147.158 port 27712 codec: 8 ms: 20
  828. 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_core_media.c:8972 sofia/default/107888888 Set 2833 dtmf send payload to 101
  829. 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_core_media.c:8979 sofia/default/107888888 Set 2833 dtmf receive payload to 101
  830. 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_core_media.c:9002 sofia/default/107888888 Set rtp dtmf delay to 40
  831. 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  832. 2024-05-22 04:19:10.166203 2.17% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [early][180]
  833. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_media.c:8972 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf send payload to 101
  834. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_media.c:8979 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf receive payload to 101
  835. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_media.c:9002 sofia/default/0000000000@95.216.147.158 Set rtp dtmf delay to 40
  836. 2024-05-22 04:19:10.446949 2.37% [DEBUG] mod_sofia.c:2607 Ring SDP:
  837. v=0
  838. o=FreeSWITCH 1716323750 1716323751 IN IP4 95.216.147.158
  839. s=FreeSWITCH
  840. c=IN IP4 95.216.147.158
  841. t=0 0
  842. m=audio 27800 RTP/AVP 8 101
  843. a=rtpmap:8 PCMA/8000
  844. a=rtpmap:101 telephone-event/8000
  845. a=fmtp:101 0-15
  846. a=ptime:20
  847. a=sendrecv
  848.  
  849. 2024-05-22 04:19:10.446949 2.37% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/0000000000@95.216.147.158!
  850. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_channel.c:3585 (sofia/default/0000000000@95.216.147.158) Callstate Change RINGING -> EARLY
  851. 2024-05-22 04:19:10.446949 2.37% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [terminated][487]
  852. 2024-05-22 04:19:10.446949 2.37% [NOTICE] sofia.c:8735 Hangup sofia/default/0000000000@95.216.147.158 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  853. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_ivr_originate.c:3865 sofia/default/0000000000@95.216.147.158 Media Establishment Failed.
  854. 2024-05-22 04:19:10.446949 2.37% [NOTICE] switch_ivr_originate.c:3867 Hangup sofia/default/107888888 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]
  855. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION]
  856. 2024-05-22 04:19:10.446949 2.37% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: INCOMPATIBLE_DESTINATION
  857. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_session.c:2979 sofia/default/0000000000@95.216.147.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  858. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0000000000@95.216.147.158) State EXECUTE going to sleep
  859. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_HANGUP (Cur 6 Tot 91)
  860. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0000000000@95.216.147.158) Callstate Change EARLY -> HANGUP
  861. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0000000000@95.216.147.158) State HANGUP
  862. 2024-05-22 04:19:10.446949 2.37% [DEBUG] mod_sofia.c:469 Channel sofia/default/0000000000@95.216.147.158 hanging up, cause: ORIGINATOR_CANCEL
  863. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/0000000000@95.216.147.158 Standard HANGUP, cause: ORIGINATOR_CANCEL
  864. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0000000000@95.216.147.158) State HANGUP going to sleep
  865. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0000000000@95.216.147.158) State Change CS_HANGUP -> CS_REPORTING
  866. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_REPORTING (Cur 6 Tot 91)
  867. 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0000000000@95.216.147.158) State REPORTING
  868. 2024-05-22 04:19:10.446949 2.37% [INFO] mod_json_cdr.c:272 Process [7943fd05-70b5-47e6-b84f-5bb6e6a25684.cdr.json]
  869. 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_HANGUP (Cur 6 Tot 91)
  870. 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/107888888) Callstate Change EARLY -> HANGUP
  871. 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107888888) State HANGUP
  872. 2024-05-22 04:19:10.884364 2.37% [DEBUG] mod_sofia.c:463 sofia/default/107888888 Overriding SIP cause 488 with 487 from the other leg
  873. 2024-05-22 04:19:10.884364 2.37% [DEBUG] mod_sofia.c:469 Channel sofia/default/107888888 hanging up, cause: INCOMPATIBLE_DESTINATION
  874. 2024-05-22 04:19:10.884364 2.37% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/107888888
  875. 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/107888888 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
  876. 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107888888) State HANGUP going to sleep
  877. 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/107888888) State Change CS_HANGUP -> CS_REPORTING
  878. 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_REPORTING (Cur 6 Tot 91)
  879. 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107888888) State REPORTING
  880. 2024-05-22 04:19:10.884364 2.37% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000@nira.astppbilling.org:5060 entering state [proceeding][180]
  881. 2024-05-22 04:19:10.884364 2.37% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/1099999000@nira.astppbilling.org:5060!
  882. 2024-05-22 04:19:10.884364 2.37% [INFO] mod_json_cdr.c:272 Process [e87d1ae5-ea9c-47cd-8056-752958785b81.cdr.json]
  883. 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_channel.c:3513 (sofia/default/1099999000@nira.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  884. 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/0000000000@95.216.147.158 Standard REPORTING, cause: ORIGINATOR_CANCEL
  885. 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0000000000@95.216.147.158) State REPORTING going to sleep
  886. 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0000000000@95.216.147.158) State Change CS_REPORTING -> CS_DESTROY
  887. 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_session.c:1744 Session 87 (sofia/default/0000000000@95.216.147.158) Locked, Waiting on external entities
  888. 2024-05-22 04:19:11.305506 2.67% [NOTICE] switch_core_session.c:1762 Session 87 (sofia/default/0000000000@95.216.147.158) Ended
  889. 2024-05-22 04:19:11.305506 2.67% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/0000000000@95.216.147.158 [CS_DESTROY]
  890. 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0000000000@95.216.147.158) Running State Change CS_DESTROY (Cur 5 Tot 91)
  891. 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0000000000@95.216.147.158) State DESTROY
  892. 2024-05-22 04:19:11.305506 2.67% [DEBUG] mod_sofia.c:380 sofia/default/0000000000@95.216.147.158 SOFIA DESTROY
  893. 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/0000000000@95.216.147.158 Standard DESTROY
  894. 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0000000000@95.216.147.158) State DESTROY going to sleep
  895. 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/107888888@nira.astppbilling.org:5060 Standard REPORTING, cause: ALLOTTED_TIMEOUT
  896. 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107888888@nira.astppbilling.org:5060) State REPORTING going to sleep
  897. 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  898. 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_session.c:1744 Session 86 (sofia/default/107888888@nira.astppbilling.org:5060) Locked, Waiting on external entities
  899. 2024-05-22 04:19:13.460672 2.77% [NOTICE] switch_core_session.c:1762 Session 86 (sofia/default/107888888@nira.astppbilling.org:5060) Ended
  900. 2024-05-22 04:19:13.460672 2.77% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/107888888@nira.astppbilling.org:5060 [CS_DESTROY]
  901. 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 4 Tot 91)
  902. 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107888888@nira.astppbilling.org:5060) State DESTROY
  903. 2024-05-22 04:19:13.460672 2.77% [DEBUG] mod_sofia.c:380 sofia/default/107888888@nira.astppbilling.org:5060 SOFIA DESTROY
  904. 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/107888888@nira.astppbilling.org:5060 Standard DESTROY
  905. 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107888888@nira.astppbilling.org:5060) State DESTROY going to sleep
  906. 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/107888888 Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
  907. 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107888888) State REPORTING going to sleep
  908. 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/107888888) State Change CS_REPORTING -> CS_DESTROY
  909. 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_session.c:1744 Session 88 (sofia/default/107888888) Locked, Waiting on external entities
  910. 2024-05-22 04:19:13.988326 2.77% [NOTICE] switch_core_session.c:1762 Session 88 (sofia/default/107888888) Ended
  911. 2024-05-22 04:19:13.988326 2.77% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/107888888 [CS_DESTROY]
  912. 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/107888888) Running State Change CS_DESTROY (Cur 3 Tot 91)
  913. 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107888888) State DESTROY
  914. 2024-05-22 04:19:13.988326 2.77% [DEBUG] mod_sofia.c:380 sofia/default/107888888 SOFIA DESTROY
  915. 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/107888888 Standard DESTROY
  916. 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107888888) State DESTROY going to sleep
  917. 2024-05-22 04:19:14.334159 2.80% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000 entering state [proceeding][183]
  918. 2024-05-22 04:19:14.334159 2.80% [DEBUG] sofia.c:7503 Remote SDP:
  919. v=0
  920. o=root 1159343637 1159343637 IN IP4 35.154.176.248
  921. s=Asterisk PBX 18.20.0
  922. c=IN IP4 35.154.176.248
  923. t=0 0
  924. m=audio 14082 RTP/AVP 8 101
  925. a=rtpmap:8 PCMA/8000
  926. a=rtpmap:101 telephone-event/8000
  927. a=fmtp:101 0-16
  928. a=maxptime:150
  929.  
  930. 2024-05-22 04:19:14.334159 2.80% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/1099999000!
  931. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_channel.c:3585 (sofia/default/1099999000) Callstate Change RINGING -> EARLY
  932. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  933. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  934. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  935. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  936. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1099999000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  937. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_codec.c:111 sofia/default/1099999000 Original read codec set to PCMA:8
  938. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  939. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5856 sofia/default/1099999000 Set 2833 dtmf send payload to 101 recv payload to 101
  940. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/1099999000] 95.216.147.158 port 32720 -> 35.154.176.248 port 14082 codec: 8 ms: 20
  941. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  942. 2024-05-22 04:19:14.334159 2.80% [INFO] switch_ivr_originate.c:3858 Sending early media
  943. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/0000000000@95.216.147.158] 95.216.147.158 port 28672 -> 95.216.147.158 port 18852 codec: 8 ms: 20
  944. 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  945. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8972 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf send payload to 101
  946. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8979 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf receive payload to 101
  947. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:9002 sofia/default/0000000000@95.216.147.158 Set rtp dtmf delay to 40
  948. 2024-05-22 04:19:14.359520 2.80% [DEBUG] mod_sofia.c:2607 Ring SDP:
  949. v=0
  950. o=FreeSWITCH 1716322882 1716322883 IN IP4 95.216.147.158
  951. s=FreeSWITCH
  952. c=IN IP4 95.216.147.158
  953. t=0 0
  954. m=audio 28672 RTP/AVP 8 101
  955. a=rtpmap:8 PCMA/8000
  956. a=rtpmap:101 telephone-event/8000
  957. a=fmtp:101 0-15
  958. a=ptime:20
  959. a=sendrecv
  960.  
  961. 2024-05-22 04:19:14.359520 2.80% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/0000000000@95.216.147.158!
  962. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_channel.c:3585 (sofia/default/0000000000@95.216.147.158) Callstate Change RINGING -> EARLY
  963. 2024-05-22 04:19:14.359520 2.80% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [early][183]
  964. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/1099999000] Peer UUID: dedd6864-fe06-4eff-95e8-08b7ab5da5af
  965. 2024-05-22 04:19:14.359520 2.80% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000@nira.astppbilling.org:5060 entering state [proceeding][183]
  966. 2024-05-22 04:19:14.359520 2.80% [DEBUG] sofia.c:7503 Remote SDP:
  967. v=0
  968. o=FreeSWITCH 1716322882 1716322883 IN IP4 95.216.147.158
  969. s=FreeSWITCH
  970. c=IN IP4 95.216.147.158
  971. t=0 0
  972. m=audio 28672 RTP/AVP 8 101
  973. a=rtpmap:8 PCMA/8000
  974. a=rtpmap:101 telephone-event/8000
  975. a=fmtp:101 0-15
  976. a=ptime:20
  977.  
  978. 2024-05-22 04:19:14.359520 2.80% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/1099999000@nira.astppbilling.org:5060!
  979. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_channel.c:3585 (sofia/default/1099999000@nira.astppbilling.org:5060) Callstate Change RINGING -> EARLY
  980. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  981. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  982. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  983. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  984. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1099999000@nira.astppbilling.org:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  985. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_codec.c:111 sofia/default/1099999000@nira.astppbilling.org:5060 Original read codec set to PCMA:8
  986. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  987. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5856 sofia/default/1099999000@nira.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  988. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/1099999000@nira.astppbilling.org:5060] 95.216.147.158 port 18852 -> 95.216.147.158 port 28672 codec: 8 ms: 20
  989. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  990. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8972 sofia/default/1099999000@nira.astppbilling.org:5060 Set 2833 dtmf send payload to 101
  991. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8979 sofia/default/1099999000@nira.astppbilling.org:5060 Set 2833 dtmf receive payload to 101
  992. 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:9002 sofia/default/1099999000@nira.astppbilling.org:5060 Set rtp dtmf delay to 40
  993. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/1099999000@nira.astppbilling.org:5060] Peer UUID: 69175f6d-d83f-4713-bab1-86c798ed64d7
  994. 2024-05-22 04:19:14.764629 2.80% [INFO] switch_channel.c:3289 sofia/default/1099999000@nira.astppbilling.org:5060 Flipping CID from "" <0000000000> to "Outbound Call" <1099999000>
  995. 2024-05-22 04:19:14.764629 2.80% [DEBUG] mod_commands.c:5164 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  996. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 3 Tot 91)
  997. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1099999000@nira.astppbilling.org:5060) State EXECUTE
  998. 2024-05-22 04:19:14.764629 2.80% [DEBUG] mod_sofia.c:213 sofia/default/1099999000@nira.astppbilling.org:5060 SOFIA EXECUTE
  999. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/1099999000@nira.astppbilling.org:5060 Standard EXECUTE
  1000. EXECUTE [depth=0] sofia/default/1099999000@nira.astppbilling.org:5060 lua(/usr/local/freeswitch/scripts/astpp/lib/astpp.autodialer.lua)
  1001. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_media.c:8972 sofia/default/1099999000 Set 2833 dtmf send payload to 101
  1002. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_media.c:8979 sofia/default/1099999000 Set 2833 dtmf receive payload to 101
  1003. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_media.c:9002 sofia/default/1099999000 Set rtp dtmf delay to 40
  1004. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/1099999000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1005. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 91)
  1006. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1099999000) State EXCHANGE_MEDIA
  1007. 2024-05-22 04:19:14.764629 2.80% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
  1008. 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  1009. 2024-05-22 04:19:14.764629 2.80% [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')
  1010. 2024-05-22 04:19:15.563122 2.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  1011. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_cpp.cpp:1209 sofia/default/1099999000@nira.astppbilling.org:5060 destroy/unlink session from object
  1012. 2024-05-22 04:19:15.563122 2.80% [NOTICE] switch_core_state_machine.c:382 sofia/default/1099999000@nira.astppbilling.org:5060 has executed the last dialplan instruction, hanging up.
  1013. 2024-05-22 04:19:15.563122 2.80% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1099999000@nira.astppbilling.org:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  1014. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1099999000@nira.astppbilling.org:5060) State EXECUTE going to sleep
  1015. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 3 Tot 91)
  1016. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:337 sofia/default/1099999000@nira.astppbilling.org:5060 skip receive message [AUDIO_SYNC] (channel is hungup already)
  1017. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:338 sofia/default/1099999000@nira.astppbilling.org:5060 skip receive message [VIDEO_SYNC] (channel is hungup already)
  1018. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1099999000@nira.astppbilling.org:5060) Callstate Change EARLY -> HANGUP
  1019. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1099999000@nira.astppbilling.org:5060) State HANGUP
  1020. 2024-05-22 04:19:15.563122 2.80% [DEBUG] mod_sofia.c:469 Channel sofia/default/1099999000@nira.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
  1021. 2024-05-22 04:19:15.563122 2.80% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/1099999000@nira.astppbilling.org:5060
  1022. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/1099999000@nira.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
  1023. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1099999000@nira.astppbilling.org:5060) State HANGUP going to sleep
  1024. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  1025. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 3 Tot 91)
  1026. 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1099999000@nira.astppbilling.org:5060) State REPORTING
  1027. 2024-05-22 04:19:15.563122 2.80% [INFO] mod_json_cdr.c:272 Process [69175f6d-d83f-4713-bab1-86c798ed64d7.cdr.json]
  1028. 2024-05-22 04:19:16.209835 2.80% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [terminated][487]
  1029. 2024-05-22 04:19:16.209835 2.80% [NOTICE] sofia.c:8735 Hangup sofia/default/0000000000@95.216.147.158 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  1030. 2024-05-22 04:19:16.209835 2.80% [DEBUG] switch_ivr_bridge.c:825 sofia/default/0000000000@95.216.147.158 ending bridge by request from read function
  1031. 2024-05-22 04:19:16.209835 2.80% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/0000000000@95.216.147.158]
  1032. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/1099999000]
  1033. 2024-05-22 04:19:16.305823 2.80% [NOTICE] switch_ivr_bridge.c:1023 Hangup sofia/default/1099999000 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  1034. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1099999000) State EXCHANGE_MEDIA going to sleep
  1035. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_HANGUP (Cur 3 Tot 91)
  1036. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1099999000) Callstate Change EARLY -> HANGUP
  1037. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1099999000) State HANGUP
  1038. 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:463 sofia/default/1099999000 Overriding SIP cause 487 with 487 from the other leg
  1039. 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:469 Channel sofia/default/1099999000 hanging up, cause: ORIGINATOR_CANCEL
  1040. 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/1099999000
  1041. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/1099999000 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1042. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1099999000) State HANGUP going to sleep
  1043. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1099999000) State Change CS_HANGUP -> CS_REPORTING
  1044. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_REPORTING (Cur 3 Tot 91)
  1045. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1099999000) State REPORTING
  1046. 2024-05-22 04:19:16.305823 2.80% [INFO] mod_json_cdr.c:272 Process [dedd6864-fe06-4eff-95e8-08b7ab5da5af.cdr.json]
  1047. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/1099999000 skip receive message [UNBRIDGE] (channel is hungup already)
  1048. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/0000000000@95.216.147.158 skip receive message [UNBRIDGE] (channel is hungup already)
  1049. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_session.c:2979 sofia/default/0000000000@95.216.147.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1050. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0000000000@95.216.147.158) State EXECUTE going to sleep
  1051. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_HANGUP (Cur 3 Tot 91)
  1052. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0000000000@95.216.147.158) Callstate Change EARLY -> HANGUP
  1053. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0000000000@95.216.147.158) State HANGUP
  1054. 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:469 Channel sofia/default/0000000000@95.216.147.158 hanging up, cause: ORIGINATOR_CANCEL
  1055. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/0000000000@95.216.147.158 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1056. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0000000000@95.216.147.158) State HANGUP going to sleep
  1057. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0000000000@95.216.147.158) State Change CS_HANGUP -> CS_REPORTING
  1058. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_REPORTING (Cur 3 Tot 91)
  1059. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0000000000@95.216.147.158) State REPORTING
  1060. 2024-05-22 04:19:16.305823 2.80% [INFO] mod_json_cdr.c:272 Process [fe88c356-a5e4-45ae-905b-5f7f97a7cc62.cdr.json]
  1061. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/1099999000@nira.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
  1062. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1099999000@nira.astppbilling.org:5060) State REPORTING going to sleep
  1063. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  1064. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_session.c:1744 Session 89 (sofia/default/1099999000@nira.astppbilling.org:5060) Locked, Waiting on external entities
  1065. 2024-05-22 04:19:16.305823 2.80% [NOTICE] switch_core_session.c:1762 Session 89 (sofia/default/1099999000@nira.astppbilling.org:5060) Ended
  1066. 2024-05-22 04:19:16.305823 2.80% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1099999000@nira.astppbilling.org:5060 [CS_DESTROY]
  1067. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 2 Tot 91)
  1068. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1099999000@nira.astppbilling.org:5060) State DESTROY
  1069. 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:380 sofia/default/1099999000@nira.astppbilling.org:5060 SOFIA DESTROY
  1070. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/1099999000@nira.astppbilling.org:5060 Standard DESTROY
  1071. 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1099999000@nira.astppbilling.org:5060) State DESTROY going to sleep
  1072. 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/1099999000 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1073. 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1099999000) State REPORTING going to sleep
  1074. 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1099999000) State Change CS_REPORTING -> CS_DESTROY
  1075. 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_session.c:1744 Session 91 (sofia/default/1099999000) Locked, Waiting on external entities
  1076. 2024-05-22 04:19:16.994950 2.80% [NOTICE] switch_core_session.c:1762 Session 91 (sofia/default/1099999000) Ended
  1077. 2024-05-22 04:19:16.994950 2.80% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1099999000 [CS_DESTROY]
  1078. 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1099999000) Running State Change CS_DESTROY (Cur 1 Tot 91)
  1079. 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1099999000) State DESTROY
  1080. 2024-05-22 04:19:16.994950 2.80% [DEBUG] mod_sofia.c:380 sofia/default/1099999000 SOFIA DESTROY
  1081. 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/1099999000 Standard DESTROY
  1082. 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1099999000) State DESTROY going to sleep
  1083. 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/0000000000@95.216.147.158 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1084. 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0000000000@95.216.147.158) State REPORTING going to sleep
  1085. 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0000000000@95.216.147.158) State Change CS_REPORTING -> CS_DESTROY
  1086. 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_session.c:1744 Session 90 (sofia/default/0000000000@95.216.147.158) Locked, Waiting on external entities
  1087. 2024-05-22 04:19:18.321024 3.20% [NOTICE] switch_core_session.c:1762 Session 90 (sofia/default/0000000000@95.216.147.158) Ended
  1088. 2024-05-22 04:19:18.321024 3.20% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/0000000000@95.216.147.158 [CS_DESTROY]
  1089. 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0000000000@95.216.147.158) Running State Change CS_DESTROY (Cur 0 Tot 91)
  1090. 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0000000000@95.216.147.158) State DESTROY
  1091. 2024-05-22 04:19:18.321024 3.20% [DEBUG] mod_sofia.c:380 sofia/default/0000000000@95.216.147.158 SOFIA DESTROY
  1092. 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/0000000000@95.216.147.158 Standard DESTROY
  1093. 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0000000000@95.216.147.158) State DESTROY going to sleep
  1094. freeswitch@NiraliASTPPTEST>
  1095. freeswitch@NiraliASTPPTEST>
  1096. freeswitch@NiraliASTPPTEST>
  1097. freeswitch@NiraliASTPPTEST>
  1098. freeswitch@NiraliASTPPTEST>