From Chanel_unaccepted1, 11 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-01-23 11:48:45.238581 39.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/101@astpplight.astppbilling.org [0ad3d6a2-98ea-4bbe-ad75-38c09f5e9238]
  2. 2024-01-23 11:48:45.238581 39.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_NEW (Cur 3 Tot 824)
  3. 2024-01-23 11:48:45.238581 39.57% [INFO] sofia.c:10453 sofia/default/101@astpplight.astppbilling.org receiving invite from 157.32.98.184:60085 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: zqPHIObsq4
  4. 2024-01-23 11:48:45.238581 39.57% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 157.32.98.184:0.
  5. 2024-01-23 11:48:45.238581 39.57% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [21698578@astpplight.astppbilling.org] from ip 157.32.98.184
  6. 2024-01-23 11:48:45.238581 39.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/101@astpplight.astppbilling.org) State NEW
  7. 2024-01-23 11:48:45.238581 39.57% [DEBUG] sofia.c:2419 detaching session 0ad3d6a2-98ea-4bbe-ad75-38c09f5e9238
  8. 2024-01-23 11:48:45.498590 39.57% [DEBUG] sofia.c:2532 Re-attaching to session 0ad3d6a2-98ea-4bbe-ad75-38c09f5e9238
  9. 2024-01-23 11:48:45.498590 39.57% [INFO] sofia.c:10453 sofia/default/101@astpplight.astppbilling.org receiving invite from 157.32.98.184:60085 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: zqPHIObsq4
  10. 2024-01-23 11:48:45.498590 39.57% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 157.32.98.184:0.
  11. 2024-01-23 11:48:45.498590 39.57% [DEBUG] sofia.c:7487 Channel sofia/default/101@astpplight.astppbilling.org entering state [received][100]
  12. 2024-01-23 11:48:45.498590 39.57% [DEBUG] sofia.c:7497 Remote SDP:
  13. v=0
  14. o=101 3231 556 IN IP4 157.32.98.184
  15. s=Talk
  16. c=IN IP4 157.32.98.184
  17. t=0 0
  18. a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
  19. a=record:off
  20. m=audio 54786 RTP/AVP 96 97 98 0 8 18 101 99 100
  21. a=rtpmap:96 opus/48000/2
  22. a=fmtp:96 useinbandfec=1
  23. a=rtpmap:97 speex/16000
  24. a=fmtp:97 vbr=on
  25. a=rtpmap:98 speex/8000
  26. a=fmtp:98 vbr=on
  27. a=fmtp:18 annexb=yes
  28. a=rtpmap:101 telephone-event/48000
  29. a=rtpmap:99 telephone-event/16000
  30. a=rtpmap:100 telephone-event/8000
  31. a=rtcp:43458
  32. a=rtcp-fb:* trr-int 1000
  33. a=rtcp-fb:* ccm tmmbr
  34.  
  35. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  36. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  37. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  42. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  43. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  44. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  45. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  46. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  47. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  48. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  49. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@48000
  50. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/101@astpplight.astppbilling.org PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  51. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_codec.c:111 sofia/default/101@astpplight.astppbilling.org Original read codec set to PCMU:0
  52. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 100@8000
  53. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_media.c:5850 sofia/default/101@astpplight.astppbilling.org Set 2833 dtmf send payload to 100 recv payload to 100
  54. 2024-01-23 11:48:45.498590 39.57% [DEBUG] sofia.c:7921 (sofia/default/101@astpplight.astppbilling.org) State Change CS_NEW -> CS_INIT
  55. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_INIT (Cur 3 Tot 824)
  56. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/101@astpplight.astppbilling.org) State INIT
  57. 2024-01-23 11:48:45.498590 39.57% [DEBUG] mod_sofia.c:97 sofia/default/101@astpplight.astppbilling.org SOFIA INIT
  58. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/101@astpplight.astppbilling.org Standard INIT
  59. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/101@astpplight.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  60. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/101@astpplight.astppbilling.org) State INIT going to sleep
  61. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_ROUTING (Cur 3 Tot 824)
  62. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_channel.c:2380 (sofia/default/101@astpplight.astppbilling.org) Callstate Change DOWN -> RINGING
  63. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@astpplight.astppbilling.org) State ROUTING
  64. 2024-01-23 11:48:45.498590 39.57% [DEBUG] mod_sofia.c:158 sofia/default/101@astpplight.astppbilling.org SOFIA ROUTING
  65. 2024-01-23 11:48:45.498590 39.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/101@astpplight.astppbilling.org Standard ROUTING
  66. 2024-01-23 11:48:45.498590 39.57% [INFO] mod_dialplan_xml.c:639 Processing 101 <101>->21698578 in context default
  67. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  68. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  69. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  70. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  71. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 21698578
  72. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  73. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER101
  74. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  75. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '21698578' limit 1
  76. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 101 / 101
  77. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  78. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="21698578" limit 1
  79. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  80. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  81. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  82. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^21698578.*' OR blocked_patterns = '^2169857.*' OR blocked_patterns = '^216985.*' OR blocked_patterns = '^21698.*' OR blocked_patterns = '^2169.*' OR blocked_patterns = '^216.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  83. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  84. 2024-01-23 11:48:45.518580 39.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 = '^21698578.*' OR patterns = '^2169857.*' OR patterns = '^216985.*' OR patterns = '^21698.*' OR patterns = '^2169.*' OR patterns = '^216.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  85. 2024-01-23 11:48:45.518580 39.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 ="21698578" AND A.accountid = '2' limit 1
  86. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 21698578
  87. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  88. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="21698578" limit 1
  89. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  90. 2024-01-23 11:48:45.518580 39.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 = '21698578' OR number = '2169857' OR number = '216985' OR number = '21698' OR number = '2169' OR number = '216' OR number = '21' OR number = '2' OR number ='--') OR (number = '21698578*' OR number = '2169857*' OR number = '216985*' OR number = '21698*' OR number = '2169*' OR number = '216*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '101' OR number = '10' OR number = '1' OR number ='--') OR (number = '101*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  91. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  92. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '21698578' OR routing_prefix = '2169857' OR routing_prefix = '216985' OR routing_prefix = '21698' OR routing_prefix = '2169' OR routing_prefix = '216' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  93. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  94. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  95. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  96. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 27.07202
  97. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  98. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  99. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  100. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  101. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  102. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  103. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  104. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  105. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  106. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^21698578.*' OR pattern = '^2169857.*' OR pattern = '^216985.*' OR pattern = '^21698.*' OR pattern = '^2169.*' OR pattern = '^216.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^101.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  107. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  108. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  109. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
  110. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  111. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  112. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.05270
  113. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment :
  114. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  115. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  116. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  117. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  118. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  119. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your27.07202 balance Accountid 2 !!!
  120. 2024-01-23 11:48:45.518580 39.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  121. 2024-01-23 11:48:45.518580 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  122. 2024-01-23 11:48:45.518580 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  123. 2024-01-23 11:48:45.518580 39.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
  124. 2024-01-23 11:48:45.518580 39.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 = '^21698578.*' OR pattern = '^2169857.*' OR pattern = '^216985.*' OR pattern = '^21698.*' OR pattern = '^2169.*' OR pattern = '^216.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,1,1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,7,1,1),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  125. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  126. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 33
  127. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2.*
  128. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : India
  129. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  130. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  131. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2.*
  132. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  133. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  134. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  135. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Dell
  136. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  137. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  138. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  139. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 1
  140. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  141. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  142. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32
  143. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2.*
  144. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  145. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  146. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  147. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2.*
  148. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  149. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  150. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  151. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  152. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  153. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  154. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  155. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  156. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  157. 2024-01-23 11:48:45.538576 39.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 = 2 AND status=0 LIMIT 1
  158. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  159. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '101' and status = 0 limit 1
  160. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  161. 2024-01-23 11:48:45.538576 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  162. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  163. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  164. 2024-01-23 11:48:45.538576 39.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 = 9) AND status=0 limit 1
  165. 2024-01-23 11:48:45.538576 39.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 = 7) AND status=0 limit 1
  166. 2024-01-23 11:48:45.538576 39.57% [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="101" limit 1
  167. 2024-01-23 11:48:45.538576 39.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.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 ="21698578" LIMIT 1
  168. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="21698578" LIMIT 1
  169. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  170. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  171. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN :
  172. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Enable/Disable:0
  173. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0
  174. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0
  175. 2024-01-23 11:48:45.538576 39.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] User applicable_on_outbound_calls : 0
  176. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 1
  177. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 0
  178. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [tmp_value]: 1
  179. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [first_prefix]: 2
  180. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  181. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  182. 2024-01-23 11:48:45.538576 39.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
  183. 2024-01-23 11:48:45.538576 39.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
  184. 2024-01-23 11:48:45.538576 39.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.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 ="21698578" LIMIT 1
  185. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="21698578" LIMIT 1
  186. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  187. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  188. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN :
  189. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Enable/Disable:0
  190. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0
  191. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0
  192. 2024-01-23 11:48:45.538576 39.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] User applicable_on_outbound_calls : 0
  193. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 1
  194. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 0
  195. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [tmp_value]: 1
  196. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [first_prefix]: 2
  197. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  198. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  199. <document type="freeswitch/xml">
  200. <section name="dialplan" description="ASTPP Dialplan">
  201. <context name="default">
  202. <extension name="21698578">
  203. <condition field="destination_number" expression="21698578">
  204. <action application="set" data="effective_destination_number=21698578"/>
  205. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  206. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  207. <action application="set" data="type=0"/>
  208. <action application="set" data="callstart=2024-01-23 11:48:45"/>
  209. <action application="set" data="hangup_after_bridge=true"/>
  210. <action application="set" data="continue_on_fail=TRUE"/>
  211. <action application="set" data="account_id=2"/>
  212. <action application="set" data="parent_id=0"/>
  213. <action application="set" data="entity_id=0"/>
  214. <action application="set" data="call_processed=internal"/>
  215. <action application="set" data="call_direction=outbound"/>
  216. <action application="set" data="accountname=default"/>
  217. <action application="set" data="origination_rates=ID:12|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05270|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2"/>
  218. <action application="set" data="original_caller_id_name=101"/>
  219. <action application="set" data="original_caller_id_number=101"/>
  220.  
  221. <action application="export" data="is_recording=1"/>
  222. <action application="export" data="media_bug_answer_req=true"/>
  223. <action application="export" data="record_sample_rate=8000"/>
  224. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  225. <action application="set" data="effective_caller_id_name=101"/>
  226. <action application="set" data="effective_caller_id_number=101"/>
  227. <action application="set" data="calltype=STANDARD"/>
  228. <action application="set" data="termination_rates=ID:33|CODE:^2.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:9"/>
  229. <action application="set" data="trunk_id=7"/>
  230. <action application="set" data="provider_id=9"/>
  231. <action application="set" data="rate_flag=2"/>
  232. <action application="set" data="daily_call_credit_limit=0.00000"/>
  233. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  234. <action application="set" data="daily_call_used_limit=0.00000"/>
  235. <action application="set" data="monthly_call_used_limit=0.00000"/>
  236. <action application="set" data="quality_trunk_seq=7,1"/>
  237. <action application="set" data="force_trunk_flag=0"/>
  238. <action application="export" data="presence_data=trunk_id=7"/>
  239. <action application="set" data="intcall=0"/>
  240. <action application="export" data="presence_id=21698578"/>
  241. <action application="export" data="presence_data=x|||default(4727985745)|||^2.* //  // 0.05270 |||Testsipp // ^2.* // India // 0.00660 // trunk_id=7|||STD|||157.32.98.184"/>
  242. <action application="set" data="sip_h_X-ASTPP-Stir-Verification=Not Applicable"/>
  243. <action application="export" data="sip_h_X-ASTPP-Stir-Verification=Not Applicable"/>
  244. <action application="set" data="stir_status=0"/>
  245. <action application="set" data="sip_stir_shaken_attest=NA"/>
  246. <action application="limit" data="db Dell gw_Dell 1 "/>
  247. <action application="bridge" data="{leg_timeout=0,sip_stir_shaken_attest=NA}[leg_timeout=0]sofia/gateway/Dell/21698578"/>
  248. <action application="set" data="effective_caller_id_name=101"/>
  249. <action application="set" data="effective_caller_id_number=101"/>
  250. <action application="set" data="calltype=STANDARD"/>
  251. <action application="set" data="termination_rates=ID:32|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3"/>
  252. <action application="set" data="trunk_id=1"/>
  253. <action application="set" data="provider_id=3"/>
  254. <action application="set" data="rate_flag=2"/>
  255. <action application="set" data="daily_call_credit_limit=0.00000"/>
  256. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  257. <action application="set" data="daily_call_used_limit=0.00000"/>
  258. <action application="set" data="monthly_call_used_limit=0.00000"/>
  259. <action application="set" data="quality_trunk_seq=7,1"/>
  260. <action application="set" data="force_trunk_flag=0"/>
  261. <action application="export" data="presence_data=trunk_id=1"/>
  262. <action application="set" data="intcall=0"/>
  263. <action application="export" data="presence_id=21698578"/>
  264. <action application="export" data="presence_data=x|||default(4727985745)|||^2.* //  // 0.05270 |||YourTrunk // ^2.* //  // 0.00660 // trunk_id=1|||STD|||157.32.98.184"/>
  265. <action application="set" data="sip_h_X-ASTPP-Stir-Verification=Not Applicable"/>
  266. <action application="export" data="sip_h_X-ASTPP-Stir-Verification=Not Applicable"/>
  267. <action application="set" data="stir_status=0"/>
  268. <action application="set" data="sip_stir_shaken_attest=NA"/>
  269. <action application="bridge" data="{leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729,sip_stir_shaken_attest=NA}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/YourProvider/21698578"/>
  270. </condition>
  271. </extension>
  272. </context>
  273. </section>
  274. </document>
  275. Dialplan: sofia/default/101@astpplight.astppbilling.org parsing [default->21698578] continue=false
  276. Dialplan: sofia/default/101@astpplight.astppbilling.org Regex (PASS) [21698578] destination_number(21698578) =~ /21698578/ break=on-false
  277. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_destination_number=21698578)
  278. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(bridge_pre_execute_bleg_app=sched_hangup)
  279. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  280. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(type=0)
  281. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(callstart=2024-01-23 11:48:45)
  282. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(hangup_after_bridge=true)
  283. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(continue_on_fail=TRUE)
  284. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(account_id=2)
  285. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(parent_id=0)
  286. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(entity_id=0)
  287. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(call_processed=internal)
  288. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(call_direction=outbound)
  289. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(accountname=default)
  290. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(origination_rates=ID:12|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05270|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
  291. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(original_caller_id_name=101)
  292. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(original_caller_id_number=101)
  293. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(is_recording=1)
  294. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(media_bug_answer_req=true)
  295. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(record_sample_rate=8000)
  296. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  297. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_caller_id_name=101)
  298. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_caller_id_number=101)
  299. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(calltype=STANDARD)
  300. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(termination_rates=ID:33|CODE:^2.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:9)
  301. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(trunk_id=7)
  302. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(provider_id=9)
  303. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(rate_flag=2)
  304. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(daily_call_credit_limit=0.00000)
  305. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(monthly_call_credit_limit=0.00000)
  306. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(daily_call_used_limit=0.00000)
  307. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(monthly_call_used_limit=0.00000)
  308. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(quality_trunk_seq=7,1)
  309. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(force_trunk_flag=0)
  310. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_data=trunk_id=7)
  311. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(intcall=0)
  312. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_id=21698578)
  313. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_data=x|||default(4727985745)|||^2.* //  // 0.05270 |||Testsipp // ^2.* // India // 0.00660 // trunk_id=7|||STD|||157.32.98.184)
  314. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
  315. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
  316. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(stir_status=0)
  317. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(sip_stir_shaken_attest=NA)
  318. Dialplan: sofia/default/101@astpplight.astppbilling.org Action limit(db Dell gw_Dell 1 )
  319. Dialplan: sofia/default/101@astpplight.astppbilling.org Action bridge({leg_timeout=0,sip_stir_shaken_attest=NA}[leg_timeout=0]sofia/gateway/Dell/21698578)
  320. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_caller_id_name=101)
  321. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_caller_id_number=101)
  322. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(calltype=STANDARD)
  323. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(termination_rates=ID:32|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  324. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(trunk_id=1)
  325. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(provider_id=3)
  326. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(rate_flag=2)
  327. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(daily_call_credit_limit=0.00000)
  328. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(monthly_call_credit_limit=0.00000)
  329. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(daily_call_used_limit=0.00000)
  330. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(monthly_call_used_limit=0.00000)
  331. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(quality_trunk_seq=7,1)
  332. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(force_trunk_flag=0)
  333. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_data=trunk_id=1)
  334. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(intcall=0)
  335. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_id=21698578)
  336. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_data=x|||default(4727985745)|||^2.* //  // 0.05270 |||YourTrunk // ^2.* //  // 0.00660 // trunk_id=1|||STD|||157.32.98.184)
  337. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
  338. Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
  339. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(stir_status=0)
  340. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(sip_stir_shaken_attest=NA)
  341. Dialplan: sofia/default/101@astpplight.astppbilling.org Action bridge({leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729,sip_stir_shaken_attest=NA}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/YourProvider/21698578)
  342. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/101@astpplight.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
  343. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@astpplight.astppbilling.org) State ROUTING going to sleep
  344. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_EXECUTE (Cur 3 Tot 824)
  345. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@astpplight.astppbilling.org) State EXECUTE
  346. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_sofia.c:213 sofia/default/101@astpplight.astppbilling.org SOFIA EXECUTE
  347. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/101@astpplight.astppbilling.org Standard EXECUTE
  348. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(effective_destination_number=21698578)
  349. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [effective_destination_number]=[21698578]
  350. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(bridge_pre_execute_bleg_app=sched_hangup)
  351. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [bridge_pre_execute_bleg_app]=[sched_hangup]
  352. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  353. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  354. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(type=0)
  355. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [type]=[0]
  356. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(callstart=2024-01-23 11:48:45)
  357. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [callstart]=[2024-01-23 11:48:45]
  358. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(hangup_after_bridge=true)
  359. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [hangup_after_bridge]=[true]
  360. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(continue_on_fail=TRUE)
  361. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [continue_on_fail]=[TRUE]
  362. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(account_id=2)
  363. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [account_id]=[2]
  364. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(parent_id=0)
  365. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [parent_id]=[0]
  366. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(entity_id=0)
  367. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [entity_id]=[0]
  368. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(call_processed=internal)
  369. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [call_processed]=[internal]
  370. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(call_direction=outbound)
  371. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [call_direction]=[outbound]
  372. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(accountname=default)
  373. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [accountname]=[default]
  374. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(origination_rates=ID:12|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05270|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
  375. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [origination_rates]=[ID:12|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05270|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2]
  376. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(original_caller_id_name=101)
  377. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [original_caller_id_name]=[101]
  378. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(original_caller_id_number=101)
  379. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [original_caller_id_number]=[101]
  380. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org export(is_recording=1)
  381. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  382. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org export(media_bug_answer_req=true)
  383. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  384. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org export(record_sample_rate=8000)
  385. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  386. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org export(execute_on_answer=record_session /usr/local/freeswitch/recordings/0ad3d6a2-98ea-4bbe-ad75-38c09f5e9238.wav)
  387. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/0ad3d6a2-98ea-4bbe-ad75-38c09f5e9238.wav]
  388. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(effective_caller_id_name=101)
  389. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [effective_caller_id_name]=[101]
  390. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(effective_caller_id_number=101)
  391. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [effective_caller_id_number]=[101]
  392. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(calltype=STANDARD)
  393. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [calltype]=[STANDARD]
  394. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(termination_rates=ID:33|CODE:^2.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:9)
  395. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [termination_rates]=[ID:33|CODE:^2.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:9]
  396. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(trunk_id=7)
  397. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [trunk_id]=[7]
  398. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(provider_id=9)
  399. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [provider_id]=[9]
  400. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(rate_flag=2)
  401. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [rate_flag]=[2]
  402. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(daily_call_credit_limit=0.00000)
  403. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [daily_call_credit_limit]=[0.00000]
  404. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(monthly_call_credit_limit=0.00000)
  405. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [monthly_call_credit_limit]=[0.00000]
  406. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(daily_call_used_limit=0.00000)
  407. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [daily_call_used_limit]=[0.00000]
  408. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(monthly_call_used_limit=0.00000)
  409. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [monthly_call_used_limit]=[0.00000]
  410. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(quality_trunk_seq=7,1)
  411. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [quality_trunk_seq]=[7,1]
  412. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(force_trunk_flag=0)
  413. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [force_trunk_flag]=[0]
  414. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org export(presence_data=trunk_id=7)
  415. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=7]
  416. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(intcall=0)
  417. 2024-01-23 11:48:45.538576 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [intcall]=[0]
  418. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org export(presence_id=21698578)
  419. 2024-01-23 11:48:45.538576 39.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[21698578]
  420. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org export(presence_data=x|||default(4727985745)|||^2.* //  // 0.05270 |||Testsipp // ^2.* // India // 0.00660 // trunk_id=7|||STD|||157.32.98.184)
  421. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^2.* //  // 0.05270 |||Testsipp // ^2.* // India // 0.00660 // trunk_id=7|||STD|||157.32.98.184]
  422. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
  423. 2024-01-23 11:48:45.558578 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [sip_h_X-ASTPP-Stir-Verification]=[Not Applicable]
  424. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org export(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
  425. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_h_X-ASTPP-Stir-Verification]=[Not Applicable]
  426. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(stir_status=0)
  427. 2024-01-23 11:48:45.558578 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [stir_status]=[0]
  428. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(sip_stir_shaken_attest=NA)
  429. 2024-01-23 11:48:45.558578 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [sip_stir_shaken_attest]=[NA]
  430. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org limit(db Dell gw_Dell 1 )
  431. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_limit.c:124 incr called: Dell_gw_Dell max:1, interval:0
  432. 2024-01-23 11:48:45.558578 39.57% [DEBUG] mod_db.c:194 Usage for Dell_gw_Dell is now 2/1
  433. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_ivr.c:2288 (sofia/default/101@astpplight.astppbilling.org) State Change CS_EXECUTE -> CS_ROUTING
  434. 2024-01-23 11:48:45.558578 39.57% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/101@astpplight.astppbilling.org to XML[limit_exceeded@default]
  435. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@astpplight.astppbilling.org) State EXECUTE going to sleep
  436. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_ROUTING (Cur 3 Tot 824)
  437. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@astpplight.astppbilling.org) State ROUTING
  438. 2024-01-23 11:48:45.558578 39.57% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  439. 2024-01-23 11:48:45.558578 39.57% [DEBUG] mod_sofia.c:158 sofia/default/101@astpplight.astppbilling.org SOFIA ROUTING
  440. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/101@astpplight.astppbilling.org Standard ROUTING
  441. 2024-01-23 11:48:45.558578 39.57% [INFO] mod_dialplan_xml.c:639 Processing 101 <101>->limit_exceeded in context default
  442. 2024-01-23 11:48:45.558578 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  443. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  444. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  445. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  446. 2024-01-23 11:48:45.558578 39.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : limit_exceeded
  447. 2024-01-23 11:48:45.558578 39.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  448. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  449. <document type="freeswitch/xml">
  450. <section name="dialplan" description="ASTPP Dialplan">
  451. <context name="default">
  452. <extension name="limit_exceeded">
  453. <condition field="destination_number" expression="^limit_exceeded$">
  454. <action application="set" data="effective_destination_number=21698578"/>
  455. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav"/>
  456. <action application="hangup" data="CHANNEL_UNACCEPTABLE"/>
  457. </condition>
  458. </extension>
  459. </context>
  460. </section>
  461. </document>
  462. Dialplan: sofia/default/101@astpplight.astppbilling.org parsing [default->limit_exceeded] continue=false
  463. Dialplan: sofia/default/101@astpplight.astppbilling.org Regex (PASS) [limit_exceeded] destination_number(limit_exceeded) =~ /^limit_exceeded$/ break=on-false
  464. Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_destination_number=21698578)
  465. Dialplan: sofia/default/101@astpplight.astppbilling.org Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
  466. Dialplan: sofia/default/101@astpplight.astppbilling.org Action hangup(CHANNEL_UNACCEPTABLE)
  467. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/101@astpplight.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
  468. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@astpplight.astppbilling.org) State ROUTING going to sleep
  469. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_EXECUTE (Cur 3 Tot 824)
  470. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@astpplight.astppbilling.org) State EXECUTE
  471. 2024-01-23 11:48:45.578578 39.57% [DEBUG] mod_sofia.c:213 sofia/default/101@astpplight.astppbilling.org SOFIA EXECUTE
  472. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/101@astpplight.astppbilling.org Standard EXECUTE
  473. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(effective_destination_number=21698578)
  474. 2024-01-23 11:48:45.578578 39.57% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [effective_destination_number]=[21698578]
  475. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/default/101@astpplight.astppbilling.org
  476. 2024-01-23 11:48:45.578578 39.57% [INFO] switch_core_session.c:2787 Sending early media
  477. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/101@astpplight.astppbilling.org] 95.217.215.250 port 30308 -> 157.32.98.184 port 54786 codec: 0 ms: 20
  478. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  479. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_media.c:8871 Activating RTCP PORT 43458
  480. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_rtp.c:4708 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 43458
  481. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_rtp.c:2534 Setting RTCP remote addr to 157.32.98.184:43458 2
  482. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_media.c:8963 sofia/default/101@astpplight.astppbilling.org Set 2833 dtmf send payload to 100
  483. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_media.c:8970 sofia/default/101@astpplight.astppbilling.org Set 2833 dtmf receive payload to 100
  484. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_media.c:8993 sofia/default/101@astpplight.astppbilling.org Set rtp dtmf delay to 40
  485. 2024-01-23 11:48:45.578578 39.57% [DEBUG] mod_sofia.c:2609 Ring SDP:
  486. v=0
  487. o=FreeSWITCH 1705980217 1705980218 IN IP4 95.217.215.250
  488. s=FreeSWITCH
  489. c=IN IP4 95.217.215.250
  490. t=0 0
  491. m=audio 30308 RTP/AVP 0 100
  492. a=rtpmap:0 PCMU/8000
  493. a=rtpmap:100 telephone-event/8000
  494. a=fmtp:100 0-15
  495. a=ptime:20
  496. a=sendrecv
  497. a=rtcp:30309 IN IP4 95.217.215.250
  498.  
  499. 2024-01-23 11:48:45.578578 39.57% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/101@astpplight.astppbilling.org!
  500. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_channel.c:3566 (sofia/default/101@astpplight.astppbilling.org) Callstate Change RINGING -> EARLY
  501. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
  502. 2024-01-23 11:48:45.578578 39.57% [DEBUG] sofia.c:7487 Channel sofia/default/101@astpplight.astppbilling.org entering state [early][183]
  503. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav sample rate 16000 doesn't match requested rate 8000
  504. 2024-01-23 11:48:45.578578 39.57% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  505. 2024-01-23 11:48:45.838582 39.57% [DEBUG] switch_rtp.c:6938 Correct audio RTCP ip/port confirmed.
  506. 2024-01-23 11:48:46.258582 39.30% [DEBUG] switch_rtp.c:1775 rtcp_stats_init: audio ssrc[1616025981] base_seq[0]
  507. 2024-01-23 11:48:46.258582 39.30% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  508. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav
  509. EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org hangup(CHANNEL_UNACCEPTABLE)
  510. 2024-01-23 11:48:47.638584 40.10% [NOTICE] mod_dptools.c:1376 Hangup sofia/default/101@astpplight.astppbilling.org [CS_EXECUTE] [CHANNEL_UNACCEPTABLE]
  511. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_session.c:2973 sofia/default/101@astpplight.astppbilling.org skip receive message [PHONE_EVENT] (channel is hungup already)
  512. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@astpplight.astppbilling.org) State EXECUTE going to sleep
  513. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_HANGUP (Cur 3 Tot 824)
  514. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/101@astpplight.astppbilling.org) Callstate Change EARLY -> HANGUP
  515. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/101@astpplight.astppbilling.org) State HANGUP
  516. 2024-01-23 11:48:47.638584 40.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/101@astpplight.astppbilling.org hanging up, cause: CHANNEL_UNACCEPTABLE
  517. 2024-01-23 11:48:47.638584 40.10% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  518. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/101@astpplight.astppbilling.org Standard HANGUP, cause: CHANNEL_UNACCEPTABLE
  519. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/101@astpplight.astppbilling.org) State HANGUP going to sleep
  520. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/101@astpplight.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  521. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_REPORTING (Cur 3 Tot 824)
  522. 2024-01-23 11:48:47.638584 40.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/101@astpplight.astppbilling.org) State REPORTING
  523. 2024-01-23 11:48:47.638584 40.10% [INFO] mod_json_cdr.c:272 Process [0ad3d6a2-98ea-4bbe-ad75-38c09f5e9238.cdr.json]
  524. 2024-01-23 11:48:47.678580 40.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/101@astpplight.astppbilling.org Standard REPORTING, cause: CHANNEL_UNACCEPTABLE
  525. 2024-01-23 11:48:47.678580 40.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/101@astpplight.astppbilling.org) State REPORTING going to sleep
  526. 2024-01-23 11:48:47.678580 40.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/101@astpplight.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  527. 2024-01-23 11:48:47.678580 40.10% [DEBUG] switch_core_session.c:1743 Session 824 (sofia/default/101@astpplight.astppbilling.org) Locked, Waiting on external entities
  528. 2024-01-23 11:48:47.678580 40.10% [NOTICE] switch_core_session.c:1761 Session 824 (sofia/default/101@astpplight.astppbilling.org) Ended
  529. 2024-01-23 11:48:47.678580 40.10% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/101@astpplight.astppbilling.org [CS_DESTROY]
  530. 2024-01-23 11:48:47.678580 40.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_DESTROY (Cur 2 Tot 824)
  531. 2024-01-23 11:48:47.678580 40.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/101@astpplight.astppbilling.org) State DESTROY
  532. 2024-01-23 11:48:47.678580 40.10% [DEBUG] mod_sofia.c:379 sofia/default/101@astpplight.astppbilling.org SOFIA DESTROY
  533. 2024-01-23 11:48:47.678580 40.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/101@astpplight.astppbilling.org Standard DESTROY
  534. 2024-01-23 11:48:47.678580 40.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/101@astpplight.astppbilling.org) State DESTROY going to sleep