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