From Prashant Kumar, 3 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-0-164>
  2. 2024-01-21 18:57:12.870734 94.90% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1800180222@3.110.187.230 [57f5a971-2633-4005-90bd-6597cd1064ae]
  3. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_NEW (Cur 1 Tot 34)
  4. 2024-01-21 18:57:12.870734 94.90% [INFO] sofia.c:10459 sofia/default/1800180222@3.110.187.230 receiving invite from 3.110.187.230:5077 version: 1.10.10-release  64bit call-id: ba641e39-3331-123d-67ad-021eb38071a8
  5. 2024-01-21 18:57:12.870734 94.90% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 3.110.187.230:0.
  6. 2024-01-21 18:57:12.870734 94.90% [DEBUG] sofia.c:10582 IP 3.110.187.230 Approved by acl "default[]". Access Granted.
  7. 2024-01-21 18:57:12.870734 94.90% [DEBUG] sofia.c:7493 Channel sofia/default/1800180222@3.110.187.230 entering state [received][100]
  8. 2024-01-21 18:57:12.870734 94.90% [DEBUG] sofia.c:7503 Remote SDP:
  9. v=0
  10. o=FreeSWITCH 1705833438 1705833439 IN IP4 3.110.187.230
  11. s=FreeSWITCH
  12. c=IN IP4 3.110.187.230
  13. t=0 0
  14. m=audio 29994 RTP/AVP 8 18 101
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:18 G729/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19. a=ptime:20
  20.  
  21. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  22. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  23. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  26. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  27. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1800180222@3.110.187.230 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  28. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_codec.c:111 sofia/default/1800180222@3.110.187.230 Original read codec set to PCMA:8
  29. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  30. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_media.c:5856 sofia/default/1800180222@3.110.187.230 Set 2833 dtmf send payload to 101 recv payload to 101
  31. 2024-01-21 18:57:12.870734 94.90% [DEBUG] sofia.c:7927 (sofia/default/1800180222@3.110.187.230) State Change CS_NEW -> CS_INIT
  32. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1800180222@3.110.187.230) State NEW
  33. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_INIT (Cur 1 Tot 34)
  34. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1800180222@3.110.187.230) State INIT
  35. 2024-01-21 18:57:12.870734 94.90% [DEBUG] mod_sofia.c:97 sofia/default/1800180222@3.110.187.230 SOFIA INIT
  36. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/1800180222@3.110.187.230 Standard INIT
  37. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1800180222@3.110.187.230) State Change CS_INIT -> CS_ROUTING
  38. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1800180222@3.110.187.230) State INIT going to sleep
  39. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 34)
  40. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_channel.c:2399 (sofia/default/1800180222@3.110.187.230) Callstate Change DOWN -> RINGING
  41. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1800180222@3.110.187.230) State ROUTING
  42. 2024-01-21 18:57:12.870734 94.90% [DEBUG] mod_sofia.c:158 sofia/default/1800180222@3.110.187.230 SOFIA ROUTING
  43. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/1800180222@3.110.187.230 Standard ROUTING
  44. 2024-01-21 18:57:12.870734 94.90% [INFO] mod_dialplan_xml.c:639 Processing 1800180222 <1800180222>->10077 in context default
  45. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  46. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  47. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  48. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10077
  50. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  51. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKServerMaster
  52. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '10077' limit 1
  54. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1800180222 / 1800180222
  55. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  56. 2024-01-21 18:57:12.870734 94.90% [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="10077" limit 1
  57. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  58. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("3.110.187.230") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "10077"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  59. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8409092247]
  60. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8409092247" OR id = "8409092247") AND deleted = 0 limit 1
  61. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10077.*' OR blocked_patterns = '^1007.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  62. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  63. 2024-01-21 18:57:12.870734 94.90% [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 = '^10077.*' OR patterns = '^1007.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  64. 2024-01-21 18:57:12.870734 94.90% [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 ="10077" AND A.accountid = '5' limit 1
  65. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10077
  66. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  67. 2024-01-21 18:57:12.870734 94.90% [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="10077" limit 1
  68. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  69. 2024-01-21 18:57:12.870734 94.90% [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 = '10077' OR number = '1007' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10077*' OR number = '1007*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '1800180222' OR number = '180018022' OR number = '18001802' OR number = '1800180' OR number = '180018' OR number = '18001' OR number = '1800' OR number = '180' OR number = '18' OR number = '1' OR number ='--') OR (number = '1800180222*' OR number = '180018022*' OR number = '18001802*' OR number = '1800180*' OR number = '180018*' OR number = '18001*' OR number = '1800*' OR number = '180*' OR number = '18*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  70. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  71. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10077' OR routing_prefix = '1007' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 4 limit 1
  72. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  73. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
  74. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8409092247
  75. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49994.6
  76. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  77. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  78. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  79. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  80. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  81. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  82. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  83. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  84. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  85. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^10077.*' OR pattern = '^1007.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^1800180222.*' OR caller_id_pattern = '^180018022.*' OR caller_id_pattern = '^18001802.*' OR caller_id_pattern = '^1800180.*' OR caller_id_pattern = '^180018.*' OR caller_id_pattern = '^18001.*' OR caller_id_pattern = '^1800.*' OR caller_id_pattern = '^180.*' OR caller_id_pattern = '^18.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  86. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  87. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  88. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  89. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  90. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  91. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.6000000000
  92. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : QA
  93. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 50
  94. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
  95. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  96. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  97. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  98. 2024-01-21 18:57:12.870734 94.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49994.6 balance Accountid 5 !!!
  99. 2024-01-21 18:57:12.870734 94.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  100. 2024-01-21 18:57:12.870734 94.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 4
  101. 2024-01-21 18:57:12.870734 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "4" OR number = "4") AND deleted = 0 limit 1
  102. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10077.*' OR blocked_patterns = '^1007.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 4 limit 1
  103. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  104. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 4
  105. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  106. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  107. <document type="freeswitch/xml">
  108. <section name="dialplan" description="ASTPP Dialplan">
  109. <context name="default">
  110. <extension name="10077">
  111. <condition field="destination_number" expression="10077">
  112. <action application="log" data="WARNING Accountcode  doesn't have sufficiant fund!!"/>
  113. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-monthly-credit.wav"/>
  114. <action application="set" data="original_caller_id_name=1800180222"/>
  115. <action application="set" data="original_caller_id_number=1800180222"/>
  116. <action application="set" data="error_cdr=1"/>
  117. <action application="set" data="callstart=2024-01-21 18:57:12"/>
  118. <action application="set" data="account_id=4"/>
  119. <action application="set" data="parent_id=0"/>
  120. <action application="set" data="call_direction=outbound"/>
  121. <action application="set" data="sip_ignore_remote_cause=true"/>
  122. <action application="set" data="call_processed=internal"/>
  123. <action application="set" data="effective_destination_number=10077"/>
  124. <action application="set" data="last_bridge_hangup_cause=NO_SUFFICIENT_FUND"/>
  125. <action application="hangup" data="NO_SUFFICIENT_FUND"/>
  126. </condition>
  127. </extension>
  128. </context>
  129. </section>
  130. </document>
  131. Dialplan: sofia/default/1800180222@3.110.187.230 parsing [default->10077] continue=false
  132. Dialplan: sofia/default/1800180222@3.110.187.230 Regex (PASS) [10077] destination_number(10077) =~ /10077/ break=on-false
  133. Dialplan: sofia/default/1800180222@3.110.187.230 Action log(WARNING Accountcode  doesn't have sufficiant fund!!)
  134. Dialplan: sofia/default/1800180222@3.110.187.230 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-monthly-credit.wav)
  135. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(original_caller_id_name=1800180222)
  136. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(original_caller_id_number=1800180222)
  137. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(error_cdr=1)
  138. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(callstart=2024-01-21 18:57:12)
  139. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(account_id=4)
  140. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(parent_id=0)
  141. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(call_direction=outbound)
  142. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(sip_ignore_remote_cause=true)
  143. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(call_processed=internal)
  144. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(effective_destination_number=10077)
  145. Dialplan: sofia/default/1800180222@3.110.187.230 Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  146. Dialplan: sofia/default/1800180222@3.110.187.230 Action hangup(NO_SUFFICIENT_FUND)
  147. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1800180222@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
  148. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1800180222@3.110.187.230) State ROUTING going to sleep
  149. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 34)
  150. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1800180222@3.110.187.230) State EXECUTE
  151. 2024-01-21 18:57:12.910710 94.90% [DEBUG] mod_sofia.c:213 sofia/default/1800180222@3.110.187.230 SOFIA EXECUTE
  152. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/1800180222@3.110.187.230 Standard EXECUTE
  153. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 log(WARNING Accountcode  doesn't have sufficiant fund!!)
  154. 2024-01-21 18:57:12.910710 94.90% [WARNING] mod_dptools.c:1865 Accountcode  doesn't have sufficiant fund!!
  155. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_session.c:2791 Application playback Requires media! pre_answering channel sofia/default/1800180222@3.110.187.230
  156. 2024-01-21 18:57:12.910710 94.90% [INFO] switch_core_session.c:2793 Sending early media
  157. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/1800180222@3.110.187.230] 172.31.0.164 port 25734 -> 3.110.187.230 port 29994 codec: 8 ms: 20
  158. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  159. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_media.c:8972 sofia/default/1800180222@3.110.187.230 Set 2833 dtmf send payload to 101
  160. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_media.c:8979 sofia/default/1800180222@3.110.187.230 Set 2833 dtmf receive payload to 101
  161. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_media.c:9002 sofia/default/1800180222@3.110.187.230 Set rtp dtmf delay to 40
  162. 2024-01-21 18:57:12.910710 94.90% [DEBUG] mod_sofia.c:2607 Ring SDP:
  163. v=0
  164. o=FreeSWITCH 1705837698 1705837699 IN IP4 15.206.212.57
  165. s=FreeSWITCH
  166. c=IN IP4 15.206.212.57
  167. t=0 0
  168. m=audio 25734 RTP/AVP 8 101
  169. a=rtpmap:8 PCMA/8000
  170. a=rtpmap:101 telephone-event/8000
  171. a=fmtp:101 0-15
  172. a=ptime:20
  173. a=sendrecv
  174.  
  175. 2024-01-21 18:57:12.910710 94.90% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/1800180222@3.110.187.230!
  176. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_channel.c:3585 (sofia/default/1800180222@3.110.187.230) Callstate Change RINGING -> EARLY
  177. 2024-01-21 18:57:12.910710 94.90% [DEBUG] sofia.c:7493 Channel sofia/default/1800180222@3.110.187.230 entering state [early][183]
  178. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-monthly-credit.wav)
  179. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-monthly-credit.wav sample rate 24000 doesn't match requested rate 8000
  180. 2024-01-21 18:57:12.910710 94.90% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  181. 2024-01-21 18:57:13.530810 94.90% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  182. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_ivr_play_say.c:2010 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-monthly-credit.wav
  183. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(original_caller_id_name=1800180222)
  184. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [original_caller_id_name]=[1800180222]
  185. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(original_caller_id_number=1800180222)
  186. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [original_caller_id_number]=[1800180222]
  187. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(error_cdr=1)
  188. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [error_cdr]=[1]
  189. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(callstart=2024-01-21 18:57:12)
  190. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [callstart]=[2024-01-21 18:57:12]
  191. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(account_id=4)
  192. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [account_id]=[4]
  193. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(parent_id=0)
  194. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [parent_id]=[0]
  195. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(call_direction=outbound)
  196. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [call_direction]=[outbound]
  197. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(sip_ignore_remote_cause=true)
  198. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [sip_ignore_remote_cause]=[true]
  199. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(call_processed=internal)
  200. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [call_processed]=[internal]
  201. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(effective_destination_number=10077)
  202. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [effective_destination_number]=[10077]
  203. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  204. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/1800180222@3.110.187.230 [last_bridge_hangup_cause]=[NO_SUFFICIENT_FUND]
  205. EXECUTE [depth=0] sofia/default/1800180222@3.110.187.230 hangup(NO_SUFFICIENT_FUND)
  206. 2024-01-21 18:57:15.010793 95.50% [NOTICE] mod_dptools.c:1374 Hangup sofia/default/1800180222@3.110.187.230 [CS_EXECUTE] [NORMAL_CLEARING]
  207. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_session.c:2979 sofia/default/1800180222@3.110.187.230 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  208. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1800180222@3.110.187.230) State EXECUTE going to sleep
  209. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_HANGUP (Cur 1 Tot 34)
  210. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1800180222@3.110.187.230) Callstate Change EARLY -> HANGUP
  211. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1800180222@3.110.187.230) State HANGUP
  212. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/1800180222@3.110.187.230 hanging up, cause: NORMAL_CLEARING
  213. 2024-01-21 18:57:15.010793 95.50% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
  214. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/1800180222@3.110.187.230 Standard HANGUP, cause: NORMAL_CLEARING
  215. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1800180222@3.110.187.230) State HANGUP going to sleep
  216. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1800180222@3.110.187.230) State Change CS_HANGUP -> CS_REPORTING
  217. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1800180222@3.110.187.230) Running State Change CS_REPORTING (Cur 1 Tot 34)
  218. 2024-01-21 18:57:15.010793 95.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1800180222@3.110.187.230) State REPORTING
  219. 2024-01-21 18:57:15.010793 95.50% [INFO] mod_json_cdr.c:272 Process [57f5a971-2633-4005-90bd-6597cd1064ae.cdr.json]
  220. 2024-01-21 18:57:15.050774 95.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/1800180222@3.110.187.230 Standard REPORTING, cause: NORMAL_CLEARING
  221. 2024-01-21 18:57:15.050774 95.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1800180222@3.110.187.230) State REPORTING going to sleep
  222. 2024-01-21 18:57:15.050774 95.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1800180222@3.110.187.230) State Change CS_REPORTING -> CS_DESTROY
  223. 2024-01-21 18:57:15.050774 95.50% [DEBUG] switch_core_session.c:1744 Session 34 (sofia/default/1800180222@3.110.187.230) Locked, Waiting on external entities
  224. 2024-01-21 18:57:15.050774 95.50% [NOTICE] switch_core_session.c:1762 Session 34 (sofia/default/1800180222@3.110.187.230) Ended
  225. 2024-01-21 18:57:15.050774 95.50% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1800180222@3.110.187.230 [CS_DESTROY]
  226. 2024-01-21 18:57:15.050774 95.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1800180222@3.110.187.230) Running State Change CS_DESTROY (Cur 0 Tot 34)
  227. 2024-01-21 18:57:15.050774 95.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1800180222@3.110.187.230) State DESTROY
  228. 2024-01-21 18:57:15.050774 95.50% [DEBUG] mod_sofia.c:380 sofia/default/1800180222@3.110.187.230 SOFIA DESTROY
  229. 2024-01-21 18:57:15.050774 95.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/1800180222@3.110.187.230 Standard DESTROY
  230. 2024-01-21 18:57:15.050774 95.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1800180222@3.110.187.230) State DESTROY going to sleep
  231. freeswitch@ip-172-31-0-164>
  232. freeswitch@ip-172-31-0-164>
  233. freeswitch@ip-172-31-0-164>
  234. freeswitch@ip-172-31-0-164>
  235. freeswitch@ip-172-31-0-164>