From Prashant Kumar, 1 Year 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@FS1ClusterQA>
  7. freeswitch@FS1ClusterQA>
  8. 2023-08-09 04:44:08.627988 88.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8000100020@13.232.246.166 [43d0cc97-0123-4f66-bb49-31fbb6f03469]
  9. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000100020@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 7049)
  10. 2023-08-09 04:44:08.627988 88.17% [INFO] sofia.c:10462 sofia/default/8000100020@13.232.246.166 receiving invite from 78.47.101.152:5073 version: 1.10.7 -release 64bit call-id: 3802b8c1-b112-123c-ffaf-02c9c4cfda14
  11. 2023-08-09 04:44:08.627988 88.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 78.47.101.152:0.
  12. 2023-08-09 04:44:08.627988 88.17% [DEBUG] sofia.c:10585 IP 78.47.101.152 Approved by acl "default[]". Access Granted.
  13. 2023-08-09 04:44:08.627988 88.17% [DEBUG] sofia.c:7499 Channel sofia/default/8000100020@13.232.246.166 entering state [received][100]
  14. 2023-08-09 04:44:08.627988 88.17% [DEBUG] sofia.c:7509 Remote SDP:
  15. v=0
  16. o=FreeSWITCH 1691536198 1691536199 IN IP4 13.232.246.166
  17. s=FreeSWITCH
  18. c=IN IP4 13.232.246.166
  19. t=0 0
  20. m=audio 20050 RTP/AVP 8 18 101
  21. a=rtpmap:8 PCMA/8000
  22. a=rtpmap:18 G729/8000
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25. a=ptime:20
  26.  
  27. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  32. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  33. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8000100020@13.232.246.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  34. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_codec.c:111 sofia/default/8000100020@13.232.246.166 Original read codec set to PCMA:8
  35. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  36. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_media.c:5973 sofia/default/8000100020@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  37. 2023-08-09 04:44:08.627988 88.17% [DEBUG] sofia.c:7933 (sofia/default/8000100020@13.232.246.166) State Change CS_NEW -> CS_INIT
  38. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8000100020@13.232.246.166) State NEW
  39. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000100020@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 7049)
  40. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8000100020@13.232.246.166) State INIT
  41. 2023-08-09 04:44:08.627988 88.17% [DEBUG] mod_sofia.c:97 sofia/default/8000100020@13.232.246.166 SOFIA INIT
  42. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/8000100020@13.232.246.166 Standard INIT
  43. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8000100020@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  44. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8000100020@13.232.246.166) State INIT going to sleep
  45. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000100020@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 7049)
  46. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_channel.c:2380 (sofia/default/8000100020@13.232.246.166) Callstate Change DOWN -> RINGING
  47. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8000100020@13.232.246.166) State ROUTING
  48. 2023-08-09 04:44:08.627988 88.17% [DEBUG] mod_sofia.c:158 sofia/default/8000100020@13.232.246.166 SOFIA ROUTING
  49. 2023-08-09 04:44:08.627988 88.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/8000100020@13.232.246.166 Standard ROUTING
  50. 2023-08-09 04:44:08.627988 88.17% [INFO] mod_dialplan_xml.c:639 Processing CommunityVsixServer <8000100020>->100900 in context default
  51. 2023-08-09 04:44:08.667958 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  52. 2023-08-09 04:44:08.687968 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  53. 2023-08-09 04:44:08.687968 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  54. 2023-08-09 04:44:08.687968 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  55. 2023-08-09 04:44:08.707953 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  56. 2023-08-09 04:44:08.707953 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100900
  57. 2023-08-09 04:44:08.707953 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '100900' limit 1
  58. 2023-08-09 04:44:08.707953 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '100900' AND status=0 limit 1
  59. 2023-08-09 04:44:08.707953 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '100900' and status=0 LIMIT 1
  60. 2023-08-09 04:44:08.707953 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ClusterServer
  61. 2023-08-09 04:44:08.707953 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  62. 2023-08-09 04:44:08.707953 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '78.47.101.152' limit 1
  63. 2023-08-09 04:44:08.707953 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "CommunityVsixServer" / 8000100020
  64. 2023-08-09 04:44:08.707953 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  65. 2023-08-09 04:44:08.707953 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100900 AND status=0 limit 1
  66. 2023-08-09 04:44:08.707953 88.17% [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 ="100900" LIMIT 1
  67. 2023-08-09 04:44:08.707953 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2023-08-09 04:44:08.707953 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  69. 2023-08-09 04:44:08.707953 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 13.232.246.166
  70. 2023-08-09 04:44:08.707953 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871003670]
  71. 2023-08-09 04:44:08.707953 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8871003670" OR id = "8871003670") AND deleted = 0 limit 1
  72. 2023-08-09 04:44:08.727973 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =12
  73. 2023-08-09 04:44:08.727973 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="100900" AND (accountid = 0 OR status = 1) LIMIT 1
  74. 2023-08-09 04:44:08.727973 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  75. 2023-08-09 04:44:08.727973 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 12
  76. 2023-08-09 04:44:08.727973 88.17% [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 = '^100900.*' OR patterns = '^10090.*' OR patterns = '^1009.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 12 ORDER BY LENGTH(PKGPTR.patterns) DESC
  77. 2023-08-09 04:44:08.727973 88.17% [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 ="100900" AND A.accountid = '4' limit 1
  78. 2023-08-09 04:44:08.727973 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100900
  79. 2023-08-09 04:44:08.727973 88.17% [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 ="100900" LIMIT 1
  80. 2023-08-09 04:44:08.727973 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  81. 2023-08-09 04:44:08.727973 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  82. 2023-08-09 04:44:08.727973 88.17% [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 = '100900' OR number = '10090' OR number = '1009' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100900*' OR number = '10090*' OR number = '1009*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '8000100020' OR number = '800010002' OR number = '80001000' OR number = '8000100' OR number = '800010' OR number = '80001' OR number = '8000' OR number = '800' OR number = '80' OR number = '8' OR number ='--') OR (number = '8000100020*' OR number = '800010002*' OR number = '80001000*' OR number = '8000100*' OR number = '800010*' OR number = '80001*' OR number = '8000*' OR number = '800*' OR number = '80*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  83. 2023-08-09 04:44:08.727973 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  84. 2023-08-09 04:44:08.727973 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100900' OR routing_prefix = '10090' OR routing_prefix = '1009' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  85. 2023-08-09 04:44:08.727973 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  86. 2023-08-09 04:44:08.727973 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  87. 2023-08-09 04:44:08.727973 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871003670
  88. 2023-08-09 04:44:08.727973 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =12
  89. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 48572.3671
  90. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  91. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  92. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  93. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  94. 2023-08-09 04:44:08.747924 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  95. 2023-08-09 04:44:08.747924 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  96. 2023-08-09 04:44:08.747924 88.17% [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 ="100900" LIMIT 1
  97. 2023-08-09 04:44:08.747924 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  98. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  99. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  100. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16
  101. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  102. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  103. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.77000
  104. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Denpasar Bali
  105. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 89
  106. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  107. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  108. 2023-08-09 04:44:08.747924 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =12
  109. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your48572.3671 balance Accountid 4 !!!
  110. 2023-08-09 04:44:08.747924 88.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  111. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  112. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  113. 2023-08-09 04:44:08.747924 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  114. 2023-08-09 04:44:08.747924 88.17% [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 = 4 AND status=0 LIMIT 1
  115. 2023-08-09 04:44:08.747924 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "12" OR number = "12") AND deleted = 0 limit 1
  116. 2023-08-09 04:44:08.747924 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =12
  117. 2023-08-09 04:44:08.767935 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  118. 2023-08-09 04:44:08.767935 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  119. 2023-08-09 04:44:08.767935 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  120. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 12 limit 1
  121. 2023-08-09 04:44:08.767935 88.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : clusterguibeta2.astppbilling.org
  122. 2023-08-09 04:44:08.767935 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  123. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+ClusterServer' and status = 0 limit 1
  124. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  125. 2023-08-09 04:44:08.767935 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  126. 2023-08-09 04:44:08.767935 88.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  127. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "7709107777777" AND accounts.status = 0
  128. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :100900
  129. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :100900
  130. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  131. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 12
  132. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  133. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  134. <document type="freeswitch/xml">
  135. <section name="dialplan" description="ASTPP Dialplan">
  136. <context name="default">
  137. <extension name="100900">
  138. <condition field="destination_number" expression="100900">
  139. <action application="log" data="WARNING Accountcode  doesn't have sufficiant fund!!"/>
  140. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-daily-credit.wav"/>
  141. <action application="set" data="original_caller_id_name="CommunityVsixServer""/>
  142. <action application="set" data="original_caller_id_number="CommunityVsixServer""/>
  143. <action application="set" data="error_cdr=1"/>
  144. <action application="set" data="callstart=2023-08-09 04:44:08"/>
  145. <action application="set" data="account_id=12"/>
  146. <action application="set" data="parent_id=10"/>
  147. <action application="set" data="call_direction=inbound"/>
  148. <action application="set" data="calltype=DID"/>
  149. <action application="set" data="sip_ignore_remote_cause=true"/>
  150. <action application="set" data="call_processed=internal"/>
  151. <action application="set" data="effective_destination_number=100900"/>
  152. <action application="set" data="last_bridge_hangup_cause=NO_SUFFICIENT_FUND"/>
  153. <action application="hangup" data="NO_SUFFICIENT_FUND"/>
  154. </condition>
  155. </extension>
  156. </context>
  157. </section>
  158. </document>
  159. Dialplan: sofia/default/8000100020@13.232.246.166 parsing [default->100900] continue=false
  160. Dialplan: sofia/default/8000100020@13.232.246.166 Regex (PASS) [100900] destination_number(100900) =~ /100900/ break=on-false
  161. Dialplan: sofia/default/8000100020@13.232.246.166 Action log(WARNING Accountcode  doesn't have sufficiant fund!!)
  162. Dialplan: sofia/default/8000100020@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-daily-credit.wav)
  163. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(original_caller_id_name=)
  164. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(original_caller_id_number=)
  165. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(error_cdr=1)
  166. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(callstart=2023-08-09 04:44:08)
  167. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(account_id=12)
  168. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(parent_id=10)
  169. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(call_direction=inbound)
  170. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(calltype=DID)
  171. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(sip_ignore_remote_cause=true)
  172. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(call_processed=internal)
  173. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(effective_destination_number=100900)
  174. Dialplan: sofia/default/8000100020@13.232.246.166 Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  175. Dialplan: sofia/default/8000100020@13.232.246.166 Action hangup(NO_SUFFICIENT_FUND)
  176. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8000100020@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  177. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8000100020@13.232.246.166) State ROUTING going to sleep
  178. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000100020@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 7049)
  179. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8000100020@13.232.246.166) State EXECUTE
  180. 2023-08-09 04:44:08.767935 88.17% [DEBUG] mod_sofia.c:213 sofia/default/8000100020@13.232.246.166 SOFIA EXECUTE
  181. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_state_machine.c:323 sofia/default/8000100020@13.232.246.166 Standard EXECUTE
  182. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 log(WARNING Accountcode  doesn't have sufficiant fund!!)
  183. 2023-08-09 04:44:08.767935 88.17% [WARNING] mod_dptools.c:1879 Accountcode  doesn't have sufficiant fund!!
  184. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/8000100020@13.232.246.166
  185. 2023-08-09 04:44:08.767935 88.17% [INFO] switch_core_session.c:2797 Sending early media
  186. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/8000100020@13.232.246.166] 167.235.194.5 port 30620 -> 13.232.246.166 port 20050 codec: 8 ms: 20
  187. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  188. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_media.c:9089 sofia/default/8000100020@13.232.246.166 Set 2833 dtmf send payload to 101
  189. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_media.c:9096 sofia/default/8000100020@13.232.246.166 Set 2833 dtmf receive payload to 101
  190. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_core_media.c:9119 sofia/default/8000100020@13.232.246.166 Set rtp dtmf delay to 40
  191. 2023-08-09 04:44:08.767935 88.17% [DEBUG] mod_sofia.c:2610 Ring SDP:
  192. v=0
  193. o=FreeSWITCH 1691525628 1691525629 IN IP4 167.235.194.5
  194. s=FreeSWITCH
  195. c=IN IP4 167.235.194.5
  196. t=0 0
  197. m=audio 30620 RTP/AVP 8 101
  198. a=rtpmap:8 PCMA/8000
  199. a=rtpmap:101 telephone-event/8000
  200. a=fmtp:101 0-15
  201. a=ptime:20
  202. a=sendrecv
  203.  
  204. 2023-08-09 04:44:08.767935 88.17% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/8000100020@13.232.246.166!
  205. 2023-08-09 04:44:08.767935 88.17% [DEBUG] switch_channel.c:3622 (sofia/default/8000100020@13.232.246.166) Callstate Change RINGING -> EARLY
  206. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-daily-credit.wav)
  207. 2023-08-09 04:44:08.787932 88.17% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-daily-credit.wav sample rate 22050 doesn't match requested rate 8000
  208. 2023-08-09 04:44:08.787932 88.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  209. 2023-08-09 04:44:08.787932 88.17% [DEBUG] sofia.c:7499 Channel sofia/default/8000100020@13.232.246.166 entering state [early][183]
  210. 2023-08-09 04:44:09.067952 88.17% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  211. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-daily-credit.wav
  212. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(original_caller_id_name=)
  213. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [original_caller_id_name]=[UNDEF]
  214. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(original_caller_id_number=)
  215. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [original_caller_id_number]=[UNDEF]
  216. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(error_cdr=1)
  217. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [error_cdr]=[1]
  218. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(callstart=2023-08-09 04:44:08)
  219. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [callstart]=[2023-08-09 04:44:08]
  220. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(account_id=12)
  221. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [account_id]=[12]
  222. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(parent_id=10)
  223. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [parent_id]=[10]
  224. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(call_direction=inbound)
  225. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [call_direction]=[inbound]
  226. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(calltype=DID)
  227. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [calltype]=[DID]
  228. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(sip_ignore_remote_cause=true)
  229. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [sip_ignore_remote_cause]=[true]
  230. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(call_processed=internal)
  231. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [call_processed]=[internal]
  232. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(effective_destination_number=100900)
  233. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [effective_destination_number]=[100900]
  234. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)
  235. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8000100020@13.232.246.166 [last_bridge_hangup_cause]=[NO_SUFFICIENT_FUND]
  236. EXECUTE [depth=0] sofia/default/8000100020@13.232.246.166 hangup(NO_SUFFICIENT_FUND)
  237. 2023-08-09 04:44:11.128025 87.20% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/8000100020@13.232.246.166 [CS_EXECUTE] [NORMAL_CLEARING]
  238. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_session.c:2983 sofia/default/8000100020@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  239. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8000100020@13.232.246.166) State EXECUTE going to sleep
  240. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000100020@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 7049)
  241. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8000100020@13.232.246.166) Callstate Change EARLY -> HANGUP
  242. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8000100020@13.232.246.166) State HANGUP
  243. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/8000100020@13.232.246.166 hanging up, cause: NORMAL_CLEARING
  244. 2023-08-09 04:44:11.128025 87.20% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  245. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/8000100020@13.232.246.166 Standard HANGUP, cause: NORMAL_CLEARING
  246. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8000100020@13.232.246.166) State HANGUP going to sleep
  247. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8000100020@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  248. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8000100020@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 7049)
  249. 2023-08-09 04:44:11.128025 87.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8000100020@13.232.246.166) State REPORTING
  250. 2023-08-09 04:44:11.128025 87.20% [INFO] mod_json_cdr.c:271 Process [43d0cc97-0123-4f66-bb49-31fbb6f03469.cdr.json]
  251. 2023-08-09 04:44:11.187989 87.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/8000100020@13.232.246.166 Standard REPORTING, cause: NORMAL_CLEARING
  252. 2023-08-09 04:44:11.187989 87.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8000100020@13.232.246.166) State REPORTING going to sleep
  253. 2023-08-09 04:44:11.187989 87.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8000100020@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  254. 2023-08-09 04:44:11.187989 87.20% [DEBUG] switch_core_session.c:1753 Session 7049 (sofia/default/8000100020@13.232.246.166) Locked, Waiting on external entities
  255. 2023-08-09 04:44:11.187989 87.20% [NOTICE] switch_core_session.c:1771 Session 7049 (sofia/default/8000100020@13.232.246.166) Ended
  256. 2023-08-09 04:44:11.187989 87.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8000100020@13.232.246.166 [CS_DESTROY]
  257. 2023-08-09 04:44:11.187989 87.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8000100020@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 7049)
  258. 2023-08-09 04:44:11.187989 87.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8000100020@13.232.246.166) State DESTROY
  259. 2023-08-09 04:44:11.187989 87.20% [DEBUG] mod_sofia.c:379 sofia/default/8000100020@13.232.246.166 SOFIA DESTROY
  260. 2023-08-09 04:44:11.187989 87.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/8000100020@13.232.246.166 Standard DESTROY
  261. 2023-08-09 04:44:11.187989 87.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8000100020@13.232.246.166) State DESTROY going to sleep
  262. freeswitch@FS1ClusterQA> /exit
  263.