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.  
  6. [This app Best viewed at 160x60 or more..]
  7. +OK log level  [7]
  8. freeswitch@inextrix>
  9. freeswitch@inextrix>
  10. freeswitch@inextrix>
  11. freeswitch@inextrix>
  12. 2023-03-28 12:01:36.380406 83.20% [NOTICE] switch_channel.c:1123 New Channel sofia/default/2020435523@192.168.1.109:5073 [b22d6a34-a033-4623-8cd9-ac5b079998f7]
  13. 2023-03-28 12:01:36.380406 83.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2020435523@192.168.1.109:5073) Running State Change CS_NEW (Cur 1 Tot 64)
  14. 2023-03-28 12:01:36.380406 83.20% [INFO] sofia.c:10462 sofia/default/2020435523@192.168.1.109:5073 receiving invite from 192.168.1.24:33422 version: 1.10.7 -release 64bit call-id: MzA0YzVkZmM3ZmUxYzhmNTYyMDZjNDc0ZDZiZjJlYWM.
  15. 2023-03-28 12:01:36.380406 83.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 192.168.1.24:0.
  16. 2023-03-28 12:01:36.400404 83.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [10010@192.168.1.109] from ip 192.168.1.24
  17. 2023-03-28 12:01:36.400404 83.20% [DEBUG] switch_core_state_machine.c:600 (sofia/default/2020435523@192.168.1.109:5073) State NEW
  18. 2023-03-28 12:01:36.400404 83.20% [DEBUG] sofia.c:2419 detaching session b22d6a34-a033-4623-8cd9-ac5b079998f7
  19. 2023-03-28 12:01:36.440395 83.20% [DEBUG] sofia.c:2532 Re-attaching to session b22d6a34-a033-4623-8cd9-ac5b079998f7
  20. 2023-03-28 12:01:36.460389 83.20% [INFO] sofia.c:10462 sofia/default/2020435523@192.168.1.109:5073 receiving invite from 192.168.1.24:33422 version: 1.10.7 -release 64bit call-id: MzA0YzVkZmM3ZmUxYzhmNTYyMDZjNDc0ZDZiZjJlYWM.
  21. 2023-03-28 12:01:36.460389 83.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 192.168.1.24:0.
  22. 2023-03-28 12:01:36.480411 83.20% [DEBUG] sofia.c:11672 Setting NAT mode based on via port
  23. 2023-03-28 12:01:36.480411 83.20% [DEBUG] sofia.c:7499 Channel sofia/default/2020435523@192.168.1.109:5073 entering state [received][100]
  24. 2023-03-28 12:01:36.480411 83.20% [DEBUG] sofia.c:7509 Remote SDP:
  25. v=0
  26. o=Z 0 0 IN IP4 103.240.35.46
  27. s=Z
  28. c=IN IP4 103.240.35.46
  29. t=0 0
  30. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  31. a=rtpmap:110 speex/8000
  32. a=rtpmap:98 iLBC/8000
  33. a=fmtp:98 mode=20
  34. a=rtpmap:101 telephone-event/8000
  35. a=fmtp:101 0-15
  36.  
  37. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  38. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  39. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  42. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  43. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  44. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  45. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  46. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  47. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  48. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  49. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  50. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/2020435523@192.168.1.109:5073 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  51. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_codec.c:111 sofia/default/2020435523@192.168.1.109:5073 Original read codec set to PCMA:8
  52. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  53. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_media.c:5973 sofia/default/2020435523@192.168.1.109:5073 Set 2833 dtmf send payload to 101 recv payload to 101
  54. 2023-03-28 12:01:36.480411 83.20% [DEBUG] sofia.c:7933 (sofia/default/2020435523@192.168.1.109:5073) State Change CS_NEW -> CS_INIT
  55. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2020435523@192.168.1.109:5073) Running State Change CS_INIT (Cur 1 Tot 64)
  56. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2020435523@192.168.1.109:5073) State INIT
  57. 2023-03-28 12:01:36.480411 83.20% [DEBUG] mod_sofia.c:97 sofia/default/2020435523@192.168.1.109:5073 SOFIA INIT
  58. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/2020435523@192.168.1.109:5073 Standard INIT
  59. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/2020435523@192.168.1.109:5073) State Change CS_INIT -> CS_ROUTING
  60. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2020435523@192.168.1.109:5073) State INIT going to sleep
  61. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2020435523@192.168.1.109:5073) Running State Change CS_ROUTING (Cur 1 Tot 64)
  62. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_channel.c:2380 (sofia/default/2020435523@192.168.1.109:5073) Callstate Change DOWN -> RINGING
  63. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2020435523@192.168.1.109:5073) State ROUTING
  64. 2023-03-28 12:01:36.480411 83.20% [DEBUG] mod_sofia.c:158 sofia/default/2020435523@192.168.1.109:5073 SOFIA ROUTING
  65. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/2020435523@192.168.1.109:5073 Standard ROUTING
  66. 2023-03-28 12:01:36.480411 83.20% [INFO] mod_dialplan_xml.c:639 Processing 2020435523 <2020435523>->10010 in context default
  67. 2023-03-28 12:01:36.480411 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  68. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  69. 2023-03-28 12:01:36.480411 83.20% [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')
  70. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  71. 2023-03-28 12:01:36.480411 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10010
  72. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10010' AND status=0 limit 1
  73. 2023-03-28 12:01:36.480411 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER2020435523
  74. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  75. 2023-03-28 12:01:36.480411 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '10010' limit 1
  76. 2023-03-28 12:01:36.480411 83.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  77. 2023-03-28 12:01:36.480411 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 2020435523 / 2020435523
  78. 2023-03-28 12:01:36.480411 83.20% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10010" LIMIT 1
  79. 2023-03-28 12:01:36.500389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2023-03-28 12:01:36.500389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  81. 2023-03-28 12:01:36.500389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 599742]
  82. 2023-03-28 12:01:36.500389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "599742" AND deleted = 0 limit 1
  83. 2023-03-28 12:01:36.500389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =4
  84. 2023-03-28 12:01:36.500389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="10010" AND (accountid = 0 OR status = 1) LIMIT 1
  85. 2023-03-28 12:01:36.500389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  86. 2023-03-28 12:01:36.500389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 4
  87. 2023-03-28 12:01:36.500389 83.20% [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 = '^10010.*' OR patterns = '^1001.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
  88. 2023-03-28 12:01:36.500389 83.20% [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 ="10010" AND A.accountid = '4' limit 1
  89. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10010
  90. 2023-03-28 12:01:36.520389 83.20% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10010" LIMIT 1
  91. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  92. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  93. 2023-03-28 12:01:36.520389 83.20% [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 = '10010' OR number = '1001' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10010*' OR number = '1001*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '2020435523' OR number = '202043552' OR number = '20204355' OR number = '2020435' OR number = '202043' OR number = '20204' OR number = '2020' OR number = '202' OR number = '20' OR number = '2' OR number ='--') OR (number = '2020435523*' OR number = '202043552*' OR number = '20204355*' OR number = '2020435*' OR number = '202043*' OR number = '20204*' OR number = '2020*' OR number = '202*' OR number = '20*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  94. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  95. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10010' OR routing_prefix = '1001' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  96. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  97. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  98. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 599742
  99. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =4
  100. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 246.4664
  101. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  102. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  103. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  104. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  105. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  106. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  107. 2023-03-28 12:01:36.520389 83.20% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10010" LIMIT 1
  108. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  109. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  110. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  111. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  112. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  113. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  114. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  115. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10010
  116. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  117. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  118. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  119. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =4
  120. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your246.4664 balance Accountid 4 !!!
  121. 2023-03-28 12:01:36.520389 83.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  122. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  123. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  124. 2023-03-28 12:01:36.520389 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  125. 2023-03-28 12:01:36.520389 83.20% [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
  126. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
  127. 2023-03-28 12:01:36.520389 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =4
  128. 2023-03-28 12:01:36.540416 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  129. 2023-03-28 12:01:36.540416 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  130. 2023-03-28 12:01:36.540416 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  131. 2023-03-28 12:01:36.540416 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  132. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  133. 2023-03-28 12:01:36.540416 83.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  134. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 4  and status = 0 limit 1
  135. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_8
  136. 2023-03-28 12:01:36.540416 83.20% [ERR] mod_lua.cpp:202 ./astpp/scripts/astpp.xml.lua:505: attempt to call field '?' (a nil value)
  137. stack traceback:
  138.         ./astpp/scripts/astpp.xml.lua:505: in function 'freeswitch_xml_inbound'
  139.         ./astpp/scripts/astpp.dialplan.lua:823: in main chunk
  140.         [C]: in function 'dofile'
  141.         ./astpp/astpp.lua:140: in main chunk
  142. 2023-03-28 12:01:36.540416 83.20% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  143. 2023-03-28 12:01:36.540416 83.20% [WARNING] mod_dialplan_xml.c:669 Context default not found
  144. 2023-03-28 12:01:36.540416 83.20% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  145. 2023-03-28 12:01:36.540416 83.20% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/2020435523@192.168.1.109:5073 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  146. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2020435523@192.168.1.109:5073) State ROUTING going to sleep
  147. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2020435523@192.168.1.109:5073) Running State Change CS_HANGUP (Cur 1 Tot 64)
  148. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/2020435523@192.168.1.109:5073) Callstate Change RINGING -> HANGUP
  149. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2020435523@192.168.1.109:5073) State HANGUP
  150. 2023-03-28 12:01:36.540416 83.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/2020435523@192.168.1.109:5073 hanging up, cause: NO_ROUTE_DESTINATION
  151. 2023-03-28 12:01:36.540416 83.20% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  152. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/2020435523@192.168.1.109:5073 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  153. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2020435523@192.168.1.109:5073) State HANGUP going to sleep
  154. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/2020435523@192.168.1.109:5073) State Change CS_HANGUP -> CS_REPORTING
  155. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2020435523@192.168.1.109:5073) Running State Change CS_REPORTING (Cur 1 Tot 64)
  156. 2023-03-28 12:01:36.540416 83.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2020435523@192.168.1.109:5073) State REPORTING
  157. 2023-03-28 12:01:36.540416 83.20% [INFO] mod_json_cdr.c:271 Process [b22d6a34-a033-4623-8cd9-ac5b079998f7.cdr.json]
  158. 2023-03-28 12:01:36.560401 83.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/2020435523@192.168.1.109:5073 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  159. 2023-03-28 12:01:36.560401 83.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2020435523@192.168.1.109:5073) State REPORTING going to sleep
  160. 2023-03-28 12:01:36.560401 83.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/2020435523@192.168.1.109:5073) State Change CS_REPORTING -> CS_DESTROY
  161. 2023-03-28 12:01:36.560401 83.20% [DEBUG] switch_core_session.c:1753 Session 64 (sofia/default/2020435523@192.168.1.109:5073) Locked, Waiting on external entities
  162. 2023-03-28 12:01:36.560401 83.20% [NOTICE] switch_core_session.c:1771 Session 64 (sofia/default/2020435523@192.168.1.109:5073) Ended
  163. 2023-03-28 12:01:36.560401 83.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/2020435523@192.168.1.109:5073 [CS_DESTROY]
  164. 2023-03-28 12:01:36.560401 83.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/2020435523@192.168.1.109:5073) Running State Change CS_DESTROY (Cur 0 Tot 64)
  165. 2023-03-28 12:01:36.560401 83.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2020435523@192.168.1.109:5073) State DESTROY
  166. 2023-03-28 12:01:36.560401 83.20% [DEBUG] mod_sofia.c:379 sofia/default/2020435523@192.168.1.109:5073 SOFIA DESTROY
  167. 2023-03-28 12:01:36.560401 83.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/2020435523@192.168.1.109:5073 Standard DESTROY
  168. 2023-03-28 12:01:36.560401 83.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2020435523@192.168.1.109:5073) State DESTROY going to sleep
  169. freeswitch@inextrix>