From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Getting fs_cli error during ring group
  1. freeswitch@entdemo-gibfibre>
  2. 2022-10-10 12:54:53.713740 97.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1001@46.101.114.158 [905bd660-934d-4be5-865f-f6c2e841d01e]
  3. 2022-10-10 12:54:53.713740 97.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1001@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 67)
  4. 2022-10-10 12:54:53.713740 97.80% [INFO] sofia.c:10462 sofia/default/1001@46.101.114.158 receiving invite from 178.33.32.221:51755 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 2114722264-544791177-1812127649
  5. 2022-10-10 12:54:53.713740 97.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 178.33.32.221:0.
  6. 2022-10-10 12:54:53.713740 97.80% [DEBUG] sofia.c:2419 detaching session 905bd660-934d-4be5-865f-f6c2e841d01e
  7. 2022-10-10 12:54:53.713740 97.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [110146812112263@46.101.114.158] from ip 178.33.32.221
  8. 2022-10-10 12:54:53.713740 97.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1001@46.101.114.158) State NEW
  9. 2022-10-10 12:54:53.773753 97.80% [DEBUG] sofia.c:2532 Re-attaching to session 905bd660-934d-4be5-865f-f6c2e841d01e
  10. 2022-10-10 12:54:53.793739 97.80% [INFO] sofia.c:10462 sofia/default/1001@46.101.114.158 receiving invite from 178.33.32.221:51755 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 2114722264-544791177-1812127649
  11. 2022-10-10 12:54:53.793739 97.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 178.33.32.221:0.
  12. 2022-10-10 12:54:53.793739 97.80% [WARNING] sofia_reg.c:3223 Can't find user [1001@46.101.114.158] from 178.33.32.221
  13. You must define a domain called '46.101.114.158' in your directory and add a user with the id="1001" attribute
  14. and you must configure your device to use the proper domain in its authentication credentials.
  15. 2022-10-10 12:54:53.793739 97.80% [NOTICE] sofia.c:2417 Hangup sofia/default/1001@46.101.114.158 [CS_NEW] [CALL_REJECTED]
  16. 2022-10-10 12:54:53.793739 97.80% [WARNING] sofia_reg.c:1806 SIP auth failure (INVITE) on sofia profile 'default' for [110146812112263@46.101.114.158] from ip 178.33.32.221
  17. 2022-10-10 12:54:53.793739 97.80% [DEBUG] sofia.c:1527 Channel is already hungup.
  18. 2022-10-10 12:54:53.793739 97.80% [DEBUG] sofia.c:1527 Channel is already hungup.
  19. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1001@46.101.114.158) Running State Change CS_HANGUP (Cur 1 Tot 67)
  20. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1001@46.101.114.158) Callstate Change DOWN -> HANGUP
  21. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1001@46.101.114.158) State HANGUP
  22. 2022-10-10 12:54:53.793739 97.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/1001@46.101.114.158 hanging up, cause: CALL_REJECTED
  23. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/1001@46.101.114.158 Standard HANGUP, cause: CALL_REJECTED
  24. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1001@46.101.114.158) State HANGUP going to sleep
  25. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1001@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  26. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1001@46.101.114.158) Running State Change CS_REPORTING (Cur 1 Tot 67)
  27. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1001@46.101.114.158) State REPORTING
  28. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/1001@46.101.114.158 Standard REPORTING, cause: CALL_REJECTED
  29. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1001@46.101.114.158) State REPORTING going to sleep
  30. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1001@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  31. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_session.c:1753 Session 67 (sofia/default/1001@46.101.114.158) Locked, Waiting on external entities
  32. 2022-10-10 12:54:53.793739 97.80% [NOTICE] switch_core_session.c:1771 Session 67 (sofia/default/1001@46.101.114.158) Ended
  33. 2022-10-10 12:54:53.793739 97.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1001@46.101.114.158 [CS_DESTROY]
  34. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1001@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 67)
  35. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1001@46.101.114.158) State DESTROY
  36. 2022-10-10 12:54:53.793739 97.80% [DEBUG] mod_sofia.c:379 sofia/default/1001@46.101.114.158 SOFIA DESTROY
  37. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/1001@46.101.114.158 Standard DESTROY
  38. 2022-10-10 12:54:53.793739 97.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1001@46.101.114.158) State DESTROY going to sleep
  39. 2022-10-10 12:54:56.613754 98.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/2637536173@entdemo.astppbilling.org [ac13557d-9a5d-4a60-a4c9-fc21f153bff6]
  40. 2022-10-10 12:54:56.613754 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2637536173@entdemo.astppbilling.org) Running State Change CS_NEW (Cur 1 Tot 68)
  41. 2022-10-10 12:54:56.613754 98.77% [INFO] sofia.c:10462 sofia/default/2637536173@entdemo.astppbilling.org receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ynyxqgdumypxwbg@pk-qa
  42. 2022-10-10 12:54:56.613754 98.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  43. 2022-10-10 12:54:56.613754 98.77% [DEBUG] sofia.c:2419 detaching session ac13557d-9a5d-4a60-a4c9-fc21f153bff6
  44. 2022-10-10 12:54:56.613754 98.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [200020@entdemo.astppbilling.org] from ip 103.240.35.46
  45. 2022-10-10 12:54:56.613754 98.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/2637536173@entdemo.astppbilling.org) State NEW
  46. 2022-10-10 12:54:56.753745 98.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1012@46.101.114.158 [9d9f7f55-6fad-4946-b7bb-02d577c6bc91]
  47. 2022-10-10 12:54:56.753745 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1012@46.101.114.158) Running State Change CS_NEW (Cur 2 Tot 69)
  48. 2022-10-10 12:54:56.753745 98.77% [INFO] sofia.c:10462 sofia/default/1012@46.101.114.158 receiving invite from 178.33.32.221:53727 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 1134905129-2138762923-363346040
  49. 2022-10-10 12:54:56.753745 98.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 178.33.32.221:0.
  50. 2022-10-10 12:54:56.753745 98.77% [DEBUG] sofia.c:2419 detaching session 9d9f7f55-6fad-4946-b7bb-02d577c6bc91
  51. 2022-10-10 12:54:56.753745 98.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [000420539002889@46.101.114.158] from ip 178.33.32.221
  52. 2022-10-10 12:54:56.753745 98.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1012@46.101.114.158) State NEW
  53. 2022-10-10 12:54:56.793748 98.77% [DEBUG] sofia.c:2532 Re-attaching to session ac13557d-9a5d-4a60-a4c9-fc21f153bff6
  54. 2022-10-10 12:54:56.793748 98.77% [INFO] sofia.c:10462 sofia/default/2637536173@entdemo.astppbilling.org receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ynyxqgdumypxwbg@pk-qa
  55. 2022-10-10 12:54:56.793748 98.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  56. 2022-10-10 12:54:56.813759 98.77% [DEBUG] sofia.c:7499 Channel sofia/default/2637536173@entdemo.astppbilling.org entering state [received][100]
  57. 2022-10-10 12:54:56.813759 98.77% [DEBUG] sofia.c:7509 Remote SDP:
  58. v=0
  59. o=twinkle 1626012469 2025011452 IN IP4 103.240.35.46
  60. s=-
  61. c=IN IP4 103.240.35.46
  62. t=0 0
  63. m=audio 8000 RTP/AVP 98 97 8 0 3 101
  64. a=rtpmap:98 speex/16000
  65. a=rtpmap:97 speex/8000
  66. a=rtpmap:8 PCMA/8000
  67. a=rtpmap:0 PCMU/8000
  68. a=rtpmap:3 GSM/8000
  69. a=rtpmap:101 telephone-event/8000
  70. a=fmtp:101 0-15
  71. a=ptime:20
  72.  
  73. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  74. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  75. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  76. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  77. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  78. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  79. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  80. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  81. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  82. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  83. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  84. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  85. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  86. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/2637536173@entdemo.astppbilling.org PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  87. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_codec.c:111 sofia/default/2637536173@entdemo.astppbilling.org Original read codec set to PCMA:8
  88. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  89. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_media.c:5973 sofia/default/2637536173@entdemo.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101
  90. 2022-10-10 12:54:56.813759 98.77% [DEBUG] sofia.c:7933 (sofia/default/2637536173@entdemo.astppbilling.org) State Change CS_NEW -> CS_INIT
  91. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2637536173@entdemo.astppbilling.org) Running State Change CS_INIT (Cur 2 Tot 69)
  92. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2637536173@entdemo.astppbilling.org) State INIT
  93. 2022-10-10 12:54:56.813759 98.77% [DEBUG] mod_sofia.c:97 sofia/default/2637536173@entdemo.astppbilling.org SOFIA INIT
  94. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/2637536173@entdemo.astppbilling.org Standard INIT
  95. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/2637536173@entdemo.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  96. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2637536173@entdemo.astppbilling.org) State INIT going to sleep
  97. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2637536173@entdemo.astppbilling.org) Running State Change CS_ROUTING (Cur 2 Tot 69)
  98. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_channel.c:2380 (sofia/default/2637536173@entdemo.astppbilling.org) Callstate Change DOWN -> RINGING
  99. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2637536173@entdemo.astppbilling.org) State ROUTING
  100. 2022-10-10 12:54:56.813759 98.77% [DEBUG] mod_sofia.c:158 sofia/default/2637536173@entdemo.astppbilling.org SOFIA ROUTING
  101. 2022-10-10 12:54:56.813759 98.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/2637536173@entdemo.astppbilling.org Standard ROUTING
  102. 2022-10-10 12:54:56.813759 98.77% [INFO] mod_dialplan_xml.c:639 Processing 2637536173 <2637536173>->200020 in context default
  103. 2022-10-10 12:54:56.833748 98.77% [DEBUG] sofia.c:2532 Re-attaching to session 9d9f7f55-6fad-4946-b7bb-02d577c6bc91
  104. 2022-10-10 12:54:56.833748 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  105. 2022-10-10 12:54:56.833748 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  106. 2022-10-10 12:54:56.833748 98.77% [INFO] sofia.c:10462 sofia/default/1012@46.101.114.158 receiving invite from 178.33.32.221:53727 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 1134905129-2138762923-363346040
  107. 2022-10-10 12:54:56.833748 98.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 178.33.32.221:0.
  108. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 200020
  109. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '200020' AND status=0 limit 1
  110. 2022-10-10 12:54:56.853736 98.77% [WARNING] sofia_reg.c:3223 Can't find user [1012@46.101.114.158] from 178.33.32.221
  111. You must define a domain called '46.101.114.158' in your directory and add a user with the id="1012" attribute
  112. and you must configure your device to use the proper domain in its authentication credentials.
  113. 2022-10-10 12:54:56.853736 98.77% [NOTICE] sofia.c:2417 Hangup sofia/default/1012@46.101.114.158 [CS_NEW] [CALL_REJECTED]
  114. 2022-10-10 12:54:56.853736 98.77% [WARNING] sofia_reg.c:1806 SIP auth failure (INVITE) on sofia profile 'default' for [000420539002889@46.101.114.158] from ip 178.33.32.221
  115. 2022-10-10 12:54:56.853736 98.77% [DEBUG] sofia.c:1527 Channel is already hungup.
  116. 2022-10-10 12:54:56.853736 98.77% [DEBUG] sofia.c:1527 Channel is already hungup.
  117. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1012@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 69)
  118. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1012@46.101.114.158) Callstate Change DOWN -> HANGUP
  119. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1012@46.101.114.158) State HANGUP
  120. 2022-10-10 12:54:56.853736 98.77% [DEBUG] mod_sofia.c:468 Channel sofia/default/1012@46.101.114.158 hanging up, cause: CALL_REJECTED
  121. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:59 sofia/default/1012@46.101.114.158 Standard HANGUP, cause: CALL_REJECTED
  122. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1012@46.101.114.158) State HANGUP going to sleep
  123. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1012@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  124. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1012@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 69)
  125. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1012@46.101.114.158) State REPORTING
  126. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/1012@46.101.114.158 Standard REPORTING, cause: CALL_REJECTED
  127. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1012@46.101.114.158) State REPORTING going to sleep
  128. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1012@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  129. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_session.c:1753 Session 69 (sofia/default/1012@46.101.114.158) Locked, Waiting on external entities
  130. 2022-10-10 12:54:56.853736 98.77% [NOTICE] switch_core_session.c:1771 Session 69 (sofia/default/1012@46.101.114.158) Ended
  131. 2022-10-10 12:54:56.853736 98.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1012@46.101.114.158 [CS_DESTROY]
  132. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1012@46.101.114.158) Running State Change CS_DESTROY (Cur 1 Tot 69)
  133. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1012@46.101.114.158) State DESTROY
  134. 2022-10-10 12:54:56.853736 98.77% [DEBUG] mod_sofia.c:379 sofia/default/1012@46.101.114.158 SOFIA DESTROY
  135. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/1012@46.101.114.158 Standard DESTROY
  136. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1012@46.101.114.158) State DESTROY going to sleep
  137. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 2637536173 / 2637536173
  138. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="200020" LIMIT 1
  139. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  140. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9846029962]
  141. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9846029962" AND deleted = 0 limit 1
  142. 2022-10-10 12:54:56.853736 98.77% [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 ="200020" AND A.accountid = '13' limit 1
  143. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 200020
  144. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="200020" LIMIT 1
  145. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : inbound
  146. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="200020" AND (accountid = 0 OR status = 1) LIMIT 1
  147. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  148. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :15
  149. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^200020.*' OR patterns = '^20002.*' OR patterns = '^2000.*' OR patterns = '^200.*' OR patterns = '^20.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 15 ORDER BY LENGTH(PKGPTR.patterns) DESC
  150. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  151. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
  152. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9846029962
  153. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 998.9
  154. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  155. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  156. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  157. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  158. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  159. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="200020" LIMIT 1
  160. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: inbound
  161. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  162. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  163. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  164. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  165. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  166. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 200020
  167. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
  168. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
  169. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  170. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your998.9 balance Accountid 13 !!!
  171. 2022-10-10 12:54:56.853736 98.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  172. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  173. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  174. 2022-10-10 12:54:56.853736 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  175. 2022-10-10 12:54:56.853736 98.77% [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 = 13 AND status=0 LIMIT 1
  176. 2022-10-10 12:54:56.853736 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "15" AND deleted = 0 limit 1
  177. 2022-10-10 12:54:56.873734 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:13
  178. 2022-10-10 12:54:56.873734 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:13
  179. 2022-10-10 12:54:56.873734 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 13
  180. 2022-10-10 12:54:56.873734 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  181. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_7
  182. 2022-10-10 12:54:56.873734 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [RINGGROUP] Call Type : 7
  183. 2022-10-10 12:54:56.873734 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [RINGGROUP] Call Type : Ring Group
  184. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 1 and status = 0 LIMIT 1
  185. 2022-10-10 12:54:56.873734 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  186. 2022-10-10 12:54:56.873734 98.77% [ERR] mod_lua.cpp:202 .../freeswitch/scripts/astpp/lib/addons/astpp.ringgroup.lua:193: attempt to concatenate a nil value
  187. stack traceback:
  188.         .../freeswitch/scripts/astpp/lib/addons/astpp.ringgroup.lua:193: in function 'did_pbx_info'
  189.         .../freeswitch/scripts/astpp/lib/addons/astpp.ringgroup.lua:2: in function '?'
  190.         /usr/share/freeswitch/scripts/astpp/scripts/astpp.xml.lua:305: in function 'freeswitch_xml_inbound'
  191.         ...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:455: in main chunk
  192.         [C]: in function 'dofile'
  193.         /usr/share/freeswitch/scripts/astpp/astpp.lua:85: in main chunk
  194. 2022-10-10 12:54:56.873734 98.77% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  195. 2022-10-10 12:54:56.873734 98.77% [WARNING] mod_dialplan_xml.c:669 Context default not found
  196. 2022-10-10 12:54:56.873734 98.77% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  197. 2022-10-10 12:54:56.873734 98.77% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/2637536173@entdemo.astppbilling.org [CS_ROUTING] [NO_ROUTE_DESTINATION]
  198. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2637536173@entdemo.astppbilling.org) State ROUTING going to sleep
  199. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2637536173@entdemo.astppbilling.org) Running State Change CS_HANGUP (Cur 1 Tot 69)
  200. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:844 (sofia/default/2637536173@entdemo.astppbilling.org) Callstate Change RINGING -> HANGUP
  201. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2637536173@entdemo.astppbilling.org) State HANGUP
  202. 2022-10-10 12:54:56.873734 98.77% [DEBUG] mod_sofia.c:468 Channel sofia/default/2637536173@entdemo.astppbilling.org hanging up, cause: NO_ROUTE_DESTINATION
  203. 2022-10-10 12:54:56.873734 98.77% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  204. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:59 sofia/default/2637536173@entdemo.astppbilling.org Standard HANGUP, cause: NO_ROUTE_DESTINATION
  205. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2637536173@entdemo.astppbilling.org) State HANGUP going to sleep
  206. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:616 (sofia/default/2637536173@entdemo.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  207. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2637536173@entdemo.astppbilling.org) Running State Change CS_REPORTING (Cur 1 Tot 69)
  208. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2637536173@entdemo.astppbilling.org) State REPORTING
  209. 2022-10-10 12:54:56.873734 98.77% [INFO] mod_json_cdr.c:271 Process [ac13557d-9a5d-4a60-a4c9-fc21f153bff6.cdr.json]
  210. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/2637536173@entdemo.astppbilling.org Standard REPORTING, cause: NO_ROUTE_DESTINATION
  211. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2637536173@entdemo.astppbilling.org) State REPORTING going to sleep
  212. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/2637536173@entdemo.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  213. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_session.c:1753 Session 68 (sofia/default/2637536173@entdemo.astppbilling.org) Locked, Waiting on external entities
  214. 2022-10-10 12:54:56.873734 98.77% [NOTICE] switch_core_session.c:1771 Session 68 (sofia/default/2637536173@entdemo.astppbilling.org) Ended
  215. 2022-10-10 12:54:56.873734 98.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/2637536173@entdemo.astppbilling.org [CS_DESTROY]
  216. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/2637536173@entdemo.astppbilling.org) Running State Change CS_DESTROY (Cur 0 Tot 69)
  217. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2637536173@entdemo.astppbilling.org) State DESTROY
  218. 2022-10-10 12:54:56.873734 98.77% [DEBUG] mod_sofia.c:379 sofia/default/2637536173@entdemo.astppbilling.org SOFIA DESTROY
  219. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/2637536173@entdemo.astppbilling.org Standard DESTROY
  220. 2022-10-10 12:54:56.873734 98.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2637536173@entdemo.astppbilling.org) State DESTROY going to sleep
  221. 2022-10-10 12:55:01.693772 98.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1001@46.101.114.158 [59353b0d-e1e9-4bcf-801b-2ca395f23214]
  222. 2022-10-10 12:55:01.693772 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1001@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 70)
  223. 2022-10-10 12:55:01.693772 98.50% [INFO] sofia.c:10462 sofia/default/1001@46.101.114.158 receiving invite from 178.33.32.221:56962 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 538203001-733534299-2134233445
  224. 2022-10-10 12:55:01.693772 98.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 178.33.32.221:0.
  225. 2022-10-10 12:55:01.693772 98.50% [DEBUG] sofia.c:2419 detaching session 59353b0d-e1e9-4bcf-801b-2ca395f23214
  226. 2022-10-10 12:55:01.693772 98.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [220246812112263@46.101.114.158] from ip 178.33.32.221
  227. 2022-10-10 12:55:01.693772 98.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1001@46.101.114.158) State NEW
  228. 2022-10-10 12:55:01.733761 98.50% [DEBUG] sofia.c:2532 Re-attaching to session 59353b0d-e1e9-4bcf-801b-2ca395f23214
  229. 2022-10-10 12:55:01.753763 98.50% [INFO] sofia.c:10462 sofia/default/1001@46.101.114.158 receiving invite from 178.33.32.221:56962 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 538203001-733534299-2134233445
  230. 2022-10-10 12:55:01.753763 98.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 178.33.32.221:0.
  231.