From Steven, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-04-20 06:12:01.913878 98.63% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6599780094@164.90.182.64 [d0b9f705-862a-468d-997a-783f891b67dc]
  2. 2023-04-20 06:12:01.913878 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6599780094@164.90.182.64) Running State Change CS_NEW (Cur 1 Tot 20695)
  3. 2023-04-20 06:12:01.913878 98.63% [INFO] sofia.c:10453 sofia/default/6599780094@164.90.182.64 receiving invite from 59.89.109.221:18228 version: 1.10.9 -release-21-a615e85afc 64bit call-id: 4a283a1d2b4bb100NDY5MTRiYTRhZDI1MzNhYmYwZDQ4NTk0MzY3NmRjZDU.
  4. 2023-04-20 06:12:01.913878 98.63% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 59.89.109.221:0.
  5. 2023-04-20 06:12:01.913878 98.63% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [12028448022@164.90.182.64] from ip 59.89.109.221
  6. 2023-04-20 06:12:01.913878 98.63% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6599780094@164.90.182.64) State NEW
  7. 2023-04-20 06:12:01.913878 98.63% [DEBUG] sofia.c:2419 detaching session d0b9f705-862a-468d-997a-783f891b67dc
  8. 2023-04-20 06:12:02.253947 98.63% [DEBUG] sofia.c:2532 Re-attaching to session d0b9f705-862a-468d-997a-783f891b67dc
  9. 2023-04-20 06:12:02.273877 98.63% [INFO] sofia.c:10453 sofia/default/6599780094@164.90.182.64 receiving invite from 59.89.109.221:18228 version: 1.10.9 -release-21-a615e85afc 64bit call-id: 4a283a1d2b4bb100NDY5MTRiYTRhZDI1MzNhYmYwZDQ4NTk0MzY3NmRjZDU.
  10. 2023-04-20 06:12:02.273877 98.63% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 59.89.109.221:0.
  11. 2023-04-20 06:12:02.273877 98.63% [DEBUG] sofia.c:11668 Setting NAT mode based on via received
  12. 2023-04-20 06:12:02.273877 98.63% [DEBUG] sofia.c:7487 Channel sofia/default/6599780094@164.90.182.64 entering state [received][100]
  13. 2023-04-20 06:12:02.273877 98.63% [DEBUG] sofia.c:7497 Remote SDP:
  14. v=0
  15. o=- 1 2 IN IP4 192.168.101.12
  16. s=CounterPath eyeBeam 1.5
  17. c=IN IP4 192.168.101.12
  18. t=0 0
  19. m=audio 46496 RTP/AVP 107 100 106 6 0 105 18 3 5 101
  20. a=rtpmap:107 BV32/16000
  21. a=rtpmap:100 SPEEX/16000
  22. a=rtpmap:106 SPEEX-FEC/16000
  23. a=rtpmap:105 SPEEX-FEC/8000
  24. a=fmtp:18 annexb=no
  25. a=rtpmap:101 telephone-event/8000
  26. a=fmtp:101 0-15
  27. a=alt:1 1 : m2RyMLG7 vKXhUdtE 192.168.101.12 46496
  28. a=x-rtp-session-id:529804B4FCC649989D338213A653CD32
  29.  
  30. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [BV32:107:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [BV32:107:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [BV32:107:16000:20:0:1]/[G729:18:8000:20:8000:1]
  33. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [SPEEX:100:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  34. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [SPEEX:100:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [SPEEX:100:16000:20:0:1]/[G729:18:8000:20:8000:1]
  36. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [SPEEX-FEC:106:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [SPEEX-FEC:106:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [SPEEX-FEC:106:16000:20:0:1]/[G729:18:8000:20:8000:1]
  39. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [DVI4:6:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [DVI4:6:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [DVI4:6:16000:20:0:1]/[G729:18:8000:20:8000:1]
  42. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  43. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  44. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  45. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  46. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [SPEEX-FEC:105:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  47. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [SPEEX-FEC:105:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  48. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [SPEEX-FEC:105:8000:20:0:1]/[G729:18:8000:20:8000:1]
  49. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  50. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  51. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  52. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  53. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  54. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  55. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  56. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [DVI4:5:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  57. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [DVI4:5:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  58. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [DVI4:5:8000:20:0:1]/[G729:18:8000:20:8000:1]
  59. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  60. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/6599780094@164.90.182.64 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  61. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_codec.c:111 sofia/default/6599780094@164.90.182.64 Original read codec set to PCMU:0
  62. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  63. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_media.c:5850 sofia/default/6599780094@164.90.182.64 Set 2833 dtmf send payload to 101 recv payload to 101
  64. 2023-04-20 06:12:02.273877 98.63% [DEBUG] sofia.c:7921 (sofia/default/6599780094@164.90.182.64) State Change CS_NEW -> CS_INIT
  65. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6599780094@164.90.182.64) Running State Change CS_INIT (Cur 1 Tot 20695)
  66. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6599780094@164.90.182.64) State INIT
  67. 2023-04-20 06:12:02.273877 98.63% [DEBUG] mod_sofia.c:97 sofia/default/6599780094@164.90.182.64 SOFIA INIT
  68. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/6599780094@164.90.182.64 Standard INIT
  69. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6599780094@164.90.182.64) State Change CS_INIT -> CS_ROUTING
  70. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6599780094@164.90.182.64) State INIT going to sleep
  71. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6599780094@164.90.182.64) Running State Change CS_ROUTING (Cur 1 Tot 20695)
  72. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_channel.c:2380 (sofia/default/6599780094@164.90.182.64) Callstate Change DOWN -> RINGING
  73. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6599780094@164.90.182.64) State ROUTING
  74. 2023-04-20 06:12:02.273877 98.63% [DEBUG] mod_sofia.c:158 sofia/default/6599780094@164.90.182.64 SOFIA ROUTING
  75. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/6599780094@164.90.182.64 Standard ROUTING
  76. 2023-04-20 06:12:02.273877 98.63% [INFO] mod_dialplan_xml.c:639 Processing 12028965503 <6599780094>->12028448022 in context default
  77. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  78. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  79. 2023-04-20 06:12:02.273877 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 12028448022
  80. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '12028448022' AND status=0 limit 1
  81. 2023-04-20 06:12:02.273877 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 12028965503 / 6599780094
  82. 2023-04-20 06:12:02.273877 98.63% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12028448022" LIMIT 1
  83. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="12028448022" limit 1
  84. 2023-04-20 06:12:02.273877 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  85. 2023-04-20 06:12:02.273877 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6599780094]
  86. 2023-04-20 06:12:02.273877 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6599780094" AND deleted = 0 limit 1
  87. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^12028448022.*' OR blocked_patterns = '^1202844802.*' OR blocked_patterns = '^120284480.*' OR blocked_patterns = '^12028448.*' OR blocked_patterns = '^1202844.*' OR blocked_patterns = '^120284.*' OR blocked_patterns = '^12028.*' OR blocked_patterns = '^1202.*' OR blocked_patterns = '^120.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 14 limit 1
  88. 2023-04-20 06:12:02.295072 98.63% [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 ="12028448022" AND A.accountid = '14' limit 1
  89. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 12028448022
  90. 2023-04-20 06:12:02.295072 98.63% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12028448022" LIMIT 1
  91. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="12028448022" limit 1
  92. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  93. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="12028448022" AND (accountid = 0 OR status = 1) LIMIT 1
  94. 2023-04-20 06:12:02.295072 98.63% [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 (patterns = '^12028448022.*' OR patterns = '^1202844802.*' OR patterns = '^120284480.*' OR patterns = '^12028448.*' OR patterns = '^1202844.*' OR patterns = '^120284.*' OR patterns = '^12028.*' OR patterns = '^1202.*' OR patterns = '^120.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 14 ORDER BY LENGTH(PKGPTR.patterns) DESC
  95. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  96. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 14
  97. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6599780094
  98. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
  99. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  100. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  101. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  102. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  103. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  104. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^12028448022.*' OR pattern = '^1202844802.*' OR pattern = '^120284480.*' OR pattern = '^12028448.*' OR pattern = '^1202844.*' OR pattern = '^120284.*' OR pattern = '^12028.*' OR pattern = '^1202.*' OR pattern = '^120.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 4 OR accountid=14)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  105. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  106. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  107. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  108. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  109. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  110. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  111. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
  112. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  113. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 14
  114. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 3
  115. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  116. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  117. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 14 !!!
  118. 2023-04-20 06:12:02.295072 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  119. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  120. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  121. 2023-04-20 06:12:02.295072 98.63% [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 = '^12028448022.*' OR pattern = '^1202844802.*' OR pattern = '^120284480.*' OR pattern = '^12028448.*' OR pattern = '^1202844.*' OR pattern = '^120284.*' OR pattern = '^12028.*' OR pattern = '^1202.*' OR pattern = '^120.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3)  ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  122. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  123. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  124. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  125. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  126. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  127. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  128. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  129. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  130. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  131. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  132. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : EV1_Telecom
  133. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  134. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : EV1_Telecom
  135. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 13
  136. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 2000
  137. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : EV1_Telecom
  138. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  139. 2023-04-20 06:12:02.295072 98.63% [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 = 14 AND status=0 LIMIT 1
  140. 2023-04-20 06:12:02.295072 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  141. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  142. 2023-04-20 06:12:02.295072 98.63% [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 = 3) AND status=0 limit 1
  143. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 13) AND status=0 limit 1
  144. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6599780094" limit 1
  145. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  146. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  147. <document type="freeswitch/xml">
  148. <section name="dialplan" description="ASTPP Dialplan">
  149. <context name="default">
  150. <extension name="12028448022">
  151. <condition field="destination_number" expression="12028448022">
  152. <action application="set" data="effective_destination_number=12028448022"/>
  153. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  154. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  155. <action application="set" data="callstart=2023-04-20 06:12:01"/>
  156. <action application="set" data="hangup_after_bridge=true"/>
  157. <action application="set" data="continue_on_fail=TRUE"/>
  158. <action application="set" data="account_id=14"/>
  159. <action application="set" data="parent_id=0"/>
  160. <action application="set" data="entity_id=0"/>
  161. <action application="set" data="call_processed=internal"/>
  162. <action application="set" data="call_direction=outbound"/>
  163. <action application="set" data="accountname=default"/>
  164. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:4|MARKUP:0|CI:0|ACCID:14"/>
  165. <action application="set" data="original_caller_id_name=12028965503"/>
  166. <action application="set" data="original_caller_id_number=6599780094"/>
  167. <action application="limit" data="db 6599780094 user_6599780094 10 !SWITCH_CONGESTION"/>
  168. <action application="limit" data="hash CPS_6599780094 CPS_user_6599780094 10/1 !SWITCH_CONGESTION"/>
  169.  
  170. <action application="set" data="calltype=STANDARD"/>
  171. <action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00380|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:13"/>
  172. <action application="set" data="trunk_id=3"/>
  173. <action application="set" data="provider_id=13"/>
  174. <action application="set" data="rate_flag=0"/>
  175. <action application="set" data="force_trunk_flag=1"/>
  176. <action application="export" data="presence_data=trunk_id=3"/>
  177. <action application="set" data="intcall=0"/>
  178. <action application="export" data="presence_data=x|||Steven(6599780094)|||^1.* // USA // 0.20000 // trunk_id=3|||EV1_Telecom // ^1.* // USA // 0.00380 // trunk_id=3|||STD"/>
  179. <action application="limit" data="hash CPS_3 CPS_trunk_3 2000/1 !SWITCH_CONGESTION"/>
  180. <action application="limit_execute" data="db EV1_Telecom gw_EV1_Telecom 2000 bridge {sip_cid_type=none}[leg_timeout=0]sofia/gateway/EV1_Telecom/12028448022"/>
  181. </condition>
  182. </extension>
  183. </context>
  184. </section>
  185. </document>
  186. Dialplan: sofia/default/6599780094@164.90.182.64 parsing [default->12028448022] continue=false
  187. Dialplan: sofia/default/6599780094@164.90.182.64 Regex (PASS) [12028448022] destination_number(12028448022) =~ /12028448022/ break=on-false
  188. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(effective_destination_number=12028448022)
  189. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  190. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  191. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(callstart=2023-04-20 06:12:01)
  192. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(hangup_after_bridge=true)
  193. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(continue_on_fail=TRUE)
  194. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(account_id=14)
  195. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(parent_id=0)
  196. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(entity_id=0)
  197. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(call_processed=internal)
  198. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(call_direction=outbound)
  199. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(accountname=default)
  200. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:4|MARKUP:0|CI:0|ACCID:14)
  201. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(original_caller_id_name=12028965503)
  202. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(original_caller_id_number=6599780094)
  203. Dialplan: sofia/default/6599780094@164.90.182.64 Action limit(db 6599780094 user_6599780094 10 !SWITCH_CONGESTION)
  204. Dialplan: sofia/default/6599780094@164.90.182.64 Action limit(hash CPS_6599780094 CPS_user_6599780094 10/1 !SWITCH_CONGESTION)
  205. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(calltype=STANDARD)
  206. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00380|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:13)
  207. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(trunk_id=3)
  208. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(provider_id=13)
  209. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(rate_flag=0)
  210. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(force_trunk_flag=1)
  211. Dialplan: sofia/default/6599780094@164.90.182.64 Action export(presence_data=trunk_id=3)
  212. Dialplan: sofia/default/6599780094@164.90.182.64 Action set(intcall=0)
  213. Dialplan: sofia/default/6599780094@164.90.182.64 Action export(presence_data=x|||Steven(6599780094)|||^1.* // USA // 0.20000 // trunk_id=3|||EV1_Telecom // ^1.* // USA // 0.00380 // trunk_id=3|||STD)
  214. Dialplan: sofia/default/6599780094@164.90.182.64 Action limit(hash CPS_3 CPS_trunk_3 2000/1 !SWITCH_CONGESTION)
  215. Dialplan: sofia/default/6599780094@164.90.182.64 Action limit_execute(db EV1_Telecom gw_EV1_Telecom 2000 bridge {sip_cid_type=none}[leg_timeout=0]sofia/gateway/EV1_Telecom/12028448022)
  216. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6599780094@164.90.182.64) State Change CS_ROUTING -> CS_EXECUTE
  217. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6599780094@164.90.182.64) State ROUTING going to sleep
  218. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6599780094@164.90.182.64) Running State Change CS_EXECUTE (Cur 1 Tot 20695)
  219. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6599780094@164.90.182.64) State EXECUTE
  220. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_sofia.c:213 sofia/default/6599780094@164.90.182.64 SOFIA EXECUTE
  221. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/6599780094@164.90.182.64 Standard EXECUTE
  222. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(effective_destination_number=12028448022)
  223. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [effective_destination_number]=[12028448022]
  224. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(bridge_pre_execute_bleg_app=sched_hangup)
  225. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [bridge_pre_execute_bleg_app]=[sched_hangup]
  226. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  227. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  228. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(callstart=2023-04-20 06:12:01)
  229. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [callstart]=[2023-04-20 06:12:01]
  230. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(hangup_after_bridge=true)
  231. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [hangup_after_bridge]=[true]
  232. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(continue_on_fail=TRUE)
  233. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [continue_on_fail]=[TRUE]
  234. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(account_id=14)
  235. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [account_id]=[14]
  236. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(parent_id=0)
  237. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [parent_id]=[0]
  238. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(entity_id=0)
  239. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [entity_id]=[0]
  240. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(call_processed=internal)
  241. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [call_processed]=[internal]
  242. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(call_direction=outbound)
  243. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [call_direction]=[outbound]
  244. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(accountname=default)
  245. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [accountname]=[default]
  246. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:4|MARKUP:0|CI:0|ACCID:14)
  247. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:4|MARKUP:0|CI:0|ACCID:14]
  248. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(original_caller_id_name=12028965503)
  249. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [original_caller_id_name]=[12028965503]
  250. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(original_caller_id_number=6599780094)
  251. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [original_caller_id_number]=[6599780094]
  252. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 limit(db 6599780094 user_6599780094 10 !SWITCH_CONGESTION)
  253. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_limit.c:124 incr called: 6599780094_user_6599780094 max:10, interval:0
  254. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_db.c:194 Usage for 6599780094_user_6599780094 is now 1/10
  255. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 limit(hash CPS_6599780094 CPS_user_6599780094 10/1 !SWITCH_CONGESTION)
  256. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_limit.c:124 incr called: CPS_6599780094_CPS_user_6599780094 max:10, interval:1
  257. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_hash.c:195 Usage for CPS_6599780094_CPS_user_6599780094 is now 1/10 for the last 1 seconds
  258. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(calltype=STANDARD)
  259. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [calltype]=[STANDARD]
  260. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00380|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:13)
  261. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00380|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:13]
  262. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(trunk_id=3)
  263. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [trunk_id]=[3]
  264. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(provider_id=13)
  265. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [provider_id]=[13]
  266. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(rate_flag=0)
  267. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [rate_flag]=[0]
  268. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(force_trunk_flag=1)
  269. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [force_trunk_flag]=[1]
  270. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 export(presence_data=trunk_id=3)
  271. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  272. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 set(intcall=0)
  273. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_dptools.c:1673 SET sofia/default/6599780094@164.90.182.64 [intcall]=[0]
  274. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 export(presence_data=x|||Steven(6599780094)|||^1.* // USA // 0.20000 // trunk_id=3|||EV1_Telecom // ^1.* // USA // 0.00380 // trunk_id=3|||STD)
  275. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Steven(6599780094)|||^1.* // USA // 0.20000 // trunk_id=3|||EV1_Telecom // ^1.* // USA // 0.00380 // trunk_id=3|||STD]
  276. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 limit(hash CPS_3 CPS_trunk_3 2000/1 !SWITCH_CONGESTION)
  277. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_limit.c:124 incr called: CPS_3_CPS_trunk_3 max:2000, interval:1
  278. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_hash.c:195 Usage for CPS_3_CPS_trunk_3 is now 1/2000 for the last 1 seconds
  279. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 limit_execute(db EV1_Telecom gw_EV1_Telecom 2000 bridge {sip_cid_type=none}[leg_timeout=0]sofia/gateway/EV1_Telecom/12028448022)
  280. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_limit.c:124 incr called: EV1_Telecom_gw_EV1_Telecom max:2000, interval:0
  281. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_db.c:194 Usage for EV1_Telecom_gw_EV1_Telecom is now 1/2000
  282. EXECUTE [depth=0] sofia/default/6599780094@164.90.182.64 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/EV1_Telecom/12028448022)
  283. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_channel.c:1269 sofia/default/6599780094@164.90.182.64 EXPORTING[export_vars] [presence_data]=[x|||Steven(6599780094)|||^1.* // USA // 0.20000 // trunk_id=3|||EV1_Telecom // ^1.* // USA // 0.00380 // trunk_id=3|||STD] to event
  284. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_channel.c:1269 sofia/default/6599780094@164.90.182.64 EXPORTING[export_vars] [presence_data]=[x|||Steven(6599780094)|||^1.* // USA // 0.20000 // trunk_id=3|||EV1_Telecom // ^1.* // USA // 0.00380 // trunk_id=3|||STD] to event
  285. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  286. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  287. 2023-04-20 06:12:02.295072 98.63% [NOTICE] switch_channel.c:1123 New Channel sofia/default/12028448022 [b1216bca-ad77-413c-adeb-533a15b8d2b8]
  288. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_sofia.c:5117 (sofia/default/12028448022) State Change CS_NEW -> CS_INIT
  289. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12028448022) Running State Change CS_INIT (Cur 2 Tot 20696)
  290. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/12028448022) State INIT
  291. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_sofia.c:97 sofia/default/12028448022 SOFIA INIT
  292. 2023-04-20 06:12:02.295072 98.63% [INFO] sofia_glue.c:1654 sofia/default/12028448022 sending invite call-id: (null)
  293. 2023-04-20 06:12:02.295072 98.63% [DEBUG] sofia_glue.c:1657 sofia/default/12028448022 sending invite version: 1.10.9 -release-21-a615e85afc 64bit
  294. Local SDP:
  295. v=0
  296. o=FreeSWITCH 1681948220 1681948221 IN IP4 164.90.182.64
  297. s=FreeSWITCH
  298. c=IN IP4 164.90.182.64
  299. t=0 0
  300. m=audio 22902 RTP/AVP 0 101
  301. a=rtpmap:0 PCMU/8000
  302. a=rtpmap:101 telephone-event/8000
  303. a=fmtp:101 0-15
  304. a=ptime:20
  305. a=sendrecv
  306.  
  307. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/12028448022 Standard INIT
  308. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/12028448022) State Change CS_INIT -> CS_ROUTING
  309. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/12028448022) State INIT going to sleep
  310. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12028448022) Running State Change CS_ROUTING (Cur 2 Tot 20696)
  311. 2023-04-20 06:12:02.295072 98.63% [DEBUG] sofia.c:7487 Channel sofia/default/12028448022 entering state [calling][0]
  312. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/12028448022) State ROUTING
  313. 2023-04-20 06:12:02.295072 98.63% [DEBUG] mod_sofia.c:158 sofia/default/12028448022 SOFIA ROUTING
  314. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_ivr_originate.c:67 (sofia/default/12028448022) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  315. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/12028448022) State ROUTING going to sleep
  316. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12028448022) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 20696)
  317. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:659 (sofia/default/12028448022) State CONSUME_MEDIA
  318. 2023-04-20 06:12:02.295072 98.63% [DEBUG] switch_core_state_machine.c:659 (sofia/default/12028448022) State CONSUME_MEDIA going to sleep
  319. 2023-04-20 06:12:02.393875 98.63% [DEBUG] sofia.c:6666 Remote Reason: 54
  320. 2023-04-20 06:12:02.393875 98.63% [DEBUG] sofia.c:7487 Channel sofia/default/12028448022 entering state [terminated][403]
  321. 2023-04-20 06:12:02.393875 98.63% [NOTICE] sofia.c:8729 Hangup sofia/default/12028448022 [CS_CONSUME_MEDIA] [INCOMING_CALL_BARRED]
  322. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12028448022) Running State Change CS_HANGUP (Cur 2 Tot 20696)
  323. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/12028448022) Callstate Change DOWN -> HANGUP
  324. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/12028448022) State HANGUP
  325. 2023-04-20 06:12:02.393875 98.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/12028448022 hanging up, cause: INCOMING_CALL_BARRED
  326. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/12028448022 Standard HANGUP, cause: INCOMING_CALL_BARRED
  327. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/12028448022) State HANGUP going to sleep
  328. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/12028448022) State Change CS_HANGUP -> CS_REPORTING
  329. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12028448022) Running State Change CS_REPORTING (Cur 2 Tot 20696)
  330. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/12028448022) State REPORTING
  331. 2023-04-20 06:12:02.393875 98.63% [INFO] mod_json_cdr.c:272 Process [b1216bca-ad77-413c-adeb-533a15b8d2b8.cdr.json]
  332. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/12028448022 Standard REPORTING, cause: INCOMING_CALL_BARRED
  333. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/12028448022) State REPORTING going to sleep
  334. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/12028448022) State Change CS_REPORTING -> CS_DESTROY
  335. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_core_session.c:1743 Session 20696 (sofia/default/12028448022) Locked, Waiting on external entities
  336. 2023-04-20 06:12:02.393875 98.63% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 54 [INCOMING_CALL_BARRED]
  337. 2023-04-20 06:12:02.393875 98.63% [NOTICE] switch_core_session.c:1761 Session 20696 (sofia/default/12028448022) Ended
  338. 2023-04-20 06:12:02.393875 98.63% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/12028448022 [CS_DESTROY]
  339. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/12028448022) Running State Change CS_DESTROY (Cur 1 Tot 20696)
  340. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/12028448022) State DESTROY
  341. 2023-04-20 06:12:02.413873 98.63% [DEBUG] mod_sofia.c:379 sofia/default/12028448022 SOFIA DESTROY
  342. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/12028448022 Standard DESTROY
  343. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/12028448022) State DESTROY going to sleep
  344. 2023-04-20 06:12:02.413873 98.63% [INFO] mod_dptools.c:3637 Originate Failed.  Cause: INCOMING_CALL_BARRED
  345. 2023-04-20 06:12:02.413873 98.63% [INFO] mod_dptools.c:4908 immediately releasing
  346. 2023-04-20 06:12:02.413873 98.63% [NOTICE] switch_core_state_machine.c:382 sofia/default/6599780094@164.90.182.64 has executed the last dialplan instruction, hanging up.
  347. 2023-04-20 06:12:02.413873 98.63% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6599780094@164.90.182.64 [CS_EXECUTE] [NORMAL_CLEARING]
  348. 2023-04-20 06:12:02.413873 98.63% [DEBUG] mod_hash.c:293 Usage for CPS_3_CPS_trunk_3 is now 0
  349. 2023-04-20 06:12:02.413873 98.63% [DEBUG] mod_hash.c:293 Usage for CPS_6599780094_CPS_user_6599780094 is now 0
  350. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6599780094@164.90.182.64) State EXECUTE going to sleep
  351. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6599780094@164.90.182.64) Running State Change CS_HANGUP (Cur 1 Tot 20696)
  352. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6599780094@164.90.182.64) Callstate Change RINGING -> HANGUP
  353. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6599780094@164.90.182.64) State HANGUP
  354. 2023-04-20 06:12:02.413873 98.63% [DEBUG] mod_sofia.c:462 sofia/default/6599780094@164.90.182.64 Overriding SIP cause 480 with 403 from the other leg
  355. 2023-04-20 06:12:02.413873 98.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/6599780094@164.90.182.64 hanging up, cause: NORMAL_CLEARING
  356. 2023-04-20 06:12:02.413873 98.63% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 403
  357. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/6599780094@164.90.182.64 Standard HANGUP, cause: NORMAL_CLEARING
  358. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6599780094@164.90.182.64) State HANGUP going to sleep
  359. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6599780094@164.90.182.64) State Change CS_HANGUP -> CS_REPORTING
  360. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6599780094@164.90.182.64) Running State Change CS_REPORTING (Cur 1 Tot 20696)
  361. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6599780094@164.90.182.64) State REPORTING
  362. 2023-04-20 06:12:02.413873 98.63% [INFO] mod_json_cdr.c:272 Process [d0b9f705-862a-468d-997a-783f891b67dc.cdr.json]
  363. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/6599780094@164.90.182.64 Standard REPORTING, cause: NORMAL_CLEARING
  364. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6599780094@164.90.182.64) State REPORTING going to sleep
  365. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6599780094@164.90.182.64) State Change CS_REPORTING -> CS_DESTROY
  366. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_session.c:1743 Session 20695 (sofia/default/6599780094@164.90.182.64) Locked, Waiting on external entities
  367. 2023-04-20 06:12:02.413873 98.63% [NOTICE] switch_core_session.c:1761 Session 20695 (sofia/default/6599780094@164.90.182.64) Ended
  368. 2023-04-20 06:12:02.413873 98.63% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/6599780094@164.90.182.64 [CS_DESTROY]
  369. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6599780094@164.90.182.64) Running State Change CS_DESTROY (Cur 0 Tot 20696)
  370. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6599780094@164.90.182.64) State DESTROY
  371. 2023-04-20 06:12:02.413873 98.63% [DEBUG] mod_sofia.c:379 sofia/default/6599780094@164.90.182.64 SOFIA DESTROY
  372. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/6599780094@164.90.182.64 Standard DESTROY
  373. 2023-04-20 06:12:02.413873 98.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6599780094@164.90.182.64) State DESTROY going to sleep
  374. 2023-04-20 06:13:35.433962 97.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9060111649018264@164.90.182.64 [e90c0a56-5172-46d4-ba1f-e66c37d1892d]
  375. 2023-04-20 06:13:35.433962 97.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9060111649018264@164.90.182.64) Running State Change CS_NEW (Cur 1 Tot 20697)
  376. 2023-04-20 06:13:35.433962 97.30% [INFO] sofia.c:10453 sofia/default/9060111649018264@164.90.182.64 receiving invite from 212.83.181.8:60575 version: 1.10.9 -release-21-a615e85afc 64bit call-id: 629914142-1449222242-582290941
  377. 2023-04-20 06:13:35.433962 97.30% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 212.83.181.8:0.
  378. 2023-04-20 06:13:35.433962 97.30% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [906011972593805701@164.90.182.64] from ip 212.83.181.8
  379. 2023-04-20 06:13:35.433962 97.30% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9060111649018264@164.90.182.64) State NEW
  380. 2023-04-20 06:13:35.433962 97.30% [DEBUG] sofia.c:2419 detaching session e90c0a56-5172-46d4-ba1f-e66c37d1892d
  381. 2023-04-20 06:13:45.453947 98.77% [WARNING] switch_core_state_machine.c:684 e90c0a56-5172-46d4-ba1f-e66c37d1892d sofia/default/9060111649018264@164.90.182.64 Abandoned
  382. 2023-04-20 06:13:45.453947 98.77% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/9060111649018264@164.90.182.64 [CS_NEW] [WRONG_CALL_STATE]
  383. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9060111649018264@164.90.182.64) Running State Change CS_HANGUP (Cur 1 Tot 20697)
  384. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9060111649018264@164.90.182.64) Callstate Change DOWN -> HANGUP
  385. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9060111649018264@164.90.182.64) State HANGUP
  386. 2023-04-20 06:13:45.453947 98.77% [DEBUG] mod_sofia.c:468 Channel sofia/default/9060111649018264@164.90.182.64 hanging up, cause: WRONG_CALL_STATE
  387. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:59 sofia/default/9060111649018264@164.90.182.64 Standard HANGUP, cause: WRONG_CALL_STATE
  388. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9060111649018264@164.90.182.64) State HANGUP going to sleep
  389. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9060111649018264@164.90.182.64) State Change CS_HANGUP -> CS_REPORTING
  390. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9060111649018264@164.90.182.64) Running State Change CS_REPORTING (Cur 1 Tot 20697)
  391. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9060111649018264@164.90.182.64) State REPORTING
  392. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/9060111649018264@164.90.182.64 Standard REPORTING, cause: WRONG_CALL_STATE
  393. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9060111649018264@164.90.182.64) State REPORTING going to sleep
  394. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9060111649018264@164.90.182.64) State Change CS_REPORTING -> CS_DESTROY
  395. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_session.c:1743 Session 20697 (sofia/default/9060111649018264@164.90.182.64) Locked, Waiting on external entities
  396. 2023-04-20 06:13:45.453947 98.77% [NOTICE] switch_core_session.c:1761 Session 20697 (sofia/default/9060111649018264@164.90.182.64) Ended
  397. 2023-04-20 06:13:45.453947 98.77% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/9060111649018264@164.90.182.64 [CS_DESTROY]
  398. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9060111649018264@164.90.182.64) Running State Change CS_DESTROY (Cur 0 Tot 20697)
  399. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9060111649018264@164.90.182.64) State DESTROY
  400. 2023-04-20 06:13:45.453947 98.77% [DEBUG] mod_sofia.c:379 sofia/default/9060111649018264@164.90.182.64 SOFIA DESTROY
  401. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/9060111649018264@164.90.182.64 Standard DESTROY
  402. 2023-04-20 06:13:45.453947 98.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9060111649018264@164.90.182.64) State DESTROY going to sleep
captcha