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