From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. Type /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5. +OK log level  [7]
  6. freeswitch@ip-172-31-40-49>
  7. freeswitch@ip-172-31-40-49>
  8. freeswitch@ip-172-31-40-49>
  9. 2022-09-26 06:59:01.980670 88.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5113911718@13.127.15.161:5078 [5a4db0b2-079b-4659-87c1-65272ee60cfb]
  10. 2022-09-26 06:59:01.980670 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_NEW (Cur 1 Tot 3137)
  11. 2022-09-26 06:59:01.980670 88.90% [INFO] sofia.c:10462 sofia/default/5113911718@13.127.15.161:5078 receiving invite from 103.240.35.46:41948 version: 1.10.7 -release-19-883d2cb662 64bit call-id: OTY5MThmYjBjMmEwMzJlYzNmMDUyY2JhMGQ1N2NjMGI.
  12. 2022-09-26 06:59:01.980670 88.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  13. 2022-09-26 06:59:02.000702 88.90% [DEBUG] sofia.c:2419 detaching session 5a4db0b2-079b-4659-87c1-65272ee60cfb
  14. 2022-09-26 06:59:02.000702 88.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [550999999@13.127.15.161] from ip 103.240.35.46
  15. 2022-09-26 06:59:02.000702 88.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/5113911718@13.127.15.161:5078) State NEW
  16. 2022-09-26 06:59:02.060643 88.90% [DEBUG] sofia.c:2532 Re-attaching to session 5a4db0b2-079b-4659-87c1-65272ee60cfb
  17. 2022-09-26 06:59:02.080649 88.90% [INFO] sofia.c:10462 sofia/default/5113911718@13.127.15.161:5078 receiving invite from 103.240.35.46:41948 version: 1.10.7 -release-19-883d2cb662 64bit call-id: OTY5MThmYjBjMmEwMzJlYzNmMDUyY2JhMGQ1N2NjMGI.
  18. 2022-09-26 06:59:02.080649 88.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  19. 2022-09-26 06:59:02.080649 88.90% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  20. 2022-09-26 06:59:02.080649 88.90% [DEBUG] sofia.c:7499 Channel sofia/default/5113911718@13.127.15.161:5078 entering state [received][100]
  21. 2022-09-26 06:59:02.080649 88.90% [DEBUG] sofia.c:7509 Remote SDP:
  22. v=0
  23. o=Z 0 0 IN IP4 103.240.35.46
  24. s=Z
  25. c=IN IP4 103.240.35.46
  26. t=0 0
  27. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  28. a=rtpmap:110 speex/8000
  29. a=rtpmap:98 iLBC/8000
  30. a=fmtp:98 mode=20
  31. a=rtpmap:101 telephone-event/8000
  32. a=fmtp:101 0-15
  33.  
  34. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  35. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  40. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  42. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  43. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  44. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  45. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  46. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  47. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/5113911718@13.127.15.161:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  48. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_codec.c:111 sofia/default/5113911718@13.127.15.161:5078 Original read codec set to PCMA:8
  49. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  50. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5973 sofia/default/5113911718@13.127.15.161:5078 Set 2833 dtmf send payload to 101 recv payload to 101
  51. 2022-09-26 06:59:02.080649 88.90% [DEBUG] sofia.c:7933 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_NEW -> CS_INIT
  52. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_INIT (Cur 1 Tot 3137)
  53. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5113911718@13.127.15.161:5078) State INIT
  54. 2022-09-26 06:59:02.080649 88.90% [DEBUG] mod_sofia.c:97 sofia/default/5113911718@13.127.15.161:5078 SOFIA INIT
  55. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/5113911718@13.127.15.161:5078 Standard INIT
  56. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_INIT -> CS_ROUTING
  57. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5113911718@13.127.15.161:5078) State INIT going to sleep
  58. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_ROUTING (Cur 1 Tot 3137)
  59. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_channel.c:2380 (sofia/default/5113911718@13.127.15.161:5078) Callstate Change DOWN -> RINGING
  60. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5113911718@13.127.15.161:5078) State ROUTING
  61. 2022-09-26 06:59:02.080649 88.90% [DEBUG] mod_sofia.c:158 sofia/default/5113911718@13.127.15.161:5078 SOFIA ROUTING
  62. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/5113911718@13.127.15.161:5078 Standard ROUTING
  63. 2022-09-26 06:59:02.080649 88.90% [INFO] mod_dialplan_xml.c:639 Processing 5113911718 <5113911718>->550999999 in context default
  64. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  65. 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  66. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 550999999
  67. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '550999999' AND status=0 limit 1
  68. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 5113911718 / 5113911718
  69. 2022-09-26 06:59:02.100660 88.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="550999999" LIMIT 1
  70. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="550999999" limit 1
  71. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  72. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 240709]
  73. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "240709" AND deleted = 0 limit 1
  74. 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!!
  75. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^550999999.*' OR blocked_patterns = '^55099999.*' OR blocked_patterns = '^5509999.*' OR blocked_patterns = '^550999.*' OR blocked_patterns = '^55099.*' OR blocked_patterns = '^5509.*' OR blocked_patterns = '^550.*' OR blocked_patterns = '^55.*' OR blocked_patterns = '^5.*' OR blocked_patterns ='--') AND accountid = 95 limit 1
  76. 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!!
  77. 2022-09-26 06:59:02.100660 88.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 ="550999999" AND A.accountid = '95' limit 1
  78. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 550999999
  79. 2022-09-26 06:59:02.100660 88.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="550999999" LIMIT 1
  80. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="550999999" limit 1
  81. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  82. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="550999999" AND (accountid = 0 OR status = 1) LIMIT 1
  83. 2022-09-26 06:59:02.100660 88.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 (patterns = '^550999999.*' OR patterns = '^55099999.*' OR patterns = '^5509999.*' OR patterns = '^550999.*' OR patterns = '^55099.*' OR patterns = '^5509.*' OR patterns = '^550.*' OR patterns = '^55.*' OR patterns = '^5.*' OR patterns ='--') AND accountid = 95 ORDER BY LENGTH(PKGPTR.patterns) DESC
  84. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  85. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 95
  86. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 240709
  87. 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!!
  88. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
  89. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  90. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 29
  91. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  92. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 29 AND status = 0
  93. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  94. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^550999999.*' OR pattern = '^55099999.*' OR pattern = '^5509999.*' OR pattern = '^550999.*' OR pattern = '^55099.*' OR pattern = '^5509.*' OR pattern = '^550.*' OR pattern = '^55.*' OR pattern = '^5.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 29 OR accountid=95)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  95. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  96. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  97. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 59
  98. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  99. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  100. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.39000
  101. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : GGGGGGG
  102. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 103
  103. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 95
  104. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  105. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  106. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  107. 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!!
  108. 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 95 !!!
  109. 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  110. 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 93
  111. 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "93" AND deleted = 0 limit 1
  112. 2022-09-26 06:59:02.120718 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!!
  113. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^550999999.*' OR blocked_patterns = '^55099999.*' OR blocked_patterns = '^5509999.*' OR blocked_patterns = '^550999.*' OR blocked_patterns = '^55099.*' OR blocked_patterns = '^5509.*' OR blocked_patterns = '^550.*' OR blocked_patterns = '^55.*' OR blocked_patterns = '^5.*' OR blocked_patterns ='--') AND accountid = 93 limit 1
  114. 2022-09-26 06:59:02.120718 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!!
  115. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  116. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 93
  117. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 306532
  118. 2022-09-26 06:59:02.120718 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!!
  119. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 0
  120. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  121. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  122. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  123. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  124. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^550999999.*' OR pattern = '^55099999.*' OR pattern = '^5509999.*' OR pattern = '^550999.*' OR pattern = '^55099.*' OR pattern = '^5509.*' OR pattern = '^550.*' OR pattern = '^55.*' OR pattern = '^5.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=93)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  125. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  126. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  127. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 53
  128. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  129. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  130. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.40000
  131. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] comment :
  132. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 26
  133. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 93
  134. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  135. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  136. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  137. 2022-09-26 06:59:02.120718 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!!
  138. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your0 balance Accountid 93 !!!
  139. 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your balance is not sufficent to dial 550999999 !!!
  140. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] post_cdrs:::0
  141. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 95
  142. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  143. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  144. <document type="freeswitch/xml">
  145. <section name="dialplan" description="ASTPP Dialplan">
  146. <context name="default">
  147. <extension name="550999999">
  148. <condition field="destination_number" expression="550999999">
  149. <action application="log" data="WARNING Accountcode 240709 doesn't have sufficiant fund!!"/>
  150. <action application="set" data="original_caller_id_name=5113911718"/>
  151. <action application="set" data="original_caller_id_number=5113911718"/>
  152. <action application="set" data="error_cdr=1"/>
  153. <action application="set" data="callstart=2022-09-26 06:59:02"/>
  154. <action application="set" data="account_id=95"/>
  155. <action application="set" data="parent_id=93"/>
  156. <action application="set" data="call_direction=outbound"/>
  157. <action application="set" data="sip_ignore_remote_cause=true"/>
  158. <action application="set" data="call_processed=internal"/>
  159. <action application="set" data="effective_destination_number=550999999"/>
  160. <action application="set" data="last_bridge_hangup_cause=NO_SUFFICIENT_FUND"/>
  161. <action application="hangup" data="NO_SUFFICIENT_FUND"/>
  162. </condition>
  163. </extension>
  164. </context>
  165. </section>
  166. </document>
  167. Dialplan: sofia/default/5113911718@13.127.15.161:5078 parsing [default->550999999] continue=false
  168. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Regex (PASS) [550999999] destination_number(550999999) =~ /550999999/ break=on-false
  169. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action log(WARNING Accountcode 240709 doesn't have sufficiant fund!!)
  170. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(original_caller_id_name=5113911718)
  171. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(original_caller_id_number=5113911718)
  172. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(error_cdr=1)
  173. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(callstart=2022-09-26 06:59:02)
  174. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(account_id=95)
  175. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(parent_id=93)
  176. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(call_direction=outbound)
  177. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(sip_ignore_remote_cause=true)
  178. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(call_processed=internal)
  179. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(effective_destination_number=550999999)
  180. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  181. Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action hangup(NO_SUFFICIENT_FUND)
  182. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:281 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_ROUTING -> CS_EXECUTE
  183. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5113911718@13.127.15.161:5078) State ROUTING going to sleep
  184. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_EXECUTE (Cur 1 Tot 3137)
  185. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5113911718@13.127.15.161:5078) State EXECUTE
  186. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_sofia.c:213 sofia/default/5113911718@13.127.15.161:5078 SOFIA EXECUTE
  187. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/5113911718@13.127.15.161:5078 Standard EXECUTE
  188. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 log(WARNING Accountcode 240709 doesn't have sufficiant fund!!)
  189. 2022-09-26 06:59:02.120718 88.90% [WARNING] mod_dptools.c:1879 Accountcode 240709 doesn't have sufficiant fund!!
  190. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(original_caller_id_name=5113911718)
  191. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [original_caller_id_name]=[5113911718]
  192. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(original_caller_id_number=5113911718)
  193. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [original_caller_id_number]=[5113911718]
  194. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(error_cdr=1)
  195. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [error_cdr]=[1]
  196. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(callstart=2022-09-26 06:59:02)
  197. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [callstart]=[2022-09-26 06:59:02]
  198. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(account_id=95)
  199. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [account_id]=[95]
  200. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(parent_id=93)
  201. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [parent_id]=[93]
  202. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(call_direction=outbound)
  203. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [call_direction]=[outbound]
  204. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(sip_ignore_remote_cause=true)
  205. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [sip_ignore_remote_cause]=[true]
  206. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(call_processed=internal)
  207. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [call_processed]=[internal]
  208. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(effective_destination_number=550999999)
  209. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [effective_destination_number]=[550999999]
  210. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  211. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [last_bridge_hangup_cause]=[NO_SUFFICIENT_FUND]
  212. EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 hangup(NO_SUFFICIENT_FUND)
  213. 2022-09-26 06:59:02.120718 88.90% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/5113911718@13.127.15.161:5078 [CS_EXECUTE] [NORMAL_CLEARING]
  214. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_session.c:2983 sofia/default/5113911718@13.127.15.161:5078 skip receive message [PHONE_EVENT] (channel is hungup already)
  215. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5113911718@13.127.15.161:5078) State EXECUTE going to sleep
  216. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_HANGUP (Cur 1 Tot 3137)
  217. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5113911718@13.127.15.161:5078) Callstate Change RINGING -> HANGUP
  218. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5113911718@13.127.15.161:5078) State HANGUP
  219. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/5113911718@13.127.15.161:5078 hanging up, cause: NORMAL_CLEARING
  220. 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  221. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/5113911718@13.127.15.161:5078 Standard HANGUP, cause: NORMAL_CLEARING
  222. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5113911718@13.127.15.161:5078) State HANGUP going to sleep
  223. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_HANGUP -> CS_REPORTING
  224. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_REPORTING (Cur 1 Tot 3137)
  225. 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5113911718@13.127.15.161:5078) State REPORTING
  226. 2022-09-26 06:59:02.120718 88.90% [INFO] mod_json_cdr.c:271 Process [5a4db0b2-079b-4659-87c1-65272ee60cfb.cdr.json]
  227. 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/5113911718@13.127.15.161:5078 Standard REPORTING, cause: NORMAL_CLEARING
  228. 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5113911718@13.127.15.161:5078) State REPORTING going to sleep
  229. 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_REPORTING -> CS_DESTROY
  230. 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_session.c:1753 Session 3137 (sofia/default/5113911718@13.127.15.161:5078) Locked, Waiting on external entities
  231. 2022-09-26 06:59:02.140650 89.90% [NOTICE] switch_core_session.c:1771 Session 3137 (sofia/default/5113911718@13.127.15.161:5078) Ended
  232. 2022-09-26 06:59:02.140650 89.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5113911718@13.127.15.161:5078 [CS_DESTROY]
  233. 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_DESTROY (Cur 0 Tot 3137)
  234. 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5113911718@13.127.15.161:5078) State DESTROY
  235. 2022-09-26 06:59:02.140650 89.90% [DEBUG] mod_sofia.c:379 sofia/default/5113911718@13.127.15.161:5078 SOFIA DESTROY
  236. 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/5113911718@13.127.15.161:5078 Standard DESTROY
  237. 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5113911718@13.127.15.161:5078) State DESTROY going to sleep
  238. freeswitch@ip-172-31-40-49> /exit
  239.  
  240. root@ip-172-31-40-49:/home/admin#