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