From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and with PBX DID call trasfr no opnsips issue getting
  1.      ┌────────────────────────────────────────────────────────────────────┐
  2.      │                • MobaXterm Personal Edition v21.2 •                │
  3.      │              (X server, SSH client and network tools)              │
  4.      │                                                                    │
  5.      │ ➤ Your computer drives are accessible through the /drives path     │
  6.      │ ➤ Your DISPLAY is set to 192.168.1.13:0.0                          │
  7.      │ ➤ When using SSH, your remote DISPLAY is automatically forwarded   │
  8.      │ ➤ Each command status is specified by a special symbol (✔ or ✘)    │
  9.      │                                                                    │
  10.      │ • Important:                                                       │
  11.      │ This is MobaXterm Personal Edition. The Professional edition       │
  12.      │ allows you to customize MobaXterm for your company: you can add    │
  13.      │ your own logo, your parameters, your welcome message and generate  │
  14.      │ either an MSI installation package or a portable executable.       │
  15.      │ We can also modify MobaXterm or develop the plugins you need.      │
  16.      │ For more information: https://mobaxterm.mobatek.net/download.html  │
  17.      └────────────────────────────────────────────────────────────────────┘
  18.  
  19.   26/04/2022   17:32.45   /home/mobaxterm  ssh -i qa2-Prashant.pem admin@3.7.66.233
  20. X11 forwarding request failed on channel 0
  21. Linux ip-172-31-14-218 4.9.0-16-amd64 #1 SMP Debian 4.9.272-2 (2021-07-19) x86_64
  22.  
  23. The programs included with the Debian GNU/Linux system are free software;
  24. the exact distribution terms for each program are described in the
  25. individual files in /usr/share/doc/*/copyright.
  26.  
  27. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  28. permitted by applicable law.
  29. Last login: Tue Apr 26 10:40:33 2022 from 117.247.91.162
  30. admin@ip-172-31-14-218:~$
  31. admin@ip-172-31-14-218:~$
  32. admin@ip-172-31-14-218:~$
  33. admin@ip-172-31-14-218:~$ sudo su
  34. root@ip-172-31-14-218:/home/admin#
  35. root@ip-172-31-14-218:/home/admin#
  36. root@ip-172-31-14-218:/home/admin#
  37. root@ip-172-31-14-218:/home/admin# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  38. .=======================================================.
  39. |            _____ ____     ____ _     ___              |
  40. |           |  ___/ ___|   / ___| |   |_ _|             |
  41. |           | |_  \___ \  | |   | |    | |              |
  42. |           |  _|  ___) | | |___| |___ | |              |
  43. |           |_|   |____/   \____|_____|___|             |
  44. |                                                       |
  45. .=======================================================.
  46. | Anthony Minessale II, Ken Rice,                       |
  47. | Michael Jerris, Travis Cross                          |
  48. | FreeSWITCH (http://www.freeswitch.org)                |
  49. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  50. | Brought to you by ClueCon http://www.cluecon.com/     |
  51. .=======================================================.
  52.  
  53. .=======================================================================================================.
  54. |       _                            _    ____ _             ____                                       |
  55. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  56. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  57. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  58. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  59. |                                                                                                       |
  60. |    ____ _____ ____    ____             __                                                             |
  61. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  62. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  63. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  64. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  65. |                                                                                                       |
  66. |     ____ _             ____                                                                           |
  67. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  68. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  69. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  70. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  71. |                                                                                                       |
  72. .=======================================================================================================.
  73.  
  74. Type /help <enter> to see a list of commands
  75.  
  76.  
  77.  
  78.  
  79. [This app Best viewed at 160x60 or more..]
  80. +OK log level  [7]
  81. freeswitch@ip-172-31-14-218>
  82. freeswitch@ip-172-31-14-218>
  83. freeswitch@ip-172-31-14-218>
  84. freeswitch@ip-172-31-14-218>
  85. freeswitch@ip-172-31-14-218>
  86. 2022-04-26 12:06:54.639434 99.53% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  87. 2022-04-26 12:06:54.679426 99.53% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  88. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  89. and you must configure your device to use the proper domain in its authentication credentials.
  90. 2022-04-26 12:06:54.679426 99.53% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  91. 2022-04-26 12:06:56.579444 99.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [cf93922e-6164-48c5-a2d9-4ce87e235563]
  92. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 18)
  93. 2022-04-26 12:06:56.579444 99.53% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 3595f7b0-3ffc-123b-3db3-ba05d31eb9f9
  94. 2022-04-26 12:06:56.579444 99.53% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  95. 2022-04-26 12:06:56.579444 99.53% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  96. 2022-04-26 12:06:56.579444 99.53% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  97. 2022-04-26 12:06:56.579444 99.53% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  98. 2022-04-26 12:06:56.579444 99.53% [DEBUG] sofia.c:7509 Remote SDP:
  99. v=0
  100. o=FreeSWITCH 1650958630 1650958631 IN IP4 46.101.114.158
  101. s=FreeSWITCH
  102. c=IN IP4 46.101.114.158
  103. t=0 0
  104. m=audio 16186 RTP/AVP 0 101
  105. a=rtpmap:0 PCMU/8000
  106. a=rtpmap:101 telephone-event/8000
  107. a=fmtp:101 0-16
  108. a=ptime:20
  109.  
  110. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  111. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  112. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  113. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  114. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  115. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  116. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  117. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  118. 2022-04-26 12:06:56.579444 99.53% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  119. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  120. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 18)
  121. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  122. 2022-04-26 12:06:56.579444 99.53% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  123. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  124. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  125. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  126. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 18)
  127. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  128. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  129. 2022-04-26 12:06:56.579444 99.53% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  130. 2022-04-26 12:06:56.579444 99.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  131. 2022-04-26 12:06:56.579444 99.53% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  132. 2022-04-26 12:06:56.599427 99.53% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  133. stack traceback:
  134.         [C]: in function 'dofile'
  135.         /usr/share/freeswitch/scripts/astpp/astpp.lua:39: in main chunk
  136. 2022-04-26 12:06:56.599427 99.53% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  137. 2022-04-26 12:06:56.599427 99.53% [WARNING] mod_dialplan_xml.c:669 Context default not found
  138. 2022-04-26 12:06:56.599427 99.53% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  139. 2022-04-26 12:06:56.599427 99.53% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/8871343676@46.101.114.158 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  140. 2022-04-26 12:06:56.599427 99.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  141. 2022-04-26 12:06:56.599427 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 1 Tot 18)
  142. 2022-04-26 12:06:56.599427 99.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> HANGUP
  143. 2022-04-26 12:06:56.599427 99.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  144. 2022-04-26 12:06:56.599427 99.53% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: NO_ROUTE_DESTINATION
  145. 2022-04-26 12:06:56.599427 99.53% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  146. 2022-04-26 12:06:56.599427 99.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  147. 2022-04-26 12:06:56.599427 99.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  148. 2022-04-26 12:06:56.599427 99.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  149. 2022-04-26 12:06:56.599427 99.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 1 Tot 18)
  150. 2022-04-26 12:06:56.599427 99.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  151. 2022-04-26 12:06:56.599427 99.53% [INFO] mod_json_cdr.c:271 Process [cf93922e-6164-48c5-a2d9-4ce87e235563.cdr.json]
  152. 2022-04-26 12:06:56.619477 99.53% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  153. 2022-04-26 12:06:56.619477 99.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  154. 2022-04-26 12:06:56.619477 99.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  155. 2022-04-26 12:06:56.619477 99.53% [DEBUG] switch_core_session.c:1753 Session 18 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  156. 2022-04-26 12:06:56.619477 99.53% [NOTICE] switch_core_session.c:1771 Session 18 (sofia/default/8871343676@46.101.114.158) Ended
  157. 2022-04-26 12:06:56.619477 99.53% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  158. 2022-04-26 12:06:56.619477 99.53% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 18)
  159. 2022-04-26 12:06:56.619477 99.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  160. 2022-04-26 12:06:56.619477 99.53% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  161. 2022-04-26 12:06:56.619477 99.53% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  162. 2022-04-26 12:06:56.619477 99.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  163. freeswitch@ip-172-31-14-218>
  164. freeswitch@ip-172-31-14-218>
  165. freeswitch@ip-172-31-14-218>
  166. freeswitch@ip-172-31-14-218>
  167. freeswitch@ip-172-31-14-218> /exit
  168.  
  169. root@ip-172-31-14-218:/home/admin#
  170. root@ip-172-31-14-218:/home/admin#
  171. root@ip-172-31-14-218:/home/admin#
  172. root@ip-172-31-14-218:/home/admin#
  173. root@ip-172-31-14-218:/home/admin#
  174. root@ip-172-31-14-218:/home/admin# cd /usr/
  175. You have new mail in /var/mail/root
  176. root@ip-172-31-14-218:/usr#
  177. root@ip-172-31-14-218:/usr#
  178. root@ip-172-31-14-218:/usr# ls -la
  179. total 76
  180. drwxr-xr-x  10 root root   4096 Jun 23  2021 .
  181. drwxr-xr-x  22 root root   4096 Apr 14 12:56 ..
  182. drwxr-xr-x   2 root root  36864 Apr 11 06:31 bin
  183. drwxr-xr-x   2 root root   4096 Jul 10  2020 games
  184. drwxr-xr-x  44 root root   4096 Apr  3 06:48 include
  185. drwxr-xr-x  69 root root   4096 Feb 22 11:05 lib
  186. drwxrwsr-x  12 root staff  4096 Feb 24 09:04 local
  187. drwxr-xr-x   2 root root   4096 Mar 30 06:01 sbin
  188. drwxr-xr-x 156 root root   4096 Mar 31 11:35 share
  189. drwxr-xr-x   4 root root   4096 Mar 16 13:32 src
  190. root@ip-172-31-14-218:/usr#
  191. root@ip-172-31-14-218:/usr#
  192. root@ip-172-31-14-218:/usr#
  193. root@ip-172-31-14-218:/usr#
  194. root@ip-172-31-14-218:/usr#
  195. root@ip-172-31-14-218:/usr# cd /home/admin/
  196. root@ip-172-31-14-218:/home/admin#
  197. root@ip-172-31-14-218:/home/admin#
  198. root@ip-172-31-14-218:/home/admin#
  199. root@ip-172-31-14-218:/home/admin#
  200. root@ip-172-31-14-218:/home/admin#
  201. root@ip-172-31-14-218:/home/admin# vim /var/lib/astpp/astpp.lua
  202. You have new mail in /var/mail/root
  203. root@ip-172-31-14-218:/home/admin#
  204. root@ip-172-31-14-218:/home/admin#
  205. root@ip-172-31-14-218:/home/admin#
  206. root@ip-172-31-14-218:/home/admin#
  207. root@ip-172-31-14-218:/home/admin# vim /var/lib/astpp/astpp.lua
  208. root@ip-172-31-14-218:/home/admin#
  209. root@ip-172-31-14-218:/home/admin#
  210. root@ip-172-31-14-218:/home/admin#
  211. root@ip-172-31-14-218:/home/admin#
  212. root@ip-172-31-14-218:/home/admin# vim /usr/local/freeswitch/conf/autoload_configs/lua.conf.xml
  213. root@ip-172-31-14-218:/home/admin#
  214. root@ip-172-31-14-218:/home/admin#
  215. root@ip-172-31-14-218:/home/admin# vim /usr/local/
  216. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  217. root@ip-172-31-14-218:/home/admin# vim /usr/local/
  218. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  219. root@ip-172-31-14-218:/home/admin#
  220. You have new mail in /var/mail/root
  221. root@ip-172-31-14-218:/home/admin#
  222. root@ip-172-31-14-218:/home/admin#
  223. root@ip-172-31-14-218:/home/admin#
  224. root@ip-172-31-14-218:/home/admin# vim /opt/ASTPP/freeswitch/scripts/astpp/astpp.lua
  225. You have new mail in /var/mail/root
  226. root@ip-172-31-14-218:/home/admin#
  227. root@ip-172-31-14-218:/home/admin#
  228. root@ip-172-31-14-218:/home/admin#
  229. root@ip-172-31-14-218:/home/admin#
  230. root@ip-172-31-14-218:/home/admin# vim /usr/local/freeswitch/conf/autoload_configs/lua.conf.xml
  231. root@ip-172-31-14-218:/home/admin#
  232. root@ip-172-31-14-218:/home/admin#
  233. root@ip-172-31-14-218:/home/admin#
  234. root@ip-172-31-14-218:/home/admin#
  235. root@ip-172-31-14-218:/home/admin# /usr/local/freeswitch/conf/autoload_configs/lua.conf.xml
  236. bash: /usr/local/freeswitch/conf/autoload_configs/lua.conf.xml: No such file or directory
  237. You have new mail in /var/mail/root
  238. root@ip-172-31-14-218:/home/admin# cd /usr/local/freeswitch/conf/autoload_configs/lua.conf.xml
  239. bash: cd: /usr/local/freeswitch/conf/autoload_configs/lua.conf.xml: No such file or directory
  240. root@ip-172-31-14-218:/home/admin#
  241. root@ip-172-31-14-218:/home/admin#
  242. root@ip-172-31-14-218:/home/admin#
  243. root@ip-172-31-14-218:/home/admin# cd /usr/local/freeswitch/conf/autoload_configs
  244. bash: cd: /usr/local/freeswitch/conf/autoload_configs: No such file or directory
  245. root@ip-172-31-14-218:/home/admin#
  246. root@ip-172-31-14-218:/home/admin#
  247. root@ip-172-31-14-218:/home/admin#
  248. root@ip-172-31-14-218:/home/admin# cd /etc/freeswitch/conf/autoload_configs/
  249. bash: cd: /etc/freeswitch/conf/autoload_configs/: No such file or directory
  250. You have new mail in /var/mail/root
  251. root@ip-172-31-14-218:/home/admin#
  252. root@ip-172-31-14-218:/home/admin#
  253. root@ip-172-31-14-218:/home/admin# cd /etc/
  254. Display all 189 possibilities? (y or n)
  255. adduser.conf                    gtk-3.0/                        monit/                          resolv.conf.dhclient-new.14647
  256. aliases                         host.conf                       motd                            rmt
  257. alternatives/                   hostname                        mtab                            rpc
  258. apache2/                        hosts                           mysql/                          rsyslog.conf
  259. apparmor/                       hosts.allow                     nanorc                          rsyslog.d/
  260. apparmor.d/                     hosts.deny                      network/                        screenrc
  261. apt/                            hosts.orig                      NetworkManager/                 securetty
  262. bash.bashrc                     ImageMagick-6/                  networks                        security/
  263. bash_completion                 init/                           newt/                           selinux/
  264. bash_completion.d/              init.d/                         nginx/                          sensors3.conf
  265. bindresvport.blacklist          initramfs-tools/                nsswitch.conf                   sensors.d/
  266. binfmt.d/                       inputrc                         ntp.conf                        services
  267. ca-certificates/                iproute2/                       ODBCDataSources/                sgml/
  268. ca-certificates.conf            issue                           odbc.ini                        shadow
  269. calendar/                       issue.net                       odbcinst.ini                    shadow-
  270. chrony/                         java/                           opt/                            shells
  271. cloud/                          .java/                          os-release                      skel/
  272. cron.d/                         java-8-openjdk/                 PackageKit/                     sngreprc
  273. cron.daily/                     kernel/                         pam.conf                        ssh/
  274. cron.hourly/                    ldap/                           pam.d/                          ssl/
  275. cron.monthly/                   ld.so.cache                     papersize                       staff-group-for-usr-local
  276. crontab                         ld.so.conf                      passwd                          subgid
  277. cron.weekly/                    ld.so.conf.d/                   passwd-                         subgid-
  278. dbus-1/                         libaudit.conf                   perl/                           subuid
  279. debconf.conf                    libpaper.d/                     php/                            subuid-
  280. debian_version                  libreoffice/                    pm/                             subversion/
  281. default/                        lighttpd/                       polkit-1/                       sudoers
  282. deluser.conf                    locale.alias                    ppp/                            sudoers.d/
  283. dhcp/                           locale.gen                      profile                         sysctl.conf
  284. dictionaries-common/            localtime                       profile.d/                      sysctl.d/
  285. dpkg/                           logcheck/                       protocols                       systemd/
  286. drirc                           login.defs                      pulse/                          terminfo/
  287. emacs/                          logrotate.conf                  .pwd.lock                       timezone
  288. environment                     logrotate.d/                    python/                         tmpfiles.d/
  289. fonts/                          lynx/                           python2.7/                      ucf.conf
  290. freeswitch/                     machine-id                      python3/                        udev/
  291. fstab                           magic                           python3.5/                      ufw/
  292. fstab.old                       magic.mime                      rc0.d/                          updatedb.conf
  293. gai.conf                        mail/                           rc1.d/                          update-motd.d/
  294. ghostscript/                    mailcap                         rc2.d/                          vdpau_wrapper.cfg
  295. groff/                          mailcap.order                   rc3.d/                          vim/
  296. group                           manpath.config                  rc4.d/                          wgetrc
  297. group-                          mecabrc                         rc5.d/                          X11/
  298. grub.d/                         mime.types                      rc6.d/                          xdg/
  299. gshadow                         mke2fs.conf                     rcS.d/                          xml/
  300. gshadow-                        modprobe.d/                     reportbug.conf
  301. gss/                            modules                         resolvconf/
  302. gtk-2.0/                        modules-load.d/                 resolv.conf
  303. root@ip-172-31-14-218:/home/admin# cd /etc/
  304. root@ip-172-31-14-218:/etc#
  305. root@ip-172-31-14-218:/etc#
  306. root@ip-172-31-14-218:/etc#
  307. root@ip-172-31-14-218:/etc#
  308. root@ip-172-31-14-218:/etc#
  309. root@ip-172-31-14-218:/etc#
  310. root@ip-172-31-14-218:/etc#
  311. root@ip-172-31-14-218:/etc#
  312. root@ip-172-31-14-218:/etc#
  313. root@ip-172-31-14-218:/etc#
  314. root@ip-172-31-14-218:/etc#
  315. root@ip-172-31-14-218:/etc# cd /etc/freeswitch/
  316. autoload_configs/     directory/            fur_elise.ttml        mime.types            sip_profiles/         vars.xml
  317. chatplan/             extensions.conf       ivr_menus/            mrcp_profiles/        skinny_profiles/      voicemail.tpl
  318. config.FS0            freeswitch.serial     jingle_profiles/      notify-voicemail.tpl  tetris.ttml           web-vm.tpl
  319. dialplan/             freeswitch.xml        lang/                 README_IMPORTANT.txt  tls/                  yaml/
  320. root@ip-172-31-14-218:/etc# cd /etc/freeswitch/autoload_configs/
  321. abstraction.conf.xml         directory.conf.xml           memcache.conf.xml            sms_flowroute.conf.xml
  322. acl.conf.xml                 distributor.conf.xml         modules.conf.xml             sndfile.conf.xml
  323. alsa.conf.xml                easyroute.conf.xml           mongo.conf.xml               sofia.conf.xml
  324. amqp.conf.xml                enum.conf.xml                msrp.conf.xml                spandsp.conf.xml
  325. amr.conf.xml                 erlang_event.conf.xml        nibblebill.conf.xml          switch.conf.xml
  326. amrwb.conf.xml               event_multicast.conf.xml     opal.conf.xml                syslog.conf.xml
  327. av.conf.xml                  event_socket.conf.xml        opus.conf.xml                timezones.conf.xml
  328. avmd.conf.xml                fax.conf.xml                 oreka.conf.xml               translate.conf.xml
  329. blacklist.conf.xml           fifo.conf.xml                osp.conf.xml                 tts_commandline.conf.xml
  330. callcenter.conf.xml          format_cdr.conf.xml          perl.conf.xml                unicall.conf.xml
  331. cdr_csv.conf.xml             graylog2.conf.xml            pocketsphinx.conf.xml        unimrcp.conf.xml
  332. cdr_mongodb.conf.xml         hash.conf.xml                portaudio.conf.xml           v8.conf.xml
  333. cdr_pg_csv.conf.xml          hiredis.conf.xml             post_load_modules.conf.xml   verto.conf.xml
  334. cdr_sqlite.conf.xml          httapi.conf.xml              pre_load_modules.conf.xml    voicemail.conf.xml
  335. cepstral.conf.xml            http_cache.conf.xml          presence_map.conf.xml        voicemail_ivr.conf.xml
  336. cidlookup.conf.xml           ivr.conf.xml                 python.conf.xml              vpx.conf.xml
  337. conference.conf.xml          java.conf.xml                redis.conf.xml               xml_cdr.conf.xml
  338. conference_layouts.conf.xml  json_cdr.conf.xml            rss.conf.xml                 xml_curl.conf.xml
  339. console.conf.xml             kazoo.conf.xml               rtmp.conf.xml                xml_rpc.conf.xml
  340. curl.conf.xml                lcr.conf.xml                 sangoma_codec.conf.xml       xml_scgi.conf.xml
  341. db.conf.xml                  local_stream.conf.xml        shout.conf.xml               zeroconf.conf.xml
  342. dialplan_directory.conf.xml  logfile.conf.xml             skinny.conf.xml
  343. dingaling.conf.xml           lua.conf.xml                 smpp.conf.xml
  344. root@ip-172-31-14-218:/etc# cd /etc/freeswitch/autoload_configs/
  345. abstraction.conf.xml         directory.conf.xml           memcache.conf.xml            sms_flowroute.conf.xml
  346. acl.conf.xml                 distributor.conf.xml         modules.conf.xml             sndfile.conf.xml
  347. alsa.conf.xml                easyroute.conf.xml           mongo.conf.xml               sofia.conf.xml
  348. amqp.conf.xml                enum.conf.xml                msrp.conf.xml                spandsp.conf.xml
  349. amr.conf.xml                 erlang_event.conf.xml        nibblebill.conf.xml          switch.conf.xml
  350. amrwb.conf.xml               event_multicast.conf.xml     opal.conf.xml                syslog.conf.xml
  351. av.conf.xml                  event_socket.conf.xml        opus.conf.xml                timezones.conf.xml
  352. avmd.conf.xml                fax.conf.xml                 oreka.conf.xml               translate.conf.xml
  353. blacklist.conf.xml           fifo.conf.xml                osp.conf.xml                 tts_commandline.conf.xml
  354. callcenter.conf.xml          format_cdr.conf.xml          perl.conf.xml                unicall.conf.xml
  355. cdr_csv.conf.xml             graylog2.conf.xml            pocketsphinx.conf.xml        unimrcp.conf.xml
  356. cdr_mongodb.conf.xml         hash.conf.xml                portaudio.conf.xml           v8.conf.xml
  357. cdr_pg_csv.conf.xml          hiredis.conf.xml             post_load_modules.conf.xml   verto.conf.xml
  358. cdr_sqlite.conf.xml          httapi.conf.xml              pre_load_modules.conf.xml    voicemail.conf.xml
  359. cepstral.conf.xml            http_cache.conf.xml          presence_map.conf.xml        voicemail_ivr.conf.xml
  360. cidlookup.conf.xml           ivr.conf.xml                 python.conf.xml              vpx.conf.xml
  361. conference.conf.xml          java.conf.xml                redis.conf.xml               xml_cdr.conf.xml
  362. conference_layouts.conf.xml  json_cdr.conf.xml            rss.conf.xml                 xml_curl.conf.xml
  363. console.conf.xml             kazoo.conf.xml               rtmp.conf.xml                xml_rpc.conf.xml
  364. curl.conf.xml                lcr.conf.xml                 sangoma_codec.conf.xml       xml_scgi.conf.xml
  365. db.conf.xml                  local_stream.conf.xml        shout.conf.xml               zeroconf.conf.xml
  366. dialplan_directory.conf.xml  logfile.conf.xml             skinny.conf.xml
  367. dingaling.conf.xml           lua.conf.xml                 smpp.conf.xml
  368. root@ip-172-31-14-218:/etc# cd /etc/freeswitch/config
  369. bash: cd: /etc/freeswitch/config: No such file or directory
  370. You have new mail in /var/mail/root
  371. root@ip-172-31-14-218:/etc#
  372. root@ip-172-31-14-218:/etc#
  373. root@ip-172-31-14-218:/etc#
  374. root@ip-172-31-14-218:/etc#
  375. root@ip-172-31-14-218:/etc#
  376. root@ip-172-31-14-218:/etc#
  377. root@ip-172-31-14-218:/etc#
  378. root@ip-172-31-14-218:/etc# cd //etc/freeswitch/conf/autoload_configs/
  379. bash: cd: //etc/freeswitch/conf/autoload_configs/: No such file or directory
  380. root@ip-172-31-14-218:/etc#
  381. root@ip-172-31-14-218:/etc#
  382. root@ip-172-31-14-218:/etc# cd /etc/freeswitch/conf/autoload_configs/
  383. bash: cd: /etc/freeswitch/conf/autoload_configs/: No such file or directory
  384. root@ip-172-31-14-218:/etc#
  385. root@ip-172-31-14-218:/etc#
  386. root@ip-172-31-14-218:/etc# cd /etc/freeswitch/conf/autoload_configs
  387. bash: cd: /etc/freeswitch/conf/autoload_configs: No such file or directory
  388. root@ip-172-31-14-218:/etc#
  389. root@ip-172-31-14-218:/etc#
  390. root@ip-172-31-14-218:/etc#
  391. root@ip-172-31-14-218:/etc#
  392. root@ip-172-31-14-218:/etc#
  393. You have new mail in /var/mail/root
  394. root@ip-172-31-14-218:/etc#
  395. root@ip-172-31-14-218:/etc#
  396. root@ip-172-31-14-218:/etc#
  397. root@ip-172-31-14-218:/etc# cd /etc/freeswitch/autoload_configs/
  398. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  399. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  400. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  401. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs# ls -la
  402. total 548
  403. drwxr-xr-x  2 freeswitch freeswitch   4096 Mar 24 05:48 .
  404. drwxr-xr-x 14 freeswitch freeswitch   4096 Feb 22 09:20 ..
  405. -rw-r--r--  1 freeswitch freeswitch    274 Oct 24  2021 abstraction.conf.xml
  406. -rw-r--r--  1 freeswitch freeswitch   1026 Oct 24  2021 acl.conf.xml
  407. -rw-r--r--  1 freeswitch freeswitch    422 Oct 24  2021 alsa.conf.xml
  408. -rw-r--r--  1 freeswitch freeswitch   3401 Oct 24  2021 amqp.conf.xml
  409. -rw-r--r--  1 freeswitch freeswitch    795 Oct 24  2021 amr.conf.xml
  410. -rw-r--r--  1 freeswitch freeswitch    874 Oct 24  2021 amrwb.conf.xml
  411. -rw-r--r--  1 freeswitch freeswitch   6153 Oct 24  2021 av.conf.xml
  412. -rw-r--r--  1 freeswitch freeswitch   3629 Oct 24  2021 avmd.conf.xml
  413. -rw-r--r--  1 freeswitch freeswitch    345 Oct 24  2021 blacklist.conf.xml
  414. -rw-r--r--  1 freeswitch freeswitch   2000 Oct 24  2021 callcenter.conf.xml
  415. -rw-r--r--  1 freeswitch freeswitch   2521 Oct 24  2021 cdr_csv.conf.xml
  416. -rw-r--r--  1 freeswitch freeswitch    470 Oct 24  2021 cdr_mongodb.conf.xml
  417. -rw-r--r--  1 freeswitch freeswitch   1517 Oct 24  2021 cdr_pg_csv.conf.xml
  418. -rw-r--r--  1 freeswitch freeswitch    999 Oct 24  2021 cdr_sqlite.conf.xml
  419. -rw-r--r--  1 freeswitch freeswitch    306 Oct 24  2021 cepstral.conf.xml
  420. -rw-r--r--  1 freeswitch freeswitch   1335 Oct 24  2021 cidlookup.conf.xml
  421. -rw-r--r--  1 freeswitch freeswitch  21809 Oct 24  2021 conference.conf.xml
  422. -rw-r--r--  1 freeswitch freeswitch  15057 Oct 24  2021 conference_layouts.conf.xml
  423. -rw-r--r--  1 freeswitch freeswitch   2502 Oct 24  2021 console.conf.xml
  424. -rw-r--r--  1 freeswitch freeswitch    147 Oct 24  2021 curl.conf.xml
  425. -rw-r--r--  1 freeswitch freeswitch    170 Oct 24  2021 db.conf.xml
  426. -rw-r--r--  1 freeswitch freeswitch    380 Oct 24  2021 dialplan_directory.conf.xml
  427. -rw-r--r--  1 freeswitch freeswitch    270 Oct 24  2021 dingaling.conf.xml
  428. -rw-r--r--  1 freeswitch freeswitch    810 Oct 24  2021 directory.conf.xml
  429. -rw-r--r--  1 freeswitch freeswitch    442 Oct 24  2021 distributor.conf.xml
  430. -rw-r--r--  1 freeswitch freeswitch   1431 Oct 24  2021 easyroute.conf.xml
  431. -rw-r--r--  1 freeswitch freeswitch   1074 Oct 24  2021 enum.conf.xml
  432. -rw-r--r--  1 freeswitch freeswitch   1220 Oct 24  2021 erlang_event.conf.xml
  433. -rw-r--r--  1 freeswitch freeswitch    593 Oct 24  2021 event_multicast.conf.xml
  434. -rw-r--r--  1 freeswitch freeswitch    425 Feb 22 09:20 event_socket.conf.xml
  435. -rw-r--r--  1 freeswitch freeswitch    441 Oct 24  2021 fax.conf.xml
  436. -rw-r--r--  1 freeswitch freeswitch    371 Oct 24  2021 fifo.conf.xml
  437. -rw-r--r--  1 freeswitch freeswitch   4622 Oct 24  2021 format_cdr.conf.xml
  438. -rw-r--r--  1 freeswitch freeswitch   1024 Oct 24  2021 graylog2.conf.xml
  439. -rw-r--r--  1 freeswitch freeswitch    260 Oct 24  2021 hash.conf.xml
  440. -rw-r--r--  1 freeswitch freeswitch    703 Oct 24  2021 hiredis.conf.xml
  441. -rw-r--r--  1 freeswitch freeswitch   5506 Oct 24  2021 httapi.conf.xml
  442. -rw-r--r--  1 freeswitch freeswitch   1029 Oct 24  2021 http_cache.conf.xml
  443. -rw-r--r--  1 freeswitch freeswitch    155 Oct 24  2021 ivr.conf.xml
  444. -rw-r--r--  1 freeswitch freeswitch    445 Oct 24  2021 java.conf.xml
  445. -rwxr-xr-x  1 freeswitch freeswitch   2645 Feb 22 09:17 json_cdr.conf.xml
  446. -rw-r--r--  1 freeswitch freeswitch   8703 Oct 24  2021 kazoo.conf.xml
  447. -rw-r--r--  1 freeswitch freeswitch   3657 Oct 24  2021 lcr.conf.xml
  448. -rw-r--r--  1 freeswitch freeswitch   1910 Oct 24  2021 local_stream.conf.xml
  449. -rw-r--r--  1 freeswitch freeswitch   1162 Oct 24  2021 logfile.conf.xml
  450. -rw-r--r--  1 freeswitch freeswitch   1465 Feb 22 09:17 lua.conf.xml
  451. -rw-r--r--  1 freeswitch freeswitch    254 Oct 24  2021 memcache.conf.xml
  452. -rw-r--r--  1 freeswitch freeswitch   3061 Feb 22 09:20 modules.conf.xml
  453. -rw-r--r--  1 freeswitch freeswitch    541 Oct 24  2021 mongo.conf.xml
  454. -rw-r--r--  1 freeswitch freeswitch    512 Oct 24  2021 msrp.conf.xml
  455. -rw-r--r--  1 freeswitch freeswitch   2418 Feb 22 09:17 nibblebill.conf.xml
  456. -rw-r--r--  1 freeswitch freeswitch   1196 Oct 24  2021 opal.conf.xml
  457. -rw-r--r--  1 freeswitch freeswitch   1976 Oct 24  2021 opus.conf.xml
  458. -rw-r--r--  1 freeswitch freeswitch    537 Oct 24  2021 oreka.conf.xml
  459. -rw-r--r--  1 freeswitch freeswitch   2108 Oct 24  2021 osp.conf.xml
  460. -rw-r--r--  1 freeswitch freeswitch    593 Oct 24  2021 perl.conf.xml
  461. -rw-r--r--  1 freeswitch freeswitch    534 Oct 24  2021 pocketsphinx.conf.xml
  462. -rw-r--r--  1 freeswitch freeswitch   9019 Oct 24  2021 portaudio.conf.xml
  463. -rw-r--r--  1 freeswitch freeswitch    110 Oct 24  2021 post_load_modules.conf.xml
  464. -rw-r--r--  1 freeswitch freeswitch    212 Oct 24  2021 pre_load_modules.conf.xml
  465. -rw-r--r--  1 freeswitch freeswitch    196 Oct 24  2021 presence_map.conf.xml
  466. -rw-r--r--  1 freeswitch freeswitch    575 Oct 24  2021 python.conf.xml
  467. -rw-r--r--  1 freeswitch freeswitch    239 Oct 24  2021 redis.conf.xml
  468. -rw-r--r--  1 freeswitch freeswitch    296 Oct 24  2021 rss.conf.xml
  469. -rw-r--r--  1 freeswitch freeswitch    662 Oct 24  2021 rtmp.conf.xml
  470. -rw-r--r--  1 freeswitch freeswitch   1457 Oct 24  2021 sangoma_codec.conf.xml
  471. -rw-r--r--  1 freeswitch freeswitch    305 Oct 24  2021 shout.conf.xml
  472. -rw-r--r--  1 freeswitch freeswitch    178 Oct 24  2021 skinny.conf.xml
  473. -rw-r--r--  1 freeswitch freeswitch    488 Oct 24  2021 smpp.conf.xml
  474. -rw-r--r--  1 freeswitch freeswitch    432 Oct 24  2021 sms_flowroute.conf.xml
  475. -rw-r--r--  1 freeswitch freeswitch    262 Oct 24  2021 sndfile.conf.xml
  476. -rw-r--r--  1 freeswitch freeswitch    889 Oct 24  2021 sofia.conf.xml
  477. -rw-r--r--  1 freeswitch freeswitch   4633 Oct 24  2021 spandsp.conf.xml
  478. -rw-r--r--  1 freeswitch freeswitch   9071 Feb 22 09:20 switch.conf.xml
  479. -rw-r--r--  1 freeswitch freeswitch    689 Oct 24  2021 syslog.conf.xml
  480. -rw-r--r--  1 freeswitch freeswitch 101403 Oct 24  2021 timezones.conf.xml
  481. -rw-r--r--  1 freeswitch freeswitch    858 Oct 24  2021 translate.conf.xml
  482. -rw-r--r--  1 freeswitch freeswitch    595 Oct 24  2021 tts_commandline.conf.xml
  483. -rw-r--r--  1 freeswitch freeswitch    914 Oct 24  2021 unicall.conf.xml
  484. -rw-r--r--  1 freeswitch freeswitch    899 Oct 24  2021 unimrcp.conf.xml
  485. -rw-r--r--  1 freeswitch freeswitch    727 Oct 24  2021 v8.conf.xml
  486. -rw-r--r--  1 freeswitch freeswitch   3066 Oct 24  2021 verto.conf.xml
  487. -rw-r--r--  1 freeswitch freeswitch   3698 Oct 24  2021 voicemail.conf.xml
  488. -rw-r--r--  1 freeswitch freeswitch   8039 Oct 24  2021 voicemail_ivr.conf.xml
  489. -rw-r--r--  1 freeswitch freeswitch   9646 Oct 24  2021 vpx.conf.xml
  490. -rw-r--r--  1 freeswitch freeswitch   3993 Oct 24  2021 xml_cdr.conf.xml
  491. -rw-r--r--  1 freeswitch freeswitch   1304 Feb 22 09:17 xml_curl.conf.xml
  492. -rw-r--r--  1 freeswitch freeswitch    667 Oct 24  2021 xml_rpc.conf.xml
  493. -rw-r--r--  1 freeswitch freeswitch    563 Oct 24  2021 xml_scgi.conf.xml
  494. -rw-r--r--  1 freeswitch freeswitch    203 Oct 24  2021 zeroconf.conf.xml
  495. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  496. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  497. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  498. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  499. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  500. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  501. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  502. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs# ls -la
  503. total 548
  504. drwxr-xr-x  2 freeswitch freeswitch   4096 Mar 24 05:48 .
  505. drwxr-xr-x 14 freeswitch freeswitch   4096 Feb 22 09:20 ..
  506. -rw-r--r--  1 freeswitch freeswitch    274 Oct 24  2021 abstraction.conf.xml
  507. -rw-r--r--  1 freeswitch freeswitch   1026 Oct 24  2021 acl.conf.xml
  508. -rw-r--r--  1 freeswitch freeswitch    422 Oct 24  2021 alsa.conf.xml
  509. -rw-r--r--  1 freeswitch freeswitch   3401 Oct 24  2021 amqp.conf.xml
  510. -rw-r--r--  1 freeswitch freeswitch    795 Oct 24  2021 amr.conf.xml
  511. -rw-r--r--  1 freeswitch freeswitch    874 Oct 24  2021 amrwb.conf.xml
  512. -rw-r--r--  1 freeswitch freeswitch   6153 Oct 24  2021 av.conf.xml
  513. -rw-r--r--  1 freeswitch freeswitch   3629 Oct 24  2021 avmd.conf.xml
  514. -rw-r--r--  1 freeswitch freeswitch    345 Oct 24  2021 blacklist.conf.xml
  515. -rw-r--r--  1 freeswitch freeswitch   2000 Oct 24  2021 callcenter.conf.xml
  516. -rw-r--r--  1 freeswitch freeswitch   2521 Oct 24  2021 cdr_csv.conf.xml
  517. -rw-r--r--  1 freeswitch freeswitch    470 Oct 24  2021 cdr_mongodb.conf.xml
  518. -rw-r--r--  1 freeswitch freeswitch   1517 Oct 24  2021 cdr_pg_csv.conf.xml
  519. -rw-r--r--  1 freeswitch freeswitch    999 Oct 24  2021 cdr_sqlite.conf.xml
  520. -rw-r--r--  1 freeswitch freeswitch    306 Oct 24  2021 cepstral.conf.xml
  521. -rw-r--r--  1 freeswitch freeswitch   1335 Oct 24  2021 cidlookup.conf.xml
  522. -rw-r--r--  1 freeswitch freeswitch  21809 Oct 24  2021 conference.conf.xml
  523. -rw-r--r--  1 freeswitch freeswitch  15057 Oct 24  2021 conference_layouts.conf.xml
  524. -rw-r--r--  1 freeswitch freeswitch   2502 Oct 24  2021 console.conf.xml
  525. -rw-r--r--  1 freeswitch freeswitch    147 Oct 24  2021 curl.conf.xml
  526. -rw-r--r--  1 freeswitch freeswitch    170 Oct 24  2021 db.conf.xml
  527. -rw-r--r--  1 freeswitch freeswitch    380 Oct 24  2021 dialplan_directory.conf.xml
  528. -rw-r--r--  1 freeswitch freeswitch    270 Oct 24  2021 dingaling.conf.xml
  529. -rw-r--r--  1 freeswitch freeswitch    810 Oct 24  2021 directory.conf.xml
  530. -rw-r--r--  1 freeswitch freeswitch    442 Oct 24  2021 distributor.conf.xml
  531. -rw-r--r--  1 freeswitch freeswitch   1431 Oct 24  2021 easyroute.conf.xml
  532. -rw-r--r--  1 freeswitch freeswitch   1074 Oct 24  2021 enum.conf.xml
  533. -rw-r--r--  1 freeswitch freeswitch   1220 Oct 24  2021 erlang_event.conf.xml
  534. -rw-r--r--  1 freeswitch freeswitch    593 Oct 24  2021 event_multicast.conf.xml
  535. -rw-r--r--  1 freeswitch freeswitch    425 Feb 22 09:20 event_socket.conf.xml
  536. -rw-r--r--  1 freeswitch freeswitch    441 Oct 24  2021 fax.conf.xml
  537. -rw-r--r--  1 freeswitch freeswitch    371 Oct 24  2021 fifo.conf.xml
  538. -rw-r--r--  1 freeswitch freeswitch   4622 Oct 24  2021 format_cdr.conf.xml
  539. -rw-r--r--  1 freeswitch freeswitch   1024 Oct 24  2021 graylog2.conf.xml
  540. -rw-r--r--  1 freeswitch freeswitch    260 Oct 24  2021 hash.conf.xml
  541. -rw-r--r--  1 freeswitch freeswitch    703 Oct 24  2021 hiredis.conf.xml
  542. -rw-r--r--  1 freeswitch freeswitch   5506 Oct 24  2021 httapi.conf.xml
  543. -rw-r--r--  1 freeswitch freeswitch   1029 Oct 24  2021 http_cache.conf.xml
  544. -rw-r--r--  1 freeswitch freeswitch    155 Oct 24  2021 ivr.conf.xml
  545. -rw-r--r--  1 freeswitch freeswitch    445 Oct 24  2021 java.conf.xml
  546. -rwxr-xr-x  1 freeswitch freeswitch   2645 Feb 22 09:17 json_cdr.conf.xml
  547. -rw-r--r--  1 freeswitch freeswitch   8703 Oct 24  2021 kazoo.conf.xml
  548. -rw-r--r--  1 freeswitch freeswitch   3657 Oct 24  2021 lcr.conf.xml
  549. -rw-r--r--  1 freeswitch freeswitch   1910 Oct 24  2021 local_stream.conf.xml
  550. -rw-r--r--  1 freeswitch freeswitch   1162 Oct 24  2021 logfile.conf.xml
  551. -rw-r--r--  1 freeswitch freeswitch   1465 Feb 22 09:17 lua.conf.xml
  552. -rw-r--r--  1 freeswitch freeswitch    254 Oct 24  2021 memcache.conf.xml
  553. -rw-r--r--  1 freeswitch freeswitch   3061 Feb 22 09:20 modules.conf.xml
  554. -rw-r--r--  1 freeswitch freeswitch    541 Oct 24  2021 mongo.conf.xml
  555. -rw-r--r--  1 freeswitch freeswitch    512 Oct 24  2021 msrp.conf.xml
  556. -rw-r--r--  1 freeswitch freeswitch   2418 Feb 22 09:17 nibblebill.conf.xml
  557. -rw-r--r--  1 freeswitch freeswitch   1196 Oct 24  2021 opal.conf.xml
  558. -rw-r--r--  1 freeswitch freeswitch   1976 Oct 24  2021 opus.conf.xml
  559. -rw-r--r--  1 freeswitch freeswitch    537 Oct 24  2021 oreka.conf.xml
  560. -rw-r--r--  1 freeswitch freeswitch   2108 Oct 24  2021 osp.conf.xml
  561. -rw-r--r--  1 freeswitch freeswitch    593 Oct 24  2021 perl.conf.xml
  562. -rw-r--r--  1 freeswitch freeswitch    534 Oct 24  2021 pocketsphinx.conf.xml
  563. -rw-r--r--  1 freeswitch freeswitch   9019 Oct 24  2021 portaudio.conf.xml
  564. -rw-r--r--  1 freeswitch freeswitch    110 Oct 24  2021 post_load_modules.conf.xml
  565. -rw-r--r--  1 freeswitch freeswitch    212 Oct 24  2021 pre_load_modules.conf.xml
  566. -rw-r--r--  1 freeswitch freeswitch    196 Oct 24  2021 presence_map.conf.xml
  567. -rw-r--r--  1 freeswitch freeswitch    575 Oct 24  2021 python.conf.xml
  568. -rw-r--r--  1 freeswitch freeswitch    239 Oct 24  2021 redis.conf.xml
  569. -rw-r--r--  1 freeswitch freeswitch    296 Oct 24  2021 rss.conf.xml
  570. -rw-r--r--  1 freeswitch freeswitch    662 Oct 24  2021 rtmp.conf.xml
  571. -rw-r--r--  1 freeswitch freeswitch   1457 Oct 24  2021 sangoma_codec.conf.xml
  572. -rw-r--r--  1 freeswitch freeswitch    305 Oct 24  2021 shout.conf.xml
  573. -rw-r--r--  1 freeswitch freeswitch    178 Oct 24  2021 skinny.conf.xml
  574. -rw-r--r--  1 freeswitch freeswitch    488 Oct 24  2021 smpp.conf.xml
  575. -rw-r--r--  1 freeswitch freeswitch    432 Oct 24  2021 sms_flowroute.conf.xml
  576. -rw-r--r--  1 freeswitch freeswitch    262 Oct 24  2021 sndfile.conf.xml
  577. -rw-r--r--  1 freeswitch freeswitch    889 Oct 24  2021 sofia.conf.xml
  578. -rw-r--r--  1 freeswitch freeswitch   4633 Oct 24  2021 spandsp.conf.xml
  579. -rw-r--r--  1 freeswitch freeswitch   9071 Feb 22 09:20 switch.conf.xml
  580. -rw-r--r--  1 freeswitch freeswitch    689 Oct 24  2021 syslog.conf.xml
  581. -rw-r--r--  1 freeswitch freeswitch 101403 Oct 24  2021 timezones.conf.xml
  582. -rw-r--r--  1 freeswitch freeswitch    858 Oct 24  2021 translate.conf.xml
  583. -rw-r--r--  1 freeswitch freeswitch    595 Oct 24  2021 tts_commandline.conf.xml
  584. -rw-r--r--  1 freeswitch freeswitch    914 Oct 24  2021 unicall.conf.xml
  585. -rw-r--r--  1 freeswitch freeswitch    899 Oct 24  2021 unimrcp.conf.xml
  586. -rw-r--r--  1 freeswitch freeswitch    727 Oct 24  2021 v8.conf.xml
  587. -rw-r--r--  1 freeswitch freeswitch   3066 Oct 24  2021 verto.conf.xml
  588. -rw-r--r--  1 freeswitch freeswitch   3698 Oct 24  2021 voicemail.conf.xml
  589. -rw-r--r--  1 freeswitch freeswitch   8039 Oct 24  2021 voicemail_ivr.conf.xml
  590. -rw-r--r--  1 freeswitch freeswitch   9646 Oct 24  2021 vpx.conf.xml
  591. -rw-r--r--  1 freeswitch freeswitch   3993 Oct 24  2021 xml_cdr.conf.xml
  592. -rw-r--r--  1 freeswitch freeswitch   1304 Feb 22 09:17 xml_curl.conf.xml
  593. -rw-r--r--  1 freeswitch freeswitch    667 Oct 24  2021 xml_rpc.conf.xml
  594. -rw-r--r--  1 freeswitch freeswitch    563 Oct 24  2021 xml_scgi.conf.xml
  595. -rw-r--r--  1 freeswitch freeswitch    203 Oct 24  2021 zeroconf.conf.xml
  596. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  597. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  598. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  599. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs# vim lua.conf.xml
  600. You have new mail in /var/mail/root
  601. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  602. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  603. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  604. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  605. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  606. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  607. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  608. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  609. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs# vim /etc/freeswitch/autoload_configs/lua.conf.xml
  610. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  611. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  612. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  613. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  614. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  615. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs# vim /etc/freeswitch/autoload_configs/lua.conf.xml
  616. You have new mail in /var/mail/root
  617. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  618. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  619. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  620. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  621. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  622. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  623. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  624. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  625. .=======================================================.
  626. |            _____ ____     ____ _     ___              |
  627. |           |  ___/ ___|   / ___| |   |_ _|             |
  628. |           | |_  \___ \  | |   | |    | |              |
  629. |           |  _|  ___) | | |___| |___ | |              |
  630. |           |_|   |____/   \____|_____|___|             |
  631. |                                                       |
  632. .=======================================================.
  633. | Anthony Minessale II, Ken Rice,                       |
  634. | Michael Jerris, Travis Cross                          |
  635. | FreeSWITCH (http://www.freeswitch.org)                |
  636. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  637. | Brought to you by ClueCon http://www.cluecon.com/     |
  638. .=======================================================.
  639.  
  640. .=======================================================================================================.
  641. |       _                            _    ____ _             ____                                       |
  642. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  643. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  644. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  645. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  646. |                                                                                                       |
  647. |    ____ _____ ____    ____             __                                                             |
  648. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  649. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  650. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  651. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  652. |                                                                                                       |
  653. |     ____ _             ____                                                                           |
  654. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  655. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  656. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  657. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  658. |                                                                                                       |
  659. .=======================================================================================================.
  660.  
  661. Type /help <enter> to see a list of commands
  662.  
  663.  
  664.  
  665.  
  666. [This app Best viewed at 160x60 or more..]
  667. +OK log level  [7]
  668. freeswitch@ip-172-31-14-218>
  669. freeswitch@ip-172-31-14-218>
  670. freeswitch@ip-172-31-14-218>
  671. 2022-04-26 12:41:58.039446 98.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  672. 2022-04-26 12:41:58.079424 98.93% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  673. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  674. and you must configure your device to use the proper domain in its authentication credentials.
  675. 2022-04-26 12:41:58.079424 98.93% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  676. 2022-04-26 12:42:01.499423 98.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [853bdaaa-5d5d-40a3-8ad7-1d46a2f54ea1]
  677. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 20)
  678. 2022-04-26 12:42:01.499423 98.83% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 1c3a7061-4001-123b-3db3-ba05d31eb9f9
  679. 2022-04-26 12:42:01.499423 98.83% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  680. 2022-04-26 12:42:01.499423 98.83% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  681. 2022-04-26 12:42:01.499423 98.83% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  682. 2022-04-26 12:42:01.499423 98.83% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  683. 2022-04-26 12:42:01.499423 98.83% [DEBUG] sofia.c:7509 Remote SDP:
  684. v=0
  685. o=FreeSWITCH 1650939091 1650939092 IN IP4 46.101.114.158
  686. s=FreeSWITCH
  687. c=IN IP4 46.101.114.158
  688. t=0 0
  689. m=audio 37830 RTP/AVP 0 101
  690. a=rtpmap:0 PCMU/8000
  691. a=rtpmap:101 telephone-event/8000
  692. a=fmtp:101 0-16
  693. a=ptime:20
  694.  
  695. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  696. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  697. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  698. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  699. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  700. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  701. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  702. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  703. 2022-04-26 12:42:01.499423 98.83% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  704. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  705. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 20)
  706. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  707. 2022-04-26 12:42:01.499423 98.83% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  708. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  709. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  710. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  711. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 20)
  712. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  713. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  714. 2022-04-26 12:42:01.499423 98.83% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  715. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  716. 2022-04-26 12:42:01.499423 98.83% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  717. 2022-04-26 12:42:01.499423 98.83% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  718. stack traceback:
  719.         [C]: in function 'dofile'
  720.         /usr/share/freeswitch/scripts/astpp/astpp.lua:39: in main chunk
  721. 2022-04-26 12:42:01.499423 98.83% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  722. 2022-04-26 12:42:01.499423 98.83% [WARNING] mod_dialplan_xml.c:669 Context default not found
  723. 2022-04-26 12:42:01.499423 98.83% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  724. 2022-04-26 12:42:01.499423 98.83% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/8871343676@46.101.114.158 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  725. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  726. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 1 Tot 20)
  727. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> HANGUP
  728. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  729. 2022-04-26 12:42:01.499423 98.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: NO_ROUTE_DESTINATION
  730. 2022-04-26 12:42:01.499423 98.83% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  731. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  732. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  733. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  734. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 1 Tot 20)
  735. 2022-04-26 12:42:01.499423 98.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  736. 2022-04-26 12:42:01.499423 98.83% [INFO] mod_json_cdr.c:271 Process [853bdaaa-5d5d-40a3-8ad7-1d46a2f54ea1.cdr.json]
  737. 2022-04-26 12:42:01.519423 98.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  738. 2022-04-26 12:42:01.519423 98.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  739. 2022-04-26 12:42:01.519423 98.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  740. 2022-04-26 12:42:01.519423 98.83% [DEBUG] switch_core_session.c:1753 Session 20 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  741. 2022-04-26 12:42:01.519423 98.83% [NOTICE] switch_core_session.c:1771 Session 20 (sofia/default/8871343676@46.101.114.158) Ended
  742. 2022-04-26 12:42:01.519423 98.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  743. 2022-04-26 12:42:01.519423 98.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 20)
  744. 2022-04-26 12:42:01.519423 98.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  745. 2022-04-26 12:42:01.519423 98.83% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  746. 2022-04-26 12:42:01.519423 98.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  747. 2022-04-26 12:42:01.519423 98.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  748. freeswitch@ip-172-31-14-218>
  749. freeswitch@ip-172-31-14-218>
  750. freeswitch@ip-172-31-14-218>
  751. freeswitch@ip-172-31-14-218> /exit
  752.  
  753. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  754. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  755. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  756. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  757. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs#
  758. root@ip-172-31-14-218:/etc/freeswitch/autoload_configs# cd /home/admin/
  759. You have new mail in /var/mail/root
  760. root@ip-172-31-14-218:/home/admin#
  761. root@ip-172-31-14-218:/home/admin#
  762. root@ip-172-31-14-218:/home/admin#
  763. root@ip-172-31-14-218:/home/admin#
  764. root@ip-172-31-14-218:/home/admin#
  765. root@ip-172-31-14-218:/home/admin# vim /var/lib/astpp/astpp.lua
  766. root@ip-172-31-14-218:/home/admin#
  767. root@ip-172-31-14-218:/home/admin#
  768. root@ip-172-31-14-218:/home/admin# vim /etc/freeswitch/autoload_configs/lua.conf.xml
  769. root@ip-172-31-14-218:/home/admin#
  770. root@ip-172-31-14-218:/home/admin#
  771. root@ip-172-31-14-218:/home/admin#
  772. root@ip-172-31-14-218:/home/admin# vim /usr/local/freeswitch/conf/autoload_configs/lua.conf.xml
  773. You have new mail in /var/mail/root
  774. root@ip-172-31-14-218:/home/admin#
  775. root@ip-172-31-14-218:/home/admin#
  776. root@ip-172-31-14-218:/home/admin# vim /opt/ASTPP/freeswitch/scripts/astpp/astpp.lua
  777. You have new mail in /var/mail/root
  778. root@ip-172-31-14-218:/home/admin#
  779. root@ip-172-31-14-218:/home/admin#
  780. root@ip-172-31-14-218:/home/admin#
  781. root@ip-172-31-14-218:/home/admin# vim /opt/ASTPP/freeswitch/scripts/astpp/astpp.lua
  782. root@ip-172-31-14-218:/home/admin#
  783. root@ip-172-31-14-218:/home/admin#
  784. root@ip-172-31-14-218:/home/admin#
  785. root@ip-172-31-14-218:/home/admin#
  786. root@ip-172-31-14-218:/home/admin# vim /usr/local/freeswitch/scripts/astpp/constant.lua
  787. root@ip-172-31-14-218:/home/admin#
  788. root@ip-172-31-14-218:/home/admin#
  789. root@ip-172-31-14-218:/home/admin# cd /usr/local/
  790. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  791. root@ip-172-31-14-218:/home/admin# cd /usr/
  792. You have new mail in /var/mail/root
  793. root@ip-172-31-14-218:/usr#
  794. root@ip-172-31-14-218:/usr#
  795. root@ip-172-31-14-218:/usr#
  796. root@ip-172-31-14-218:/usr# cd /usr/
  797. bin/     games/   include/ lib/     local/   sbin/    share/   src/
  798. root@ip-172-31-14-218:/usr# cd /usr/local/
  799. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  800. root@ip-172-31-14-218:/usr#
  801. You have new mail in /var/mail/root
  802. root@ip-172-31-14-218:/usr#
  803. root@ip-172-31-14-218:/usr#
  804. root@ip-172-31-14-218:/usr#
  805. root@ip-172-31-14-218:/usr#
  806. root@ip-172-31-14-218:/usr#
  807. You have new mail in /var/mail/root
  808. root@ip-172-31-14-218:/usr#
  809. root@ip-172-31-14-218:/usr#
  810. root@ip-172-31-14-218:/usr#
  811. root@ip-172-31-14-218:/usr#
  812. root@ip-172-31-14-218:/usr#
  813. root@ip-172-31-14-218:/usr#
  814. root@ip-172-31-14-218:/usr#
  815. root@ip-172-31-14-218:/usr# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  816. .=======================================================.
  817. |            _____ ____     ____ _     ___              |
  818. |           |  ___/ ___|   / ___| |   |_ _|             |
  819. |           | |_  \___ \  | |   | |    | |              |
  820. |           |  _|  ___) | | |___| |___ | |              |
  821. |           |_|   |____/   \____|_____|___|             |
  822. |                                                       |
  823. .=======================================================.
  824. | Anthony Minessale II, Ken Rice,                       |
  825. | Michael Jerris, Travis Cross                          |
  826. | FreeSWITCH (http://www.freeswitch.org)                |
  827. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  828. | Brought to you by ClueCon http://www.cluecon.com/     |
  829. .=======================================================.
  830.  
  831. .=======================================================================================================.
  832. |       _                            _    ____ _             ____                                       |
  833. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  834. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  835. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  836. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  837. |                                                                                                       |
  838. |    ____ _____ ____    ____             __                                                             |
  839. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  840. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  841. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  842. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  843. |                                                                                                       |
  844. |     ____ _             ____                                                                           |
  845. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  846. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  847. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  848. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  849. |                                                                                                       |
  850. .=======================================================================================================.
  851.  
  852. Type /help <enter> to see a list of commands
  853.  
  854.  
  855.  
  856.  
  857. [This app Best viewed at 160x60 or more..]
  858. +OK log level  [7]
  859. freeswitch@ip-172-31-14-218>
  860. freeswitch@ip-172-31-14-218>
  861. freeswitch@ip-172-31-14-218>
  862. freeswitch@ip-172-31-14-218>
  863. freeswitch@ip-172-31-14-218>
  864. 2022-04-26 12:51:15.739487 95.47% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  865. 2022-04-26 12:51:15.779473 95.47% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  866. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  867. and you must configure your device to use the proper domain in its authentication credentials.
  868. 2022-04-26 12:51:15.779473 95.47% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  869. 2022-04-26 12:51:16.939432 95.43% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 [f107bf75-f66c-40b0-a2c7-343bf0971760]
  870. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_NEW (Cur 1 Tot 21)
  871. 2022-04-26 12:51:16.939432 95.43% [INFO] sofia.c:10462 sofia/default/9998988398@w07version62.astppbilling.org:5066 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 2dOyg5OLN2e2PJLqXqvwkw..
  872. 2022-04-26 12:51:16.939432 95.43% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  873. 2022-04-26 12:51:16.939432 95.43% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  874. 2022-04-26 12:51:16.939432 95.43% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  875. 2022-04-26 12:51:16.939432 95.43% [DEBUG] sofia.c:7499 Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 entering state [received][100]
  876. 2022-04-26 12:51:16.939432 95.43% [DEBUG] sofia.c:7509 Remote SDP:
  877. v=0
  878. o=Z 0 0 IN IP4 117.247.91.162
  879. s=Z
  880. c=IN IP4 117.247.91.162
  881. t=0 0
  882. m=audio 8000 RTP/AVP 3 110 8 0 97 101
  883. a=rtpmap:110 speex/8000
  884. a=rtpmap:97 iLBC/8000
  885. a=fmtp:97 mode=30
  886. a=rtpmap:101 telephone-event/8000
  887. a=fmtp:101 0-16
  888.  
  889. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  890. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  891. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  892. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  893. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  894. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  895. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  896. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  897. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  898. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  899. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  900. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  901. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  902. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9998988398@w07version62.astppbilling.org:5066 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  903. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_codec.c:111 sofia/default/9998988398@w07version62.astppbilling.org:5066 Original read codec set to PCMA:8
  904. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  905. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_media.c:5973 sofia/default/9998988398@w07version62.astppbilling.org:5066 Set 2833 dtmf send payload to 101 recv payload to 101
  906. 2022-04-26 12:51:16.939432 95.43% [DEBUG] sofia.c:7933 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_NEW -> CS_INIT
  907. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State NEW
  908. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_INIT (Cur 1 Tot 21)
  909. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State INIT
  910. 2022-04-26 12:51:16.939432 95.43% [DEBUG] mod_sofia.c:97 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA INIT
  911. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard INIT
  912. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_INIT -> CS_ROUTING
  913. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State INIT going to sleep
  914. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_ROUTING (Cur 1 Tot 21)
  915. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_channel.c:2380 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Callstate Change DOWN -> RINGING
  916. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State ROUTING
  917. 2022-04-26 12:51:16.939432 95.43% [DEBUG] mod_sofia.c:158 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA ROUTING
  918. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:230 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard ROUTING
  919. 2022-04-26 12:51:16.939432 95.43% [INFO] mod_dialplan_xml.c:639 Processing 9998988398 <9998988398>->770400404 in context default
  920. 2022-04-26 12:51:16.939432 95.43% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  921. stack traceback:
  922.         [C]: in function 'dofile'
  923.         /usr/share/freeswitch/scripts/astpp/astpp.lua:39: in main chunk
  924. 2022-04-26 12:51:16.939432 95.43% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  925. 2022-04-26 12:51:16.939432 95.43% [WARNING] mod_dialplan_xml.c:669 Context default not found
  926. 2022-04-26 12:51:16.939432 95.43% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  927. 2022-04-26 12:51:16.939432 95.43% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9998988398@w07version62.astppbilling.org:5066 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  928. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State ROUTING going to sleep
  929. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_HANGUP (Cur 1 Tot 21)
  930. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Callstate Change RINGING -> HANGUP
  931. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State HANGUP
  932. 2022-04-26 12:51:16.939432 95.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 hanging up, cause: NO_ROUTE_DESTINATION
  933. 2022-04-26 12:51:16.939432 95.43% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  934. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  935. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State HANGUP going to sleep
  936. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_HANGUP -> CS_REPORTING
  937. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_REPORTING (Cur 1 Tot 21)
  938. 2022-04-26 12:51:16.939432 95.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State REPORTING
  939. 2022-04-26 12:51:16.939432 95.43% [INFO] mod_json_cdr.c:271 Process [f107bf75-f66c-40b0-a2c7-343bf0971760.cdr.json]
  940. 2022-04-26 12:51:16.959432 95.33% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  941. 2022-04-26 12:51:16.959432 95.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State REPORTING going to sleep
  942. 2022-04-26 12:51:16.959432 95.33% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_REPORTING -> CS_DESTROY
  943. 2022-04-26 12:51:16.959432 95.33% [DEBUG] switch_core_session.c:1753 Session 21 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Locked, Waiting on external entities
  944. 2022-04-26 12:51:16.959432 95.33% [NOTICE] switch_core_session.c:1771 Session 21 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Ended
  945. 2022-04-26 12:51:16.959432 95.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 [CS_DESTROY]
  946. 2022-04-26 12:51:16.959432 95.33% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_DESTROY (Cur 0 Tot 21)
  947. 2022-04-26 12:51:16.959432 95.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State DESTROY
  948. 2022-04-26 12:51:16.959432 95.33% [DEBUG] mod_sofia.c:379 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA DESTROY
  949. 2022-04-26 12:51:16.959432 95.33% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard DESTROY
  950. 2022-04-26 12:51:16.959432 95.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State DESTROY going to sleep
  951. 2022-04-26 12:51:36.879454 99.17% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  952. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  953. and you must configure your device to use the proper domain in its authentication credentials.
  954. 2022-04-26 12:51:36.879454 99.17% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  955. 2022-04-26 12:51:58.959527 99.43% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  956. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  957. and you must configure your device to use the proper domain in its authentication credentials.
  958. 2022-04-26 12:51:58.959527 99.43% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  959. 2022-04-26 12:52:20.099421 95.60% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  960. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  961. and you must configure your device to use the proper domain in its authentication credentials.
  962. 2022-04-26 12:52:20.099421 95.60% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  963. 2022-04-26 12:52:41.199488 99.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  964. 2022-04-26 12:52:41.239445 99.70% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  965. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  966. and you must configure your device to use the proper domain in its authentication credentials.
  967. 2022-04-26 12:52:41.239445 99.70% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  968. 2022-04-26 12:53:03.319433 95.87% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  969. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  970. and you must configure your device to use the proper domain in its authentication credentials.
  971. 2022-04-26 12:53:03.319433 95.87% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  972. 2022-04-26 12:53:24.419445 95.93% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  973. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  974. and you must configure your device to use the proper domain in its authentication credentials.
  975. 2022-04-26 12:53:24.419445 95.93% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  976. 2022-04-26 12:53:45.539445 99.53% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  977. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  978. and you must configure your device to use the proper domain in its authentication credentials.
  979. 2022-04-26 12:53:45.539445 99.53% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  980. freeswitch@ip-172-31-14-218>
  981. freeswitch@ip-172-31-14-218>
  982. freeswitch@ip-172-31-14-218>
  983. freeswitch@ip-172-31-14-218>
  984. freeswitch@ip-172-31-14-218>
  985. freeswitch@ip-172-31-14-218> /exit
  986.  
  987. You have new mail in /var/mail/root
  988. root@ip-172-31-14-218:/usr#
  989. root@ip-172-31-14-218:/usr#
  990. root@ip-172-31-14-218:/usr#
  991. root@ip-172-31-14-218:/usr#
  992. root@ip-172-31-14-218:/usr# cd /usr/local/
  993. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  994. root@ip-172-31-14-218:/usr# cd /usr/local/
  995. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  996. root@ip-172-31-14-218:/usr#
  997. You have new mail in /var/mail/root
  998. root@ip-172-31-14-218:/usr#
  999. root@ip-172-31-14-218:/usr#
  1000. root@ip-172-31-14-218:/usr#
  1001. root@ip-172-31-14-218:/usr#
  1002. root@ip-172-31-14-218:/usr#
  1003. root@ip-172-31-14-218:/usr# cd /usr/
  1004. bin/     games/   include/ lib/     local/   sbin/    share/   src/
  1005. root@ip-172-31-14-218:/usr# cd /usr/local/
  1006. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  1007. root@ip-172-31-14-218:/usr# cd /usr/local/
  1008. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  1009. root@ip-172-31-14-218:/usr# cd /usr/local/
  1010. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  1011. root@ip-172-31-14-218:/usr# cd /usr/local/
  1012. root@ip-172-31-14-218:/usr/local#
  1013. root@ip-172-31-14-218:/usr/local#
  1014. root@ip-172-31-14-218:/usr/local#
  1015. root@ip-172-31-14-218:/usr/local#
  1016. root@ip-172-31-14-218:/usr/local#
  1017. root@ip-172-31-14-218:/usr/local#
  1018. root@ip-172-31-14-218:/usr/local# ls -la
  1019. total 48
  1020. drwxrwsr-x 12 root staff 4096 Feb 24 09:04 .
  1021. drwxr-xr-x 10 root root  4096 Jun 23  2021 ..
  1022. drwxr-sr-x  2 root root  4096 Feb 22 09:20 astpp
  1023. drwxrwsr-x  2 root staff 4096 Jun 23  2021 bin
  1024. drwxrwsr-x  3 root staff 4096 Feb 24 09:04 etc
  1025. drwxrwsr-x  2 root staff 4096 Jun 23  2021 games
  1026. drwxrwsr-x  2 root staff 4096 Jun 23  2021 include
  1027. drwxrwsr-x  4 root staff 4096 Jun 23  2021 lib
  1028. drwxr-sr-x  3 root staff 4096 Feb 24 09:04 lib64
  1029. lrwxrwxrwx  1 root staff    9 Jun 23  2021 man -> share/man
  1030. drwxrwsr-x  2 root staff 4096 Feb 24 10:58 sbin
  1031. drwxrwsr-x 10 root staff 4096 Feb 24 09:04 share
  1032. drwxrwsr-x  2 root staff 4096 Jun 23  2021 src
  1033. root@ip-172-31-14-218:/usr/local#
  1034. root@ip-172-31-14-218:/usr/local#
  1035. root@ip-172-31-14-218:/usr/local#
  1036. root@ip-172-31-14-218:/usr/local#
  1037. root@ip-172-31-14-218:/usr/local#
  1038. root@ip-172-31-14-218:/usr/local#
  1039. root@ip-172-31-14-218:/usr/local#
  1040. root@ip-172-31-14-218:/usr/local# cd /usr/share/
  1041. Display all 156 possibilities? (y or n)
  1042. aclocal/                 dh-autoreconf/           i18n/                    mysql-8.0/               python/
  1043. aclocal-1.15/            dh-python/               icons/                   nano/                    python3/
  1044. adduser/                 dict/                    icu/                     netpbm/                  python-apt/
  1045. alsa/                    dictionaries-common/     ImageMagick-6/           nginx/                   python-wheels/
  1046. ant/                     distro-info/             info/                    ntp/                     qt4/
  1047. appdata/                 djvu/                    initramfs-tools/         openssh/                 qtchooser/
  1048. application-registry/    doc/                     intltool-debian/         PackageKit/              readline/
  1049. applications/            doc-base/                iptables/                pam/                     reportbug/
  1050. apport/                  docutils/                iso-codes/               pam-configs/             screen/
  1051. apps/                    dpkg/                    java/                    perl/                    sendmail/
  1052. apt-listchanges/         emacs/                   javascript/              perl5/                   sgml/
  1053. autoconf/                file/                    keyrings/                perl-openssl-defaults/   sgml-base/
  1054. automake-1.15/           fontconfig/              libaudio2/               php/                     shtool/
  1055. avahi/                   fonts/                   libc-bin/                php7.3-common/           snmp/
  1056. base-files/              fonts-droid-fallback/    libdbi-perl/             php7.3-curl/             systemd/
  1057. base-passwd/             freeswitch/              libexttextcat/           php7.3-gd/               tabset/
  1058. bash-completion/         gcc-6/                   liblangtag/              php7.3-imap/             tasksel/
  1059. binfmts/                 gcj/                     libreoffice/             php7.3-json/             tcltk/
  1060. bison/                   GConf/                   libsensors4/             php7.3-mbstring/         terminfo/
  1061. bug/                     gdb/                     libthai/                 php7.3-mysql/            themes/
  1062. build-essential/         GeoIP/                   libtool/                 php7.3-opcache/          unattended-upgrades/
  1063. ca-certificates/         gettext/                 lintian/                 php7.3-readline/         upstart/
  1064. ca-certificates-java/    gettext-0.19.8/          locale/                  php7.3-xml/              vim/
  1065. calendar/                ghostscript/             man/                     pixmaps/                 X11/
  1066. cdbs/                    git-core/                man-db/                  pkgconfig/               xml/
  1067. color/                   gitweb/                  maven-repo/              pkg-config-crosswrapper  xml-core/
  1068. common-licenses/         glib-2.0/                mecab/                   pkg-config-dpkghook      zoneinfo/
  1069. dbus-1/                  gnupg/                   menu/                    pkg-php-tools/           zsh/
  1070. debconf/                 groff/                   mime/                    po-debconf/
  1071. debhelper/               grub/                    mime-info/               polkit-1/
  1072. debianutils/             gst-plugins-base/        mimelnk/                 poppler/
  1073. defaults/                hunspell/                misc/                    pyshared/
  1074. root@ip-172-31-14-218:/usr/local# cd /usr/share/freeswitch/
  1075. conf/    fonts/   grammar/ htdocs/  lang/    scripts/ sounds/  tz/
  1076. root@ip-172-31-14-218:/usr/local# cd /usr/share/freeswitch/scripts/
  1077. addons.lua                 astpp-callingcards.lua     did_call_forwarding.lua    scripts/
  1078. astpp/                     astpp_percentage.lua       priority_base_routing.lua
  1079. root@ip-172-31-14-218:/usr/local# cd /usr/share/freeswitch
  1080. You have new mail in /var/mail/root
  1081. root@ip-172-31-14-218:/usr/share/freeswitch#
  1082. root@ip-172-31-14-218:/usr/share/freeswitch#
  1083. root@ip-172-31-14-218:/usr/share/freeswitch#
  1084. root@ip-172-31-14-218:/usr/share/freeswitch#
  1085. root@ip-172-31-14-218:/usr/share/freeswitch# ls -la
  1086. total 36
  1087. drwxr-xr-x   9 freeswitch freeswitch 4096 Mar  5 14:56 .
  1088. drwxr-xr-x 156 root       root       4096 Mar 31 11:35 ..
  1089. drwxr-xr-x   7 freeswitch freeswitch 4096 Feb 22 09:15 conf
  1090. drwxr-xr-x   2 freeswitch freeswitch 4096 Feb 22 09:15 fonts
  1091. drwxr-xr-x   3 freeswitch freeswitch 4096 Feb 22 09:15 grammar
  1092. drwxr-x---   2 freeswitch freeswitch 4096 Feb 22 09:20 htdocs
  1093. drwxr-xr-x   9 freeswitch freeswitch 4096 Feb 22 09:15 lang
  1094. lrwxrwxrwx   1 freeswitch freeswitch   29 Mar  5 14:56 scripts -> /opt/ASTPP/freeswitch/scripts
  1095. drwxr-xr-x   8 freeswitch freeswitch 4096 Feb 22 09:15 sounds
  1096. drwxr-xr-x   2 freeswitch freeswitch 4096 Feb 22 09:15 tz
  1097. root@ip-172-31-14-218:/usr/share/freeswitch#
  1098. root@ip-172-31-14-218:/usr/share/freeswitch#
  1099. root@ip-172-31-14-218:/usr/share/freeswitch#
  1100. root@ip-172-31-14-218:/usr/share/freeswitch#
  1101. root@ip-172-31-14-218:/usr/share/freeswitch#
  1102. root@ip-172-31-14-218:/usr/share/freeswitch#
  1103. root@ip-172-31-14-218:/usr/share/freeswitch# cd /usr/local/
  1104. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  1105. root@ip-172-31-14-218:/usr/share/freeswitch# cd /usr/local/
  1106. astpp/   bin/     etc/     games/   include/ lib/     lib64/   man/     sbin/    share/   src/
  1107. root@ip-172-31-14-218:/usr/share/freeswitch#
  1108. You have new mail in /var/mail/root
  1109. root@ip-172-31-14-218:/usr/share/freeswitch#
  1110. root@ip-172-31-14-218:/usr/share/freeswitch#
  1111. root@ip-172-31-14-218:/usr/share/freeswitch#
  1112. root@ip-172-31-14-218:/usr/share/freeswitch#
  1113. root@ip-172-31-14-218:/usr/share/freeswitch# vim /etc/freeswitch/autoload_configs/lua.conf.xml
  1114. You have new mail in /var/mail/root
  1115. root@ip-172-31-14-218:/usr/share/freeswitch#
  1116. root@ip-172-31-14-218:/usr/share/freeswitch#
  1117. root@ip-172-31-14-218:/usr/share/freeswitch#
  1118. root@ip-172-31-14-218:/usr/share/freeswitch#
  1119. root@ip-172-31-14-218:/usr/share/freeswitch#
  1120. root@ip-172-31-14-218:/usr/share/freeswitch#
  1121. root@ip-172-31-14-218:/usr/share/freeswitch#
  1122. root@ip-172-31-14-218:/usr/share/freeswitch#
  1123. root@ip-172-31-14-218:/usr/share/freeswitch#
  1124. root@ip-172-31-14-218:/usr/share/freeswitch# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  1125. .=======================================================.
  1126. |            _____ ____     ____ _     ___              |
  1127. |           |  ___/ ___|   / ___| |   |_ _|             |
  1128. |           | |_  \___ \  | |   | |    | |              |
  1129. |           |  _|  ___) | | |___| |___ | |              |
  1130. |           |_|   |____/   \____|_____|___|             |
  1131. |                                                       |
  1132. .=======================================================.
  1133. | Anthony Minessale II, Ken Rice,                       |
  1134. | Michael Jerris, Travis Cross                          |
  1135. | FreeSWITCH (http://www.freeswitch.org)                |
  1136. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  1137. | Brought to you by ClueCon http://www.cluecon.com/     |
  1138. .=======================================================.
  1139.  
  1140. .=======================================================================================================.
  1141. |       _                            _    ____ _             ____                                       |
  1142. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  1143. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  1144. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  1145. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  1146. |                                                                                                       |
  1147. |    ____ _____ ____    ____             __                                                             |
  1148. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  1149. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  1150. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  1151. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  1152. |                                                                                                       |
  1153. |     ____ _             ____                                                                           |
  1154. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  1155. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  1156. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  1157. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  1158. |                                                                                                       |
  1159. .=======================================================================================================.
  1160.  
  1161. Type /help <enter> to see a list of commands
  1162.  
  1163.  
  1164.  
  1165.  
  1166. [This app Best viewed at 160x60 or more..]
  1167. +OK log level  [7]
  1168. freeswitch@ip-172-31-14-218>
  1169. freeswitch@ip-172-31-14-218>
  1170. freeswitch@ip-172-31-14-218>
  1171. freeswitch@ip-172-31-14-218>
  1172. freeswitch@ip-172-31-14-218>
  1173. 2022-04-26 13:27:39.919426 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 [d8292f12-745c-4c7c-9fd5-11b3af200a05]
  1174. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_NEW (Cur 1 Tot 24)
  1175. 2022-04-26 13:27:39.919426 98.37% [INFO] sofia.c:10462 sofia/default/9998988398@w07version62.astppbilling.org:5066 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: rMwS6gD2bKmkk8kTFgCyyQ..
  1176. 2022-04-26 13:27:39.919426 98.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  1177. 2022-04-26 13:27:39.919426 98.37% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  1178. 2022-04-26 13:27:39.919426 98.37% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  1179. 2022-04-26 13:27:39.919426 98.37% [DEBUG] sofia.c:7499 Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 entering state [received][100]
  1180. 2022-04-26 13:27:39.919426 98.37% [DEBUG] sofia.c:7509 Remote SDP:
  1181. v=0
  1182. o=Z 0 0 IN IP4 117.247.91.162
  1183. s=Z
  1184. c=IN IP4 117.247.91.162
  1185. t=0 0
  1186. m=audio 8000 RTP/AVP 3 110 8 0 97 101
  1187. a=rtpmap:110 speex/8000
  1188. a=rtpmap:97 iLBC/8000
  1189. a=fmtp:97 mode=30
  1190. a=rtpmap:101 telephone-event/8000
  1191. a=fmtp:101 0-16
  1192.  
  1193. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  1194. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  1195. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  1196. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1197. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1198. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1199. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1200. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1201. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1202. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1203. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  1204. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  1205. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1206. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9998988398@w07version62.astppbilling.org:5066 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1207. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_codec.c:111 sofia/default/9998988398@w07version62.astppbilling.org:5066 Original read codec set to PCMA:8
  1208. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1209. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_media.c:5973 sofia/default/9998988398@w07version62.astppbilling.org:5066 Set 2833 dtmf send payload to 101 recv payload to 101
  1210. 2022-04-26 13:27:39.919426 98.37% [DEBUG] sofia.c:7933 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_NEW -> CS_INIT
  1211. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State NEW
  1212. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_INIT (Cur 1 Tot 24)
  1213. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State INIT
  1214. 2022-04-26 13:27:39.919426 98.37% [DEBUG] mod_sofia.c:97 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA INIT
  1215. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard INIT
  1216. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_INIT -> CS_ROUTING
  1217. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State INIT going to sleep
  1218. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_ROUTING (Cur 1 Tot 24)
  1219. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_channel.c:2380 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Callstate Change DOWN -> RINGING
  1220. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State ROUTING
  1221. 2022-04-26 13:27:39.919426 98.37% [DEBUG] mod_sofia.c:158 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA ROUTING
  1222. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard ROUTING
  1223. 2022-04-26 13:27:39.919426 98.37% [INFO] mod_dialplan_xml.c:639 Processing 9998988398 <9998988398>->770400404 in context default
  1224. 2022-04-26 13:27:39.919426 98.37% [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')
  1225. 2022-04-26 13:27:39.919426 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1226. 2022-04-26 13:27:39.939421 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1227. 2022-04-26 13:27:39.939421 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 770400404
  1228. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '770400404' limit 1
  1229. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '770400404' AND status=0 limit 1
  1230. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '770400404' and status=0 LIMIT 1
  1231. 2022-04-26 13:27:39.939421 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9998988398
  1232. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1233. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'w07version62.astppbilling.org' limit 1
  1234. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '5' and username = '770400404' limit 1
  1235. 2022-04-26 13:27:39.939421 98.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1236. 2022-04-26 13:27:39.939421 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9998988398 / 9998988398
  1237. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 404
  1238. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770400 AND status=0 limit 1
  1239. 2022-04-26 13:27:39.939421 98.37% [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 ="770400404" LIMIT 1
  1240. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1241. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="770400404"  AND domains.domain="w07version62.astppbilling.org" limit 1
  1242. 2022-04-26 13:27:39.939421 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1243. 2022-04-26 13:27:39.939421 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 117.247.91.162
  1244. 2022-04-26 13:27:39.939421 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9998913119]
  1245. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9998913119" AND deleted = 0 limit 1
  1246. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^770400404.*' OR blocked_patterns = '^77040040.*' OR blocked_patterns = '^7704004.*' OR blocked_patterns = '^770400.*' OR blocked_patterns = '^77040.*' OR blocked_patterns = '^7704.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  1247. 2022-04-26 13:27:39.939421 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="770400404" AND (accountid = 0 OR status = 1) LIMIT 1
  1248. 2022-04-26 13:27:39.939421 98.37% [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 = '^770400404.*' OR patterns = '^77040040.*' OR patterns = '^7704004.*' OR patterns = '^770400.*' OR patterns = '^77040.*' OR patterns = '^7704.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1249. 2022-04-26 13:27:39.939421 98.37% [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 ="770400404" AND A.accountid = '5' limit 1
  1250. 2022-04-26 13:27:39.939421 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 770400404
  1251. 2022-04-26 13:27:39.939421 98.37% [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 ="770400404" LIMIT 1
  1252. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1253. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="770400404"  AND domains.domain="w07version62.astppbilling.org" limit 1
  1254. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  1255. 2022-04-26 13:27:39.959426 98.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 = '770400404' OR number = '77040040' OR number = '7704004' OR number = '770400' OR number = '77040' OR number = '7704' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '770400404*' OR number = '77040040*' OR number = '7704004*' OR number = '770400*' OR number = '77040*' OR number = '7704*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '9998988398' OR number = '999898839' OR number = '99989883' OR number = '9998988' OR number = '999898' OR number = '99989' OR number = '9998' OR number = '999' OR number = '99' OR number = '9' OR number ='--') OR (number = '9998988398*' OR number = '999898839*' OR number = '99989883*' OR number = '9998988*' OR number = '999898*' OR number = '99989*' OR number = '9998*' OR number = '999*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1256. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1257. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '770400404' OR routing_prefix = '77040040' OR routing_prefix = '7704004' OR routing_prefix = '770400' OR routing_prefix = '77040' OR routing_prefix = '7704' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 4 limit 1
  1258. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1259. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
  1260. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9998913119
  1261. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19956.8
  1262. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1263. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  1264. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1265. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1266. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  1267. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1268. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  1269. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^770400404.*' OR pattern = '^77040040.*' OR pattern = '^7704004.*' OR pattern = '^770400.*' OR pattern = '^77040.*' OR pattern = '^7704.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^9998988398.*' OR caller_id_pattern = '^999898839.*' OR caller_id_pattern = '^99989883.*' OR caller_id_pattern = '^9998988.*' OR caller_id_pattern = '^999898.*' OR caller_id_pattern = '^99989.*' OR caller_id_pattern = '^9998.*' OR caller_id_pattern = '^999.*' OR caller_id_pattern = '^99.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  1270. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1271. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  1272. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000
  1273. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:2
  1274. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '2' and status=0
  1275. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000
  1276. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1277. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  1278. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1279. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1280. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  1281. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Mexico City
  1282. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 124
  1283. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
  1284. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1285. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1286. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1287. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19956.8 balance Accountid 5 !!!
  1288. 2022-04-26 13:27:39.959426 98.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  1289. 2022-04-26 13:27:39.959426 98.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 4
  1290. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
  1291. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^770400404.*' OR blocked_patterns = '^77040040.*' OR blocked_patterns = '^7704004.*' OR blocked_patterns = '^770400.*' OR blocked_patterns = '^77040.*' OR blocked_patterns = '^7704.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 4 limit 1
  1292. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  1293. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  1294. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9579184285
  1295. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19965
  1296. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1297. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  1298. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1299. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1300. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1301. 2022-04-26 13:27:39.959426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^770400404.*' OR pattern = '^77040040.*' OR pattern = '^7704004.*' OR pattern = '^770400.*' OR pattern = '^77040.*' OR pattern = '^7704.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^9998988398.*' OR caller_id_pattern = '^999898839.*' OR caller_id_pattern = '^99989883.*' OR caller_id_pattern = '^9998988.*' OR caller_id_pattern = '^999898.*' OR caller_id_pattern = '^99989.*' OR caller_id_pattern = '^9998.*' OR caller_id_pattern = '^999.*' OR caller_id_pattern = '^99.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=4)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  1302. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1303. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  1304. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  1305. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  1306. 2022-04-26 13:27:39.959426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  1307. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  1308. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  1309. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  1310. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.27
  1311. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  1312. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  1313. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  1314. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1315. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  1316. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1317. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1318. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  1319. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  1320. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  1321. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  1322. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1323. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1324. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1325. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19965 balance Accountid 4 !!!
  1326. 2022-04-26 13:27:39.979426 98.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  1327. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:3|CODE:^77.*|DESTINATION:Mexico City|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:124|ACCID:5||ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:4
  1328. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1329. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  1330. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  1331. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 5
  1332. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  1333. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1334. <document type="freeswitch/xml">
  1335. <section name="dialplan" description="ASTPP Dialplan">
  1336. <context name="default">
  1337. <extension name="770400404">
  1338. <condition field="destination_number" expression="770400404">
  1339. <action application="log" data="WARNING Accountcode . Dialed number (770400404) , Reseller call is priced too cheap! Call being barred!!"/>
  1340. <action application="set" data="original_caller_id_name=9998988398"/>
  1341. <action application="set" data="original_caller_id_number=9998988398"/>
  1342. <action application="set" data="error_cdr=1"/>
  1343. <action application="set" data="callstart=2022-04-26 13:27:39"/>
  1344. <action application="set" data="account_id=5"/>
  1345. <action application="set" data="parent_id=4"/>
  1346. <action application="set" data="call_direction=outbound"/>
  1347. <action application="set" data="sip_ignore_remote_cause=true"/>
  1348. <action application="set" data="call_processed=internal"/>
  1349. <action application="set" data="effective_destination_number=770400404"/>
  1350. <action application="set" data="last_bridge_hangup_cause=RESELLER_COST_CHEAP"/>
  1351. <action application="hangup" data="RESELLER_COST_CHEAP"/>
  1352. </condition>
  1353. </extension>
  1354. </context>
  1355. </section>
  1356. </document>
  1357. 2022-04-26 13:27:39.979426 98.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller Cost : 1.8 User cost : 0.60000
  1358. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Reseller Call Price Is Cheaper, So We Cannot Allow Call To Process!!
  1359. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 parsing [default->770400404] continue=false
  1360. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Regex (PASS) [770400404] destination_number(770400404) =~ /770400404/ break=on-false
  1361. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action log(WARNING Accountcode . Dialed number (770400404) , Reseller call is priced too cheap! Call being barred!!)
  1362. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(original_caller_id_name=9998988398)
  1363. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(original_caller_id_number=9998988398)
  1364. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(error_cdr=1)
  1365. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(callstart=2022-04-26 13:27:39)
  1366. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(account_id=5)
  1367. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(parent_id=4)
  1368. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(call_direction=outbound)
  1369. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(sip_ignore_remote_cause=true)
  1370. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(call_processed=internal)
  1371. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(effective_destination_number=770400404)
  1372. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action set(last_bridge_hangup_cause=RESELLER_COST_CHEAP)
  1373. Dialplan: sofia/default/9998988398@w07version62.astppbilling.org:5066 Action hangup(RESELLER_COST_CHEAP)
  1374. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_ROUTING -> CS_EXECUTE
  1375. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State ROUTING going to sleep
  1376. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_EXECUTE (Cur 1 Tot 24)
  1377. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State EXECUTE
  1378. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_sofia.c:213 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA EXECUTE
  1379. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard EXECUTE
  1380. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 log(WARNING Accountcode . Dialed number (770400404) , Reseller call is priced too cheap! Call being barred!!)
  1381. 2022-04-26 13:27:39.979426 98.20% [WARNING] mod_dptools.c:1879 Accountcode . Dialed number (770400404) , Reseller call is priced too cheap! Call being barred!!
  1382. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(original_caller_id_name=9998988398)
  1383. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [original_caller_id_name]=[9998988398]
  1384. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(original_caller_id_number=9998988398)
  1385. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [original_caller_id_number]=[9998988398]
  1386. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(error_cdr=1)
  1387. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [error_cdr]=[1]
  1388. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(callstart=2022-04-26 13:27:39)
  1389. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [callstart]=[2022-04-26 13:27:39]
  1390. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(account_id=5)
  1391. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [account_id]=[5]
  1392. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(parent_id=4)
  1393. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [parent_id]=[4]
  1394. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(call_direction=outbound)
  1395. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [call_direction]=[outbound]
  1396. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(sip_ignore_remote_cause=true)
  1397. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [sip_ignore_remote_cause]=[true]
  1398. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(call_processed=internal)
  1399. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [call_processed]=[internal]
  1400. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(effective_destination_number=770400404)
  1401. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [effective_destination_number]=[770400404]
  1402. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 set(last_bridge_hangup_cause=RESELLER_COST_CHEAP)
  1403. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9998988398@w07version62.astppbilling.org:5066 [last_bridge_hangup_cause]=[RESELLER_COST_CHEAP]
  1404. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 hangup(RESELLER_COST_CHEAP)
  1405. 2022-04-26 13:27:39.979426 98.20% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/9998988398@w07version62.astppbilling.org:5066 [CS_EXECUTE] [NORMAL_CLEARING]
  1406. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_session.c:2983 sofia/default/9998988398@w07version62.astppbilling.org:5066 skip receive message [PHONE_EVENT] (channel is hungup already)
  1407. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State EXECUTE going to sleep
  1408. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_HANGUP (Cur 1 Tot 24)
  1409. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Callstate Change RINGING -> HANGUP
  1410. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State HANGUP
  1411. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 hanging up, cause: NORMAL_CLEARING
  1412. 2022-04-26 13:27:39.979426 98.20% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  1413. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard HANGUP, cause: NORMAL_CLEARING
  1414. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State HANGUP going to sleep
  1415. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_HANGUP -> CS_REPORTING
  1416. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_REPORTING (Cur 1 Tot 24)
  1417. 2022-04-26 13:27:39.979426 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State REPORTING
  1418. 2022-04-26 13:27:39.979426 98.20% [INFO] mod_json_cdr.c:271 Process [d8292f12-745c-4c7c-9fd5-11b3af200a05.cdr.json]
  1419. 2022-04-26 13:27:40.039424 98.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard REPORTING, cause: NORMAL_CLEARING
  1420. 2022-04-26 13:27:40.039424 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State REPORTING going to sleep
  1421. 2022-04-26 13:27:40.039424 98.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_REPORTING -> CS_DESTROY
  1422. 2022-04-26 13:27:40.039424 98.20% [DEBUG] switch_core_session.c:1753 Session 24 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Locked, Waiting on external entities
  1423. 2022-04-26 13:27:40.039424 98.20% [NOTICE] switch_core_session.c:1771 Session 24 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Ended
  1424. 2022-04-26 13:27:40.039424 98.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 [CS_DESTROY]
  1425. 2022-04-26 13:27:40.039424 98.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_DESTROY (Cur 0 Tot 24)
  1426. 2022-04-26 13:27:40.039424 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State DESTROY
  1427. 2022-04-26 13:27:40.039424 98.20% [DEBUG] mod_sofia.c:379 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA DESTROY
  1428. 2022-04-26 13:27:40.039424 98.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard DESTROY
  1429. 2022-04-26 13:27:40.039424 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State DESTROY going to sleep
  1430. 2022-04-26 13:27:42.999473 97.73% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  1431. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  1432. and you must configure your device to use the proper domain in its authentication credentials.
  1433. 2022-04-26 13:27:42.999473 97.73% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  1434. 2022-04-26 13:27:52.059451 97.93% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [3f316ad6-4973-434b-acbd-978a0fbd9f37]
  1435. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 25)
  1436. 2022-04-26 13:27:52.059451 97.93% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 83b09f2b-4007-123b-3db3-ba05d31eb9f9
  1437. 2022-04-26 13:27:52.059451 97.93% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  1438. 2022-04-26 13:27:52.059451 97.93% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  1439. 2022-04-26 13:27:52.059451 97.93% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  1440. 2022-04-26 13:27:52.059451 97.93% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  1441. 2022-04-26 13:27:52.059451 97.93% [DEBUG] sofia.c:7509 Remote SDP:
  1442. v=0
  1443. o=FreeSWITCH 1650957149 1650957150 IN IP4 46.101.114.158
  1444. s=FreeSWITCH
  1445. c=IN IP4 46.101.114.158
  1446. t=0 0
  1447. m=audio 22522 RTP/AVP 0 101
  1448. a=rtpmap:0 PCMU/8000
  1449. a=rtpmap:101 telephone-event/8000
  1450. a=fmtp:101 0-16
  1451. a=ptime:20
  1452.  
  1453. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1454. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1455. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1456. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1457. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1458. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  1459. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1460. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  1461. 2022-04-26 13:27:52.059451 97.93% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  1462. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  1463. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 25)
  1464. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  1465. 2022-04-26 13:27:52.059451 97.93% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  1466. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  1467. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  1468. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  1469. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 25)
  1470. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  1471. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  1472. 2022-04-26 13:27:52.059451 97.93% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  1473. 2022-04-26 13:27:52.059451 97.93% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  1474. 2022-04-26 13:27:52.059451 97.93% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  1475. 2022-04-26 13:27:52.059451 97.93% [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')
  1476. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1477. 2022-04-26 13:27:52.079421 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1478. 2022-04-26 13:27:52.079421 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7701111
  1479. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7701111' limit 1
  1480. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7701111' AND status=0 limit 1
  1481. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7701111' and status=0 LIMIT 1
  1482. 2022-04-26 13:27:52.079421 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault
  1483. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1484. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '3.7.66.233' limit 1
  1485. 2022-04-26 13:27:52.079421 97.93% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1486. 2022-04-26 13:27:52.079421 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8871343676 / <null>
  1487. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1
  1488. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770111 AND status=0 limit 1
  1489. 2022-04-26 13:27:52.079421 97.93% [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 ="7701111" LIMIT 1
  1490. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1491. 2022-04-26 13:27:52.079421 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  1492. 2022-04-26 13:27:52.079421 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 46.101.114.158
  1493. 2022-04-26 13:27:52.079421 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7073582043]
  1494. 2022-04-26 13:27:52.079421 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7073582043" AND deleted = 0 limit 1
  1495. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  1496. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7701111" AND (accountid = 0 OR status = 1) LIMIT 1
  1497. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  1498. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  1499. 2022-04-26 13:27:52.099423 97.93% [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 = '^7701111.*' OR patterns = '^770111.*' OR patterns = '^77011.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1500. 2022-04-26 13:27:52.099423 97.93% [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 ="7701111" AND A.accountid = '9' limit 1
  1501. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7701111
  1502. 2022-04-26 13:27:52.099423 97.93% [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 ="7701111" LIMIT 1
  1503. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1504. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  1505. 2022-04-26 13:27:52.099423 97.93% [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 = '7701111' OR number = '770111' OR number = '77011' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7701111*' OR number = '770111*' OR number = '77011*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1506. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1507. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7701111' OR routing_prefix = '770111' OR routing_prefix = '77011' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1508. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1509. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  1510. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7073582043
  1511. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  1512. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11.3834
  1513. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1514. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  1515. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1516. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1517. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1518. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  1519. 2022-04-26 13:27:52.099423 97.93% [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 ="7701111" LIMIT 1
  1520. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1521. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  1522. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  1523. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  1524. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  1525. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  1526. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  1527. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  1528. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  1529. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.27
  1530. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  1531. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  1532. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0
  1533. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1534. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  1535. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1536. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1537. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  1538. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 7701111
  1539. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  1540. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  1541. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1542. 2022-04-26 13:27:52.099423 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  1543. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  1544. 2022-04-26 13:27:52.099423 97.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1545. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1546. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  1547. 2022-04-26 13:27:52.099423 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  1548. 2022-04-26 13:27:52.099423 97.93% [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 = 9 AND status=0 LIMIT 1
  1549. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  1550. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1551. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1552. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1553. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7701111.*' OR pattern = '^770111.*' OR pattern = '^77011.*' OR pattern = '^7701.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^<null>.*' OR caller_id_pattern = '^<null.*' OR caller_id_pattern = '^<nul.*' OR caller_id_pattern = '^<nu.*' OR caller_id_pattern = '^<n.*' OR caller_id_pattern = '^<.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  1554. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1555. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  1556. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  1557. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  1558. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  1559. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  1560. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  1561. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  1562. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.27
  1563. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  1564. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  1565. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  1566. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1567. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  1568. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1569. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1570. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  1571. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  1572. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  1573. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  1574. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1575. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1576. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1577. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  1578. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  1579. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  1580. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  1581. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  1582. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  1583. 2022-04-26 13:27:52.119420 97.93% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : w07version62.astppbilling.org
  1584. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1585. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1586. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1587. 2022-04-26 13:27:52.119420 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  1588. 2022-04-26 13:27:52.119420 97.93% [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 = "9998988398" AND accounts.status = 0
  1589. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  1590. 2022-04-26 13:27:52.119420 97.93% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : w07version62.astppbilling.org
  1591. 2022-04-26 13:27:52.119420 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  1592. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  1593. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9998988398' and accountid = '5'LIMIT 1
  1594. 2022-04-26 13:27:52.139471 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9998988398
  1595. 2022-04-26 13:27:52.139471 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  1596. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9998988398' and accountid = '5'LIMIT 1
  1597. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  1598. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  1599. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  1600. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998988398"  AND domains.domain="w07version62.astppbilling.org" limit 1
  1601. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 5 limit 1
  1602. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  1603. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  1604. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  1605. 2022-04-26 13:27:52.139471 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC11]
  1606. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998988398"  AND domains.domain="w07version62.astppbilling.org" limit 1
  1607. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998988398"  AND domains.domain="w07version62.astppbilling.org" limit 1
  1608. 2022-04-26 13:27:52.139471 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 5
  1609. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 5 limit 1
  1610. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  1611. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  1612. 2022-04-26 13:27:52.139471 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  1613. 2022-04-26 13:27:52.139471 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  1614. 2022-04-26 13:27:52.139471 97.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  1615. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998988398"  AND domains.domain="w07version62.astppbilling.org" limit 1
  1616. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  1617. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998988398"  AND domains.domain="w07version62.astppbilling.org" limit 1
  1618. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 5 limit 1
  1619. 2022-04-26 13:27:52.139471 97.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1620. <document type="freeswitch/xml">
  1621. <section name="dialplan" description="ASTPP Dialplan">
  1622. <context name="default">
  1623. <extension name="7701111">
  1624. <condition field="destination_number" expression="7701111">
  1625. <action application="set" data="effective_destination_number=7701111"/>
  1626. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1627. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1628. <action application="set" data="callstart=2022-04-26 13:27:52"/>
  1629. <action application="set" data="hangup_after_bridge=true"/>
  1630. <action application="set" data="continue_on_fail=TRUE"/>
  1631. <action application="set" data="account_id=9"/>
  1632. <action application="set" data="parent_id=0"/>
  1633. <action application="set" data="entity_id=3"/>
  1634. <action application="set" data="call_processed=internal"/>
  1635. <action application="set" data="call_direction=inbound"/>
  1636. <action application="set" data="accountname=default"/>
  1637. <action application="set" data="filename1=astpp.pbx.lua"/>
  1638. <action application="set" data="origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5"/>
  1639. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9"/>
  1640. <action application="set" data="original_caller_id_name=8871343676"/>
  1641. <action application="set" data="effective_caller_id_name=8871343676"/>
  1642. <action application="set" data="receiver_accid=5"/>
  1643. <action application="export" data="domain_name=w07version62.astppbilling.org"/>
  1644. <action application="export" data="sip_to_host=w07version62.astppbilling.org"/>
  1645. <action application="export" data="presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158"/>
  1646. <action application="export" data="call_type=0"/>
  1647. <action application="set" data="calltype=DID-LOCAL"/>
  1648. <action application="db" data="insert/pickup_any_group_${callgroup}/9998988398/${uuid}"/>
  1649. <action application="set" data="dialed_extension=transfer_call"/>
  1650. <action application="export" data="dialed_extension=transfer_call"/>
  1651. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  1652. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  1653. <action application="set" data="hangup_after_bridge=true"/>
  1654. <action application="export" data="did_user_domain=w07version62.astppbilling.org"/>
  1655. <action application="set" data="sip_h_X-call-type=did"/>
  1656. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  1657. <action application="db" data="insert/pickup_any_group_${callgroup}/9998988398/${uuid}"/>
  1658. <action application="set" data="dialed_extension=transfer_call"/>
  1659. <action application="export" data="dialed_extension=transfer_call"/>
  1660. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  1661. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  1662. <action application="set" data="transfer_ringback=$${hold_music}"/>
  1663. <action application="set" data="hangup_after_bridge=true"/>
  1664. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/${sofia_profile_name}/9998988398@w07version62.astppbilling.org:5066"/>
  1665. <action application="set" data="on_busy_flag=1"/>
  1666. <action application="set" data="on_busy_destination="/>
  1667. <action application="set" data="no_answer_flag=1"/>
  1668. <action application="set" data="no_answer_destination="/>
  1669. <action application="set" data="not_register_flag=1"/>
  1670. <action application="set" data="not_register_destination="/>
  1671. <action application="set" data="opensips_flag=0"/>
  1672. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  1673. <action application="set" data="opensips_domain=172.31.14.218"/>
  1674. <action application="set" data="leg_timeout=20"/>
  1675. <action application="set" data="userinfo_id=5"/>
  1676. <action application="set" data="sip_destination_number=9998988398"/>
  1677. <action application="set" data="did_number=9998988398"/>
  1678. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  1679. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  1680. <action application="set" data="on_busy_flag=1"/>
  1681. <action application="set" data="on_busy_destination="/>
  1682. <action application="set" data="no_answer_flag=1"/>
  1683. <action application="set" data="no_answer_destination="/>
  1684. <action application="set" data="not_register_flag=1"/>
  1685. <action application="set" data="not_register_destination="/>
  1686. <action application="set" data="opensips_flag=0"/>
  1687. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  1688. <action application="set" data="opensips_domain=172.31.14.218"/>
  1689. <action application="set" data="leg_timeout=20"/>
  1690. <action application="set" data="userinfo_id=5"/>
  1691. <action application="set" data="sip_destination_number=9998988398"/>
  1692. <action application="set" data="destination_number=9998988398"/>
  1693. <action application="set" data="did_number=7701111"/>
  1694. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  1695. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  1696. <condition field="${cond(${user_data 9998988398@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  1697. <action application="answer"/>
  1698. <action application="export" data="voicemail_alternate_greet_id=9998988398"/>
  1699. <action application="voicemail" data="default $${domain_name} 9998988398"/>
  1700. <anti-action application="hangup" data="${originate_disposition}"/>
  1701. </condition>
  1702. </condition>
  1703. </extension>
  1704. </context>
  1705. </section>
  1706. </document>
  1707. Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->7701111] continue=false
  1708. Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [7701111] destination_number(7701111) =~ /7701111/ break=on-false
  1709. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=7701111)
  1710. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1711. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1712. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-26 13:27:52)
  1713. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  1714. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE)
  1715. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=9)
  1716. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0)
  1717. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3)
  1718. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal)
  1719. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound)
  1720. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=default)
  1721. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(filename1=astpp.pbx.lua)
  1722. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  1723. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  1724. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=8871343676)
  1725. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=8871343676)
  1726. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5)
  1727. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=w07version62.astppbilling.org)
  1728. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=w07version62.astppbilling.org)
  1729. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  1730. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=0)
  1731. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(calltype=DID-LOCAL)
  1732. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998988398/${uuid})
  1733. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  1734. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  1735. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1736. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1737. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  1738. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(did_user_domain=w07version62.astppbilling.org)
  1739. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_h_X-call-type=did)
  1740. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_h_X-did-call-type=DID-LOCAL)
  1741. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998988398/${uuid})
  1742. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  1743. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  1744. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1745. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1746. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  1747. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  1748. Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/${sofia_profile_name}/9998988398@w07version62.astppbilling.org:5066)
  1749. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  1750. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  1751. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  1752. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  1753. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  1754. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  1755. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=0)
  1756. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  1757. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  1758. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  1759. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  1760. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998988398)
  1761. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=9998988398)
  1762. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  1763. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  1764. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  1765. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  1766. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  1767. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  1768. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  1769. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  1770. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=0)
  1771. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  1772. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  1773. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  1774. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  1775. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998988398)
  1776. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(destination_number=9998988398)
  1777. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=7701111)
  1778. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  1779. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  1780. |--- Dialplan: Processing recursive conditions level:1 [7701111_recur_1] require-nested=TRUE
  1781. |--- Dialplan: sofia/default/8871343676@46.101.114.158 Regex (FAIL) [7701111_recur_1] ${cond(${user_data 9998988398@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  1782. |--- Dialplan: sofia/default/8871343676@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  1783. 2022-04-26 13:27:52.159450 97.93% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  1784. 2022-04-26 13:27:52.159450 97.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  1785. 2022-04-26 13:27:52.159450 97.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 25)
  1786. 2022-04-26 13:27:52.159450 97.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE
  1787. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE
  1788. 2022-04-26 13:27:52.159450 97.93% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE
  1789. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=7701111)
  1790. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[7701111]
  1791. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  1792. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1793. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1794. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1795. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-26 13:27:52)
  1796. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-26 13:27:52]
  1797. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  1798. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  1799. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE)
  1800. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE]
  1801. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=9)
  1802. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[9]
  1803. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0)
  1804. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0]
  1805. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3)
  1806. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3]
  1807. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal)
  1808. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal]
  1809. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound)
  1810. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound]
  1811. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=default)
  1812. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[default]
  1813. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(filename1=astpp.pbx.lua)
  1814. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [filename1]=[astpp.pbx.lua]
  1815. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  1816. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5]
  1817. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  1818. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9]
  1819. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=8871343676)
  1820. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[8871343676]
  1821. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=8871343676)
  1822. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[8871343676]
  1823. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5)
  1824. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5]
  1825. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=w07version62.astppbilling.org)
  1826. 2022-04-26 13:27:52.159450 97.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[w07version62.astppbilling.org]
  1827. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=w07version62.astppbilling.org)
  1828. 2022-04-26 13:27:52.159450 97.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[w07version62.astppbilling.org]
  1829. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  1830. 2022-04-26 13:27:52.159450 97.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158]
  1831. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=0)
  1832. 2022-04-26 13:27:52.159450 97.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  1833. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(calltype=DID-LOCAL)
  1834. 2022-04-26 13:27:52.159450 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [calltype]=[DID-LOCAL]
  1835. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998988398/3f316ad6-4973-434b-acbd-978a0fbd9f37)
  1836. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  1837. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  1838. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  1839. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  1840. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1841. 2022-04-26 13:27:52.179424 97.93% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  1842. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1843. 2022-04-26 13:27:52.179424 97.93% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  1844. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  1845. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  1846. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(did_user_domain=w07version62.astppbilling.org)
  1847. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[w07version62.astppbilling.org]
  1848. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_h_X-call-type=did)
  1849. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_h_X-call-type]=[did]
  1850. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_h_X-did-call-type=DID-LOCAL)
  1851. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_h_X-did-call-type]=[DID-LOCAL]
  1852. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998988398/3f316ad6-4973-434b-acbd-978a0fbd9f37)
  1853. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  1854. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  1855. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  1856. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  1857. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1858. 2022-04-26 13:27:52.179424 97.93% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  1859. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1860. 2022-04-26 13:27:52.179424 97.93% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  1861. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_ringback=local_stream://moh)
  1862. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  1863. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  1864. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  1865. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/default/9998988398@w07version62.astppbilling.org:5066)
  1866. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version62.astppbilling.org] to event
  1867. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version62.astppbilling.org] to event
  1868. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  1869. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  1870. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  1871. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[w07version62.astppbilling.org] to event
  1872. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  1873. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1874. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1875. 2022-04-26 13:27:52.179424 97.93% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 [3d1ba207-2af9-45a3-8749-dfb7fb46ec7f]
  1876. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_sofia.c:5121 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_NEW -> CS_INIT
  1877. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998988398@w07version62.astppbilling.org:5066 Setting leg timeout to 20
  1878. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_INIT (Cur 2 Tot 26)
  1879. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State INIT
  1880. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_sofia.c:97 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA INIT
  1881. 2022-04-26 13:27:52.179424 97.93% [INFO] sofia_glue.c:1651 sofia/default/9998988398@w07version62.astppbilling.org:5066 sending invite call-id: (null)
  1882. 2022-04-26 13:27:52.179424 97.93% [DEBUG] sofia_glue.c:1654 sofia/default/9998988398@w07version62.astppbilling.org:5066 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1883. Local SDP:
  1884. v=0
  1885. o=FreeSWITCH 1650959164 1650959165 IN IP4 172.31.14.218
  1886. s=FreeSWITCH
  1887. c=IN IP4 172.31.14.218
  1888. t=0 0
  1889. m=audio 20508 RTP/AVP 0 101
  1890. a=rtpmap:0 PCMU/8000
  1891. a=rtpmap:101 telephone-event/8000
  1892. a=fmtp:101 0-15
  1893. a=ptime:20
  1894. a=sendrecv
  1895.  
  1896. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard INIT
  1897. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_INIT -> CS_ROUTING
  1898. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State INIT going to sleep
  1899. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_ROUTING (Cur 2 Tot 26)
  1900. 2022-04-26 13:27:52.179424 97.93% [DEBUG] sofia.c:7499 Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 entering state [calling][0]
  1901. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State ROUTING
  1902. 2022-04-26 13:27:52.179424 97.93% [DEBUG] mod_sofia.c:158 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA ROUTING
  1903. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1904. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State ROUTING going to sleep
  1905. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 26)
  1906. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State CONSUME_MEDIA
  1907. 2022-04-26 13:27:52.179424 97.93% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State CONSUME_MEDIA going to sleep
  1908. 2022-04-26 13:27:53.339451 97.47% [DEBUG] sofia.c:7499 Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 entering state [proceeding][180]
  1909. 2022-04-26 13:27:53.339451 97.47% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/9998988398@w07version62.astppbilling.org:5066!
  1910. 2022-04-26 13:27:53.359420 97.47% [DEBUG] switch_channel.c:3494 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Callstate Change DOWN -> RINGING
  1911. 2022-04-26 13:27:53.359420 97.47% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/8871343676@46.101.114.158!
  1912. 2022-04-26 13:27:53.359420 97.47% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [early][180]
  1913. 2022-04-26 13:27:53.359420 97.47% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/8871343676@46.101.114.158!
  1914. 2022-04-26 13:27:55.599425 97.40% [DEBUG] sofia.c:7499 Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 entering state [completing][200]
  1915. 2022-04-26 13:27:55.599425 97.40% [DEBUG] sofia.c:7509 Remote SDP:
  1916. v=0
  1917. o=Z 0 2 IN IP4 117.247.91.162
  1918. s=Z
  1919. c=IN IP4 117.247.91.162
  1920. t=0 0
  1921. m=audio 8002 RTP/AVP 0 3 110 8 97 101
  1922. a=rtpmap:110 speex/8000
  1923. a=rtpmap:97 iLBC/8000
  1924. a=fmtp:97 mode=30
  1925. a=rtpmap:101 telephone-event/8000
  1926. a=fmtp:101 0-16
  1927.  
  1928. 2022-04-26 13:27:55.599425 97.40% [DEBUG] sofia.c:7499 Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 entering state [ready][200]
  1929. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1930. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1931. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  1932. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  1933. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1934. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  1935. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1936. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9998988398@w07version62.astppbilling.org:5066 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1937. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_codec.c:111 sofia/default/9998988398@w07version62.astppbilling.org:5066 Original read codec set to PCMU:0
  1938. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1939. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:5973 sofia/default/9998988398@w07version62.astppbilling.org:5066 Set 2833 dtmf send payload to 101 recv payload to 101
  1940. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9998988398@w07version62.astppbilling.org:5066] 172.31.14.218 port 20508 -> 117.247.91.162 port 8002 codec: 0 ms: 20
  1941. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1942. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:9089 sofia/default/9998988398@w07version62.astppbilling.org:5066 Set 2833 dtmf send payload to 101
  1943. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:9096 sofia/default/9998988398@w07version62.astppbilling.org:5066 Set 2833 dtmf receive payload to 101
  1944. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:9119 sofia/default/9998988398@w07version62.astppbilling.org:5066 Set rtp dtmf delay to 40
  1945. 2022-04-26 13:27:55.599425 97.40% [NOTICE] sofia.c:8683 Channel [sofia/default/9998988398@w07version62.astppbilling.org:5066] has been answered
  1946. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_channel.c:3950 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Callstate Change RINGING -> ACTIVE
  1947. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/8871343676@46.101.114.158] 172.31.14.218 port 24590 -> 46.101.114.158 port 22522 codec: 0 ms: 20
  1948. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1949. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:9089 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101
  1950. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:9096 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf receive payload to 101
  1951. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_core_media.c:9119 sofia/default/8871343676@46.101.114.158 Set rtp dtmf delay to 40
  1952. 2022-04-26 13:27:55.599425 97.40% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/8871343676@46.101.114.158:
  1953. v=0
  1954. o=FreeSWITCH 1650955085 1650955086 IN IP4 172.31.14.218
  1955. s=FreeSWITCH
  1956. c=IN IP4 172.31.14.218
  1957. t=0 0
  1958. m=audio 24590 RTP/AVP 0 101
  1959. a=rtpmap:0 PCMU/8000
  1960. a=rtpmap:101 telephone-event/8000
  1961. a=fmtp:101 0-15
  1962. a=ptime:20
  1963. a=sendrecv
  1964.  
  1965. 2022-04-26 13:27:55.599425 97.40% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [completed][200]
  1966. 2022-04-26 13:27:55.599425 97.40% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/8871343676@46.101.114.158] has been answered
  1967. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_channel.c:3950 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> ACTIVE
  1968. 2022-04-26 13:27:55.599425 97.40% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/9998988398@w07version62.astppbilling.org:5066] Peer UUID: 3d1ba207-2af9-45a3-8749-dfb7fb46ec7f
  1969. 2022-04-26 13:27:55.619422 97.40% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1970. 2022-04-26 13:27:55.619422 97.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 26)
  1971. 2022-04-26 13:27:55.619422 97.40% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State EXCHANGE_MEDIA
  1972. 2022-04-26 13:27:55.619422 97.40% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1973. 2022-04-26 13:27:55.659445 97.40% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1974. 2022-04-26 13:27:55.739443 97.40% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [ready][200]
  1975. 2022-04-26 13:27:55.799451 97.40% [DEBUG] switch_ivr_bridge.c:655 sofia/default/9998988398@w07version62.astppbilling.org:5066 Bridge execute app sched_hangup(+6000 normal_clearing)
  1976. 2022-04-26 13:27:55.819428 97.40% [DEBUG] switch_ivr.c:632 sofia/default/9998988398@w07version62.astppbilling.org:5066 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1977. EXECUTE [depth=0] sofia/default/9998988398@w07version62.astppbilling.org:5066 sched_hangup(+6000 normal_clearing)
  1978. 2022-04-26 13:27:55.819428 97.40% [DEBUG] switch_scheduler.c:263 Added task 8 switch_ivr_schedule_hangup (3d1ba207-2af9-45a3-8749-dfb7fb46ec7f) to run at 1650985675
  1979. 2022-04-26 13:27:58.119470 97.23% [NOTICE] sofia.c:1065 Hangup sofia/default/9998988398@w07version62.astppbilling.org:5066 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1980. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9998988398@w07version62.astppbilling.org:5066]
  1981. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State EXCHANGE_MEDIA going to sleep
  1982. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_HANGUP (Cur 2 Tot 26)
  1983. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Callstate Change ACTIVE -> HANGUP
  1984. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State HANGUP
  1985. 2022-04-26 13:27:58.119470 97.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 hanging up, cause: NORMAL_CLEARING
  1986. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard HANGUP, cause: NORMAL_CLEARING
  1987. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State HANGUP going to sleep
  1988. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_HANGUP -> CS_REPORTING
  1989. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_REPORTING (Cur 2 Tot 26)
  1990. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State REPORTING
  1991. 2022-04-26 13:27:58.119470 97.23% [INFO] mod_json_cdr.c:271 Process [3d1ba207-2af9-45a3-8749-dfb7fb46ec7f.cdr.json]
  1992. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/8871343676@46.101.114.158]
  1993. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/9998988398@w07version62.astppbilling.org:5066 skip receive message [UNBRIDGE] (channel is hungup already)
  1994. 2022-04-26 13:27:58.119470 97.23% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  1995. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  1996. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep
  1997. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 26)
  1998. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  1999. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  2000. 2022-04-26 13:27:58.119470 97.23% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 480 with 200 from the other leg
  2001. 2022-04-26 13:27:58.119470 97.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  2002. 2022-04-26 13:27:58.119470 97.23% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/8871343676@46.101.114.158
  2003. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  2004. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  2005. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  2006. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 26)
  2007. 2022-04-26 13:27:58.119470 97.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  2008. 2022-04-26 13:27:58.119470 97.23% [INFO] mod_json_cdr.c:271 Process [3f316ad6-4973-434b-acbd-978a0fbd9f37.cdr.json]
  2009. 2022-04-26 13:27:58.139426 97.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard REPORTING, cause: NORMAL_CLEARING
  2010. 2022-04-26 13:27:58.139426 97.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State REPORTING going to sleep
  2011. 2022-04-26 13:27:58.139426 97.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State Change CS_REPORTING -> CS_DESTROY
  2012. 2022-04-26 13:27:58.139426 97.23% [DEBUG] switch_core_session.c:1753 Session 26 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Locked, Waiting on external entities
  2013. 2022-04-26 13:27:58.139426 97.23% [NOTICE] switch_core_session.c:1771 Session 26 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Ended
  2014. 2022-04-26 13:27:58.139426 97.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998988398@w07version62.astppbilling.org:5066 [CS_DESTROY]
  2015. 2022-04-26 13:27:58.139426 97.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998988398@w07version62.astppbilling.org:5066) Running State Change CS_DESTROY (Cur 1 Tot 26)
  2016. 2022-04-26 13:27:58.139426 97.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State DESTROY
  2017. 2022-04-26 13:27:58.139426 97.23% [DEBUG] mod_sofia.c:379 sofia/default/9998988398@w07version62.astppbilling.org:5066 SOFIA DESTROY
  2018. 2022-04-26 13:27:58.139426 97.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998988398@w07version62.astppbilling.org:5066 Standard DESTROY
  2019. 2022-04-26 13:27:58.139426 97.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998988398@w07version62.astppbilling.org:5066) State DESTROY going to sleep
  2020. 2022-04-26 13:27:58.159423 97.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  2021. 2022-04-26 13:27:58.159423 97.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  2022. 2022-04-26 13:27:58.159423 97.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  2023. 2022-04-26 13:27:58.159423 97.23% [DEBUG] switch_core_session.c:1753 Session 25 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  2024. 2022-04-26 13:27:58.159423 97.23% [NOTICE] switch_core_session.c:1771 Session 25 (sofia/default/8871343676@46.101.114.158) Ended
  2025. 2022-04-26 13:27:58.159423 97.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  2026. 2022-04-26 13:27:58.159423 97.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 26)
  2027. 2022-04-26 13:27:58.159423 97.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  2028. 2022-04-26 13:27:58.159423 97.23% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  2029. 2022-04-26 13:27:58.159423 97.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  2030. 2022-04-26 13:27:58.159423 97.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  2031. 2022-04-26 13:27:58.319422 97.23% [DEBUG] switch_scheduler.c:147 Deleting task 8 switch_ivr_schedule_hangup (3d1ba207-2af9-45a3-8749-dfb7fb46ec7f)
  2032. freeswitch@ip-172-31-14-218>
  2033. freeswitch@ip-172-31-14-218>
  2034. freeswitch@ip-172-31-14-218>
  2035. freeswitch@ip-172-31-14-218>
  2036. freeswitch@ip-172-31-14-218> /exit
  2037.  
  2038. root@ip-172-31-14-218:/usr/share/freeswitch#
  2039. root@ip-172-31-14-218:/usr/share/freeswitch#
  2040. root@ip-172-31-14-218:/usr/share/freeswitch#
  2041. root@ip-172-31-14-218:/usr/share/freeswitch#
  2042. root@ip-172-31-14-218:/usr/share/freeswitch#
  2043. root@ip-172-31-14-218:/usr/share/freeswitch#
  2044. root@ip-172-31-14-218:/usr/share/freeswitch#
  2045. You have new mail in /var/mail/root
  2046. root@ip-172-31-14-218:/usr/share/freeswitch#
  2047. root@ip-172-31-14-218:/usr/share/freeswitch#
  2048. root@ip-172-31-14-218:/usr/share/freeswitch#
  2049. root@ip-172-31-14-218:/usr/share/freeswitch#
  2050. root@ip-172-31-14-218:/usr/share/freeswitch#
  2051. root@ip-172-31-14-218:/usr/share/freeswitch#
  2052. root@ip-172-31-14-218:/usr/share/freeswitch#
  2053. root@ip-172-31-14-218:/usr/share/freeswitch#
  2054. root@ip-172-31-14-218:/usr/share/freeswitch#
  2055. root@ip-172-31-14-218:/usr/share/freeswitch# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  2056. .=======================================================.
  2057. |            _____ ____     ____ _     ___              |
  2058. |           |  ___/ ___|   / ___| |   |_ _|             |
  2059. |           | |_  \___ \  | |   | |    | |              |
  2060. |           |  _|  ___) | | |___| |___ | |              |
  2061. |           |_|   |____/   \____|_____|___|             |
  2062. |                                                       |
  2063. .=======================================================.
  2064. | Anthony Minessale II, Ken Rice,                       |
  2065. | Michael Jerris, Travis Cross                          |
  2066. | FreeSWITCH (http://www.freeswitch.org)                |
  2067. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  2068. | Brought to you by ClueCon http://www.cluecon.com/     |
  2069. .=======================================================.
  2070.  
  2071. .=======================================================================================================.
  2072. |       _                            _    ____ _             ____                                       |
  2073. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  2074. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  2075. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  2076. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  2077. |                                                                                                       |
  2078. |    ____ _____ ____    ____             __                                                             |
  2079. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  2080. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  2081. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  2082. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  2083. |                                                                                                       |
  2084. |     ____ _             ____                                                                           |
  2085. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  2086. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  2087. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  2088. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  2089. |                                                                                                       |
  2090. .=======================================================================================================.
  2091.  
  2092. Type /help <enter> to see a list of commands
  2093.  
  2094.  
  2095.  
  2096.  
  2097. [This app Best viewed at 160x60 or more..]
  2098. +OK log level  [7]
  2099. freeswitch@ip-172-31-14-218>
  2100. freeswitch@ip-172-31-14-218>
  2101. freeswitch@ip-172-31-14-218>
  2102. freeswitch@ip-172-31-14-218>
  2103. freeswitch@ip-172-31-14-218>
  2104. freeswitch@ip-172-31-14-218>
  2105. freeswitch@ip-172-31-14-218>
  2106. freeswitch@ip-172-31-14-218>
  2107. freeswitch@ip-172-31-14-218>
  2108. freeswitch@ip-172-31-14-218>
  2109. freeswitch@ip-172-31-14-218>
  2110. freeswitch@ip-172-31-14-218>
  2111. freeswitch@ip-172-31-14-218>
  2112. freeswitch@ip-172-31-14-218>
  2113. freeswitch@ip-172-31-14-218>
  2114. freeswitch@ip-172-31-14-218>
  2115. freeswitch@ip-172-31-14-218>
  2116. freeswitch@ip-172-31-14-218>
  2117. freeswitch@ip-172-31-14-218>
  2118. freeswitch@ip-172-31-14-218>
  2119. 2022-04-26 13:42:23.379428 95.03% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  2120. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  2121. and you must configure your device to use the proper domain in its authentication credentials.
  2122. 2022-04-26 13:42:23.379428 95.03% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  2123. 2022-04-26 13:42:44.479434 98.67% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  2124. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  2125. and you must configure your device to use the proper domain in its authentication credentials.
  2126. 2022-04-26 13:42:44.479434 98.67% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  2127. 2022-04-26 13:43:05.579429 92.23% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  2128. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  2129. and you must configure your device to use the proper domain in its authentication credentials.
  2130. 2022-04-26 13:43:05.579429 92.23% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  2131. 2022-04-26 13:43:27.659429 93.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  2132. 2022-04-26 13:43:27.699457 93.00% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  2133. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  2134. and you must configure your device to use the proper domain in its authentication credentials.
  2135. 2022-04-26 13:43:27.699457 93.00% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  2136. 2022-04-26 13:43:48.799437 98.90% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  2137. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  2138. and you must configure your device to use the proper domain in its authentication credentials.
  2139. 2022-04-26 13:43:48.799437 98.90% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  2140. 2022-04-26 13:44:09.899440 94.37% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  2141. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  2142. and you must configure your device to use the proper domain in its authentication credentials.
  2143. 2022-04-26 13:44:09.899440 94.37% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  2144. 2022-04-26 13:44:31.999453 94.70% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  2145. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  2146. and you must configure your device to use the proper domain in its authentication credentials.
  2147. 2022-04-26 13:44:31.999453 94.70% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  2148. freeswitch@ip-172-31-14-218>
  2149. freeswitch@ip-172-31-14-218>
  2150. freeswitch@ip-172-31-14-218>
  2151. freeswitch@ip-172-31-14-218>
  2152. freeswitch@ip-172-31-14-218>
  2153. freeswitch@ip-172-31-14-218>
  2154. freeswitch@ip-172-31-14-218>
  2155. freeswitch@ip-172-31-14-218>
  2156. freeswitch@ip-172-31-14-218>
  2157. freeswitch@ip-172-31-14-218>
  2158. freeswitch@ip-172-31-14-218>
  2159. freeswitch@ip-172-31-14-218>
  2160. freeswitch@ip-172-31-14-218>
  2161. freeswitch@ip-172-31-14-218>
  2162. 2022-04-26 13:44:39.519428 98.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [7b53307e-a2bb-4b3f-8633-15a8db48a23e]
  2163. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 29)
  2164. 2022-04-26 13:44:39.519428 98.90% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: dc2ecaf0-4009-123b-3db3-ba05d31eb9f9
  2165. 2022-04-26 13:44:39.519428 98.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  2166. 2022-04-26 13:44:39.519428 98.90% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  2167. 2022-04-26 13:44:39.519428 98.90% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  2168. 2022-04-26 13:44:39.519428 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  2169. 2022-04-26 13:44:39.519428 98.90% [DEBUG] sofia.c:7509 Remote SDP:
  2170. v=0
  2171. o=FreeSWITCH 1650947421 1650947422 IN IP4 46.101.114.158
  2172. s=FreeSWITCH
  2173. c=IN IP4 46.101.114.158
  2174. t=0 0
  2175. m=audio 33258 RTP/AVP 0 101
  2176. a=rtpmap:0 PCMU/8000
  2177. a=rtpmap:101 telephone-event/8000
  2178. a=fmtp:101 0-16
  2179. a=ptime:20
  2180.  
  2181. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2182. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2183. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2184. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2185. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  2186. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  2187. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2188. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  2189. 2022-04-26 13:44:39.519428 98.90% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  2190. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  2191. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 29)
  2192. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  2193. 2022-04-26 13:44:39.519428 98.90% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  2194. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  2195. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  2196. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  2197. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 29)
  2198. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  2199. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  2200. 2022-04-26 13:44:39.519428 98.90% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  2201. 2022-04-26 13:44:39.519428 98.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  2202. 2022-04-26 13:44:39.519428 98.90% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  2203. 2022-04-26 13:44:39.539421 98.90% [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')
  2204. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2205. 2022-04-26 13:44:39.539421 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  2206. 2022-04-26 13:44:39.539421 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7701111
  2207. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7701111' limit 1
  2208. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7701111' AND status=0 limit 1
  2209. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7701111' and status=0 LIMIT 1
  2210. 2022-04-26 13:44:39.539421 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault
  2211. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2212. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '3.7.66.233' limit 1
  2213. 2022-04-26 13:44:39.539421 98.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  2214. 2022-04-26 13:44:39.539421 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8871343676 / <null>
  2215. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1
  2216. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770111 AND status=0 limit 1
  2217. 2022-04-26 13:44:39.539421 98.90% [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 ="7701111" LIMIT 1
  2218. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  2219. 2022-04-26 13:44:39.539421 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2220. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  2221. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 46.101.114.158
  2222. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7073582043]
  2223. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7073582043" AND deleted = 0 limit 1
  2224. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  2225. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7701111" AND (accountid = 0 OR status = 1) LIMIT 1
  2226. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  2227. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  2228. 2022-04-26 13:44:39.559424 98.90% [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 = '^7701111.*' OR patterns = '^770111.*' OR patterns = '^77011.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2229. 2022-04-26 13:44:39.559424 98.90% [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 ="7701111" AND A.accountid = '9' limit 1
  2230. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7701111
  2231. 2022-04-26 13:44:39.559424 98.90% [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 ="7701111" LIMIT 1
  2232. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  2233. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2234. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  2235. 2022-04-26 13:44:39.559424 98.90% [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 = '7701111' OR number = '770111' OR number = '77011' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7701111*' OR number = '770111*' OR number = '77011*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  2236. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  2237. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7701111' OR routing_prefix = '770111' OR routing_prefix = '77011' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  2238. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  2239. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  2240. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7073582043
  2241. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  2242. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11.3834
  2243. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2244. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  2245. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  2246. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  2247. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2248. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  2249. 2022-04-26 13:44:39.559424 98.90% [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 ="7701111" LIMIT 1
  2250. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  2251. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2252. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  2253. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  2254. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  2255. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  2256. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  2257. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  2258. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  2259. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  2260. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.44
  2261. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  2262. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  2263. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0
  2264. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2265. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  2266. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2267. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2268. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  2269. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 7701111
  2270. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  2271. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  2272. 2022-04-26 13:44:39.559424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2273. 2022-04-26 13:44:39.559424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  2274. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  2275. 2022-04-26 13:44:39.579424 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  2276. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  2277. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  2278. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  2279. 2022-04-26 13:44:39.579424 98.90% [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 = 9 AND status=0 LIMIT 1
  2280. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  2281. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2282. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  2283. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2284. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7701111.*' OR pattern = '^770111.*' OR pattern = '^77011.*' OR pattern = '^7701.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^<null>.*' OR caller_id_pattern = '^<null.*' OR caller_id_pattern = '^<nul.*' OR caller_id_pattern = '^<nu.*' OR caller_id_pattern = '^<n.*' OR caller_id_pattern = '^<.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  2285. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  2286. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  2287. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  2288. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  2289. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  2290. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  2291. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  2292. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  2293. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.44
  2294. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  2295. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  2296. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  2297. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2298. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  2299. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2300. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2301. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  2302. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  2303. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  2304. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  2305. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  2306. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  2307. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2308. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  2309. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  2310. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  2311. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  2312. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  2313. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  2314. 2022-04-26 13:44:39.579424 98.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : w07version62.astppbilling.org
  2315. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  2316. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2317. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2318. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  2319. 2022-04-26 13:44:39.579424 98.90% [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 = "9998988398" AND accounts.status = 0
  2320. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  2321. 2022-04-26 13:44:39.579424 98.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : w07version62.astppbilling.org
  2322. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  2323. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  2324. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9998988398' and accountid = '5'LIMIT 1
  2325. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9998988398
  2326. 2022-04-26 13:44:39.579424 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  2327. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9998988398' and accountid = '5'LIMIT 1
  2328. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  2329. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  2330. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  2331. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998988398"  AND domains.domain="w07version62.astppbilling.org" limit 1
  2332. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 5 limit 1
  2333. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  2334. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  2335. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  2336. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998988398"  AND domains.domain="w07version62.astppbilling.org" limit 1
  2337. 2022-04-26 13:44:39.579424 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 5 limit 1
  2338. 2022-04-26 13:44:39.599429 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998988398"  AND domains.domain="w07version62.astppbilling.org" limit 1
  2339. 2022-04-26 13:44:39.599429 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 5 limit 1
  2340. 2022-04-26 13:44:39.599429 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2341. <document type="freeswitch/xml">
  2342. <section name="dialplan" description="ASTPP Dialplan">
  2343. <context name="default">
  2344. <extension name="7701111">
  2345. <condition field="destination_number" expression="7701111">
  2346. <action application="set" data="effective_destination_number=7701111"/>
  2347. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2348. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  2349. <action application="set" data="callstart=2022-04-26 13:44:39"/>
  2350. <action application="set" data="hangup_after_bridge=true"/>
  2351. <action application="set" data="continue_on_fail=TRUE"/>
  2352. <action application="set" data="account_id=9"/>
  2353. <action application="set" data="parent_id=0"/>
  2354. <action application="set" data="entity_id=3"/>
  2355. <action application="set" data="call_processed=internal"/>
  2356. <action application="set" data="call_direction=inbound"/>
  2357. <action application="set" data="accountname=default"/>
  2358. <action application="set" data="filename1=astpp.pbx.lua"/>
  2359. <action application="set" data="origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5"/>
  2360. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9"/>
  2361. <action application="set" data="original_caller_id_name=8871343676"/>
  2362. <action application="set" data="effective_caller_id_name=8871343676"/>
  2363. <action application="set" data="receiver_accid=5"/>
  2364. <action application="set" data="did_id=1"/>
  2365. <action application="set" data="transfer_call_type=5"/>
  2366. <action application="set" data="transfer_extensions=9998988398"/>
  2367. <action application="set" data="busy_status=1"/>
  2368. <action application="set" data="no_answer_status=1"/>
  2369. <action application="set" data="always_status=0"/>
  2370. <action application="set" data="transfer_status=0"/>
  2371. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  2372. <action application="set" data="variable_sip_network_ip=172.31.14.218"/>
  2373. <action application="set" data="variable_sip_network_port=5066"/>
  2374. <action application="export" data="domain_name=w07version62.astppbilling.org"/>
  2375. <action application="export" data="sip_to_host=w07version62.astppbilling.org"/>
  2376. <action application="export" data="presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158"/>
  2377. <action application="export" data="call_type=5"/>
  2378. <action application="set" data="calltype=SIP-DID"/>
  2379. <action application="db" data="insert/pickup_any_group_${callgroup}/9998988398/${uuid}"/>
  2380. <action application="set" data="dialed_extension=transfer_call"/>
  2381. <action application="export" data="dialed_extension=transfer_call"/>
  2382. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  2383. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  2384. <action application="set" data="hangup_after_bridge=true"/>
  2385. <action application="export" data="did_user_domain=w07version62.astppbilling.org"/>
  2386. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=20]sofia/${sofia_profile_name}/9998988398@w07version62.astppbilling.org^9998988398"/>
  2387. <action application="set" data="on_busy_flag=1"/>
  2388. <action application="set" data="on_busy_destination="/>
  2389. <action application="set" data="no_answer_flag=1"/>
  2390. <action application="set" data="no_answer_destination="/>
  2391. <action application="set" data="not_register_flag=1"/>
  2392. <action application="set" data="not_register_destination="/>
  2393. <action application="set" data="opensips_flag=0"/>
  2394. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  2395. <action application="set" data="opensips_domain=172.31.14.218"/>
  2396. <action application="set" data="leg_timeout=20"/>
  2397. <action application="set" data="userinfo_id=5"/>
  2398. <action application="set" data="sip_destination_number=9998988398"/>
  2399. <action application="set" data="destination_number=9998988398"/>
  2400. <action application="set" data="did_number=7701111"/>
  2401. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  2402. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  2403. <condition field="${cond(${user_data 9998988398@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  2404. <action application="answer"/>
  2405. <action application="export" data="voicemail_alternate_greet_id=9998988398"/>
  2406. <action application="voicemail" data="default $${domain_name} 9998988398"/>
  2407. <anti-action application="hangup" data="${originate_disposition}"/>
  2408. </condition>
  2409. </condition>
  2410. </extension>
  2411. </context>
  2412. </section>
  2413. </document>
  2414. Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->7701111] continue=false
  2415. Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [7701111] destination_number(7701111) =~ /7701111/ break=on-false
  2416. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=7701111)
  2417. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2418. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2419. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-26 13:44:39)
  2420. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  2421. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE)
  2422. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=9)
  2423. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0)
  2424. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3)
  2425. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal)
  2426. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound)
  2427. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=default)
  2428. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(filename1=astpp.pbx.lua)
  2429. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  2430. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  2431. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=8871343676)
  2432. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=8871343676)
  2433. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5)
  2434. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  2435. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_call_type=5)
  2436. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_extensions=9998988398)
  2437. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(busy_status=1)
  2438. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_status=1)
  2439. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(always_status=0)
  2440. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_status=0)
  2441. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=${domain_name})
  2442. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_ip=172.31.14.218)
  2443. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_port=5066)
  2444. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=w07version62.astppbilling.org)
  2445. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=w07version62.astppbilling.org)
  2446. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  2447. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=5)
  2448. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(calltype=SIP-DID)
  2449. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998988398/${uuid})
  2450. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  2451. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  2452. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  2453. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  2454. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  2455. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(did_user_domain=w07version62.astppbilling.org)
  2456. Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=20]sofia/${sofia_profile_name}/9998988398@w07version62.astppbilling.org^9998988398)
  2457. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  2458. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  2459. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  2460. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  2461. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  2462. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  2463. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=0)
  2464. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  2465. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  2466. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  2467. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  2468. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998988398)
  2469. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(destination_number=9998988398)
  2470. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=7701111)
  2471. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  2472. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  2473. |--- Dialplan: Processing recursive conditions level:1 [7701111_recur_1] require-nested=TRUE
  2474. |--- Dialplan: sofia/default/8871343676@46.101.114.158 Regex (FAIL) [7701111_recur_1] ${cond(${user_data 9998988398@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  2475. |--- Dialplan: sofia/default/8871343676@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  2476. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  2477. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  2478. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 29)
  2479. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE
  2480. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE
  2481. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE
  2482. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=7701111)
  2483. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[7701111]
  2484. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  2485. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2486. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2487. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2488. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-26 13:44:39)
  2489. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-26 13:44:39]
  2490. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  2491. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  2492. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE)
  2493. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE]
  2494. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=9)
  2495. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[9]
  2496. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0)
  2497. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0]
  2498. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3)
  2499. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3]
  2500. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal)
  2501. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal]
  2502. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound)
  2503. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound]
  2504. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=default)
  2505. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[default]
  2506. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(filename1=astpp.pbx.lua)
  2507. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [filename1]=[astpp.pbx.lua]
  2508. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  2509. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5]
  2510. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  2511. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9]
  2512. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=8871343676)
  2513. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[8871343676]
  2514. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=8871343676)
  2515. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[8871343676]
  2516. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5)
  2517. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5]
  2518. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  2519. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  2520. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_call_type=5)
  2521. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_call_type]=[5]
  2522. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_extensions=9998988398)
  2523. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_extensions]=[9998988398]
  2524. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(busy_status=1)
  2525. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [busy_status]=[1]
  2526. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_status=1)
  2527. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_status]=[1]
  2528. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(always_status=0)
  2529. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [always_status]=[0]
  2530. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_status=0)
  2531. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_status]=[0]
  2532. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=172.31.14.218)
  2533. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[172.31.14.218]
  2534. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_ip=172.31.14.218)
  2535. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_ip]=[172.31.14.218]
  2536. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_port=5066)
  2537. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_port]=[5066]
  2538. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=w07version62.astppbilling.org)
  2539. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[w07version62.astppbilling.org]
  2540. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=w07version62.astppbilling.org)
  2541. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[w07version62.astppbilling.org]
  2542. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  2543. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158]
  2544. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=5)
  2545. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[5]
  2546. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(calltype=SIP-DID)
  2547. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [calltype]=[SIP-DID]
  2548. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998988398/7b53307e-a2bb-4b3f-8633-15a8db48a23e)
  2549. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  2550. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  2551. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  2552. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  2553. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  2554. 2022-04-26 13:44:39.619426 98.90% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  2555. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  2556. 2022-04-26 13:44:39.619426 98.90% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  2557. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  2558. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  2559. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(did_user_domain=w07version62.astppbilling.org)
  2560. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[w07version62.astppbilling.org]
  2561. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_invite_params=user=LOCAL}[leg_timeout=20]sofia/default/9998988398@w07version62.astppbilling.org^9998988398)
  2562. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version62.astppbilling.org] to event
  2563. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version62.astppbilling.org] to event
  2564. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  2565. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[5] to event
  2566. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  2567. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[w07version62.astppbilling.org] to event
  2568. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2569. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  2570. 2022-04-26 13:44:39.619426 98.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998988398@w07version62.astppbilling.org [e9a413ae-41e6-4cfd-887f-8d570fea5bbe]
  2571. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_sofia.c:5121 (sofia/default/9998988398@w07version62.astppbilling.org) State Change CS_NEW -> CS_INIT
  2572. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998988398@w07version62.astppbilling.org Setting leg timeout to 20
  2573. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org) Running State Change CS_INIT (Cur 2 Tot 30)
  2574. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998988398@w07version62.astppbilling.org) State INIT
  2575. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_sofia.c:97 sofia/default/9998988398@w07version62.astppbilling.org SOFIA INIT
  2576. 2022-04-26 13:44:39.619426 98.90% [INFO] sofia_glue.c:1651 sofia/default/9998988398@w07version62.astppbilling.org sending invite call-id: (null)
  2577. 2022-04-26 13:44:39.619426 98.90% [DEBUG] sofia_glue.c:1654 sofia/default/9998988398@w07version62.astppbilling.org sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  2578. Local SDP:
  2579. v=0
  2580. o=FreeSWITCH 1650959181 1650959182 IN IP4 172.31.14.218
  2581. s=FreeSWITCH
  2582. c=IN IP4 172.31.14.218
  2583. t=0 0
  2584. m=audio 21498 RTP/AVP 0 101
  2585. a=rtpmap:0 PCMU/8000
  2586. a=rtpmap:101 telephone-event/8000
  2587. a=fmtp:101 0-15
  2588. a=ptime:20
  2589. a=sendrecv
  2590.  
  2591. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998988398@w07version62.astppbilling.org Standard INIT
  2592. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998988398@w07version62.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  2593. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998988398@w07version62.astppbilling.org) State INIT going to sleep
  2594. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org) Running State Change CS_ROUTING (Cur 2 Tot 30)
  2595. 2022-04-26 13:44:39.619426 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/9998988398@w07version62.astppbilling.org entering state [calling][0]
  2596. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998988398@w07version62.astppbilling.org) State ROUTING
  2597. 2022-04-26 13:44:39.619426 98.90% [DEBUG] mod_sofia.c:158 sofia/default/9998988398@w07version62.astppbilling.org SOFIA ROUTING
  2598. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9998988398@w07version62.astppbilling.org) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2599. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998988398@w07version62.astppbilling.org) State ROUTING going to sleep
  2600. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 30)
  2601. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998988398@w07version62.astppbilling.org) State CONSUME_MEDIA
  2602. 2022-04-26 13:44:39.619426 98.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998988398@w07version62.astppbilling.org) State CONSUME_MEDIA going to sleep
  2603. 2022-04-26 13:44:40.259448 98.53% [DEBUG] sofia.c:7499 Channel sofia/default/9998988398@w07version62.astppbilling.org entering state [terminated][503]
  2604. 2022-04-26 13:44:40.259448 98.53% [NOTICE] sofia.c:8738 Hangup sofia/default/9998988398@w07version62.astppbilling.org [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  2605. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org) Running State Change CS_HANGUP (Cur 2 Tot 30)
  2606. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998988398@w07version62.astppbilling.org) Callstate Change DOWN -> HANGUP
  2607. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998988398@w07version62.astppbilling.org) State HANGUP
  2608. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998988398@w07version62.astppbilling.org hanging up, cause: NORMAL_TEMPORARY_FAILURE
  2609. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998988398@w07version62.astppbilling.org Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  2610. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998988398@w07version62.astppbilling.org) State HANGUP going to sleep
  2611. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998988398@w07version62.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  2612. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998988398@w07version62.astppbilling.org) Running State Change CS_REPORTING (Cur 2 Tot 30)
  2613. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998988398@w07version62.astppbilling.org) State REPORTING
  2614. 2022-04-26 13:44:40.259448 98.53% [INFO] mod_json_cdr.c:271 Process [e9a413ae-41e6-4cfd-887f-8d570fea5bbe.cdr.json]
  2615. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  2616. 2022-04-26 13:44:40.259448 98.53% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  2617. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_flag=1)
  2618. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_flag]=[1]
  2619. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_destination=)
  2620. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_destination]=[UNDEF]
  2621. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_flag=1)
  2622. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_flag]=[1]
  2623. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_destination=)
  2624. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_destination]=[UNDEF]
  2625. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_flag=1)
  2626. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_flag]=[1]
  2627. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_destination=)
  2628. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_destination]=[UNDEF]
  2629. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_flag=0)
  2630. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_flag]=[0]
  2631. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=w07version62.astppbilling.org)
  2632. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[w07version62.astppbilling.org]
  2633. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_domain=172.31.14.218)
  2634. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_domain]=[172.31.14.218]
  2635. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  2636. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  2637. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(userinfo_id=5)
  2638. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [userinfo_id]=[5]
  2639. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_destination_number=9998988398)
  2640. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_destination_number]=[9998988398]
  2641. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(destination_number=9998988398)
  2642. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [destination_number]=[9998988398]
  2643. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_number=7701111)
  2644. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_number]=[7701111]
  2645. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(user_domain=w07version62.astppbilling.org)
  2646. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [user_domain]=[w07version62.astppbilling.org]
  2647. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  2648. 2022-04-26 13:44:40.259448 98.53% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  2649. stack traceback:
  2650.         [C]: in function 'dofile'
  2651.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:17: in main chunk
  2652. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  2653. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 hangup(NORMAL_TEMPORARY_FAILURE)
  2654. 2022-04-26 13:44:40.259448 98.53% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [NORMAL_TEMPORARY_FAILURE]
  2655. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  2656. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep
  2657. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 30)
  2658. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> HANGUP
  2659. 2022-04-26 13:44:40.259448 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  2660. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 503 with 503 from the other leg
  2661. 2022-04-26 13:44:40.259448 98.53% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  2662. 2022-04-26 13:44:40.279424 98.53% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
  2663. 2022-04-26 13:44:40.279424 98.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  2664. 2022-04-26 13:44:40.279424 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  2665. 2022-04-26 13:44:40.279424 98.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  2666. 2022-04-26 13:44:40.279424 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 30)
  2667. 2022-04-26 13:44:40.279424 98.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  2668. 2022-04-26 13:44:40.279424 98.53% [INFO] mod_json_cdr.c:271 Process [7b53307e-a2bb-4b3f-8633-15a8db48a23e.cdr.json]
  2669. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998988398@w07version62.astppbilling.org Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  2670. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998988398@w07version62.astppbilling.org) State REPORTING going to sleep
  2671. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998988398@w07version62.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  2672. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_session.c:1753 Session 30 (sofia/default/9998988398@w07version62.astppbilling.org) Locked, Waiting on external entities
  2673. 2022-04-26 13:44:40.299429 98.53% [NOTICE] switch_core_session.c:1771 Session 30 (sofia/default/9998988398@w07version62.astppbilling.org) Ended
  2674. 2022-04-26 13:44:40.299429 98.53% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998988398@w07version62.astppbilling.org [CS_DESTROY]
  2675. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998988398@w07version62.astppbilling.org) Running State Change CS_DESTROY (Cur 1 Tot 30)
  2676. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998988398@w07version62.astppbilling.org) State DESTROY
  2677. 2022-04-26 13:44:40.299429 98.53% [DEBUG] mod_sofia.c:379 sofia/default/9998988398@w07version62.astppbilling.org SOFIA DESTROY
  2678. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998988398@w07version62.astppbilling.org Standard DESTROY
  2679. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998988398@w07version62.astppbilling.org) State DESTROY going to sleep
  2680. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  2681. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  2682. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  2683. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_session.c:1753 Session 29 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  2684. 2022-04-26 13:44:40.299429 98.53% [NOTICE] switch_core_session.c:1771 Session 29 (sofia/default/8871343676@46.101.114.158) Ended
  2685. 2022-04-26 13:44:40.299429 98.53% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  2686. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 30)
  2687. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  2688. 2022-04-26 13:44:40.299429 98.53% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  2689. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  2690. 2022-04-26 13:44:40.299429 98.53% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  2691. 2022-04-26 13:44:53.099447 98.67% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  2692. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  2693. and you must configure your device to use the proper domain in its authentication credentials.
  2694. 2022-04-26 13:44:53.099447 98.67% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  2695. 2022-04-26 13:45:12.699459 98.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [d1eea9c0-3cf9-4f8e-81b9-e72fab0c4ccf]
  2696. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 31)
  2697. 2022-04-26 13:45:12.699459 98.73% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: eff436a0-4009-123b-3db3-ba05d31eb9f9
  2698. 2022-04-26 13:45:12.699459 98.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  2699. 2022-04-26 13:45:12.699459 98.73% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  2700. 2022-04-26 13:45:12.699459 98.73% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  2701. 2022-04-26 13:45:12.699459 98.73% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  2702. 2022-04-26 13:45:12.699459 98.73% [DEBUG] sofia.c:7509 Remote SDP:
  2703. v=0
  2704. o=FreeSWITCH 1650952294 1650952295 IN IP4 46.101.114.158
  2705. s=FreeSWITCH
  2706. c=IN IP4 46.101.114.158
  2707. t=0 0
  2708. m=audio 28418 RTP/AVP 0 101
  2709. a=rtpmap:0 PCMU/8000
  2710. a=rtpmap:101 telephone-event/8000
  2711. a=fmtp:101 0-16
  2712. a=ptime:20
  2713.  
  2714. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2715. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2716. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2717. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2718. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  2719. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  2720. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2721. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  2722. 2022-04-26 13:45:12.699459 98.73% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  2723. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  2724. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 31)
  2725. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  2726. 2022-04-26 13:45:12.699459 98.73% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  2727. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  2728. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  2729. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  2730. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 31)
  2731. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  2732. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  2733. 2022-04-26 13:45:12.699459 98.73% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  2734. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  2735. 2022-04-26 13:45:12.699459 98.73% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  2736. 2022-04-26 13:45:12.699459 98.73% [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')
  2737. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2738. 2022-04-26 13:45:12.699459 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  2739. 2022-04-26 13:45:12.699459 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7701111
  2740. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7701111' limit 1
  2741. 2022-04-26 13:45:12.699459 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7701111' AND status=0 limit 1
  2742. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7701111' and status=0 LIMIT 1
  2743. 2022-04-26 13:45:12.719423 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault
  2744. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2745. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '3.7.66.233' limit 1
  2746. 2022-04-26 13:45:12.719423 98.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  2747. 2022-04-26 13:45:12.719423 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8871343676 / <null>
  2748. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1
  2749. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770111 AND status=0 limit 1
  2750. 2022-04-26 13:45:12.719423 98.73% [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 ="7701111" LIMIT 1
  2751. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  2752. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2753. 2022-04-26 13:45:12.719423 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  2754. 2022-04-26 13:45:12.719423 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 46.101.114.158
  2755. 2022-04-26 13:45:12.719423 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7073582043]
  2756. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7073582043" AND deleted = 0 limit 1
  2757. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  2758. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7701111" AND (accountid = 0 OR status = 1) LIMIT 1
  2759. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  2760. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  2761. 2022-04-26 13:45:12.719423 98.73% [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 = '^7701111.*' OR patterns = '^770111.*' OR patterns = '^77011.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2762. 2022-04-26 13:45:12.719423 98.73% [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 ="7701111" AND A.accountid = '9' limit 1
  2763. 2022-04-26 13:45:12.719423 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7701111
  2764. 2022-04-26 13:45:12.719423 98.73% [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 ="7701111" LIMIT 1
  2765. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  2766. 2022-04-26 13:45:12.719423 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2767. 2022-04-26 13:45:12.719423 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  2768. 2022-04-26 13:45:12.719423 98.73% [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 = '7701111' OR number = '770111' OR number = '77011' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7701111*' OR number = '770111*' OR number = '77011*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  2769. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  2770. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7701111' OR routing_prefix = '770111' OR routing_prefix = '77011' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  2771. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  2772. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  2773. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7073582043
  2774. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  2775. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11.3834
  2776. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2777. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  2778. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  2779. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  2780. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2781. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  2782. 2022-04-26 13:45:12.739424 98.73% [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 ="7701111" LIMIT 1
  2783. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  2784. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2785. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  2786. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  2787. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  2788. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  2789. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  2790. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  2791. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  2792. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  2793. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.45
  2794. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  2795. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  2796. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0
  2797. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2798. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  2799. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2800. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2801. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  2802. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 7701111
  2803. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  2804. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  2805. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2806. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  2807. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  2808. 2022-04-26 13:45:12.739424 98.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  2809. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  2810. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  2811. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  2812. 2022-04-26 13:45:12.739424 98.73% [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 = 9 AND status=0 LIMIT 1
  2813. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  2814. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2815. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  2816. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2817. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7701111.*' OR pattern = '^770111.*' OR pattern = '^77011.*' OR pattern = '^7701.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^<null>.*' OR caller_id_pattern = '^<null.*' OR caller_id_pattern = '^<nul.*' OR caller_id_pattern = '^<nu.*' OR caller_id_pattern = '^<n.*' OR caller_id_pattern = '^<.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  2818. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  2819. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  2820. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  2821. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  2822. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  2823. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  2824. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  2825. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  2826. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.45
  2827. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  2828. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  2829. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  2830. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2831. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  2832. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2833. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2834. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  2835. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  2836. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  2837. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  2838. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  2839. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  2840. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2841. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  2842. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  2843. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  2844. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  2845. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  2846. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  2847. 2022-04-26 13:45:12.739424 98.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : w07version62.astppbilling.org
  2848. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  2849. 2022-04-26 13:45:12.739424 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2850. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2851. 2022-04-26 13:45:12.739424 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  2852. 2022-04-26 13:45:12.739424 98.73% [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 = "9998913119" AND accounts.status = 0
  2853. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  2854. 2022-04-26 13:45:12.759425 98.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : w07version62.astppbilling.org
  2855. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  2856. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  2857. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  2858. 2022-04-26 13:45:12.759425 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9998913119
  2859. 2022-04-26 13:45:12.759425 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  2860. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  2861. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  2862. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  2863. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  2864. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  2865. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  2866. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  2867. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  2868. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  2869. 2022-04-26 13:45:12.759425 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC11]
  2870. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  2871. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  2872. 2022-04-26 13:45:12.759425 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 2
  2873. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  2874. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  2875. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  2876. 2022-04-26 13:45:12.759425 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  2877. 2022-04-26 13:45:12.759425 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  2878. 2022-04-26 13:45:12.759425 98.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  2879. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  2880. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  2881. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  2882. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  2883. 2022-04-26 13:45:12.759425 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2884. <document type="freeswitch/xml">
  2885. <section name="dialplan" description="ASTPP Dialplan">
  2886. <context name="default">
  2887. <extension name="7701111">
  2888. <condition field="destination_number" expression="7701111">
  2889. <action application="set" data="effective_destination_number=7701111"/>
  2890. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2891. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  2892. <action application="set" data="callstart=2022-04-26 13:45:12"/>
  2893. <action application="set" data="hangup_after_bridge=true"/>
  2894. <action application="set" data="continue_on_fail=TRUE"/>
  2895. <action application="set" data="account_id=9"/>
  2896. <action application="set" data="parent_id=0"/>
  2897. <action application="set" data="entity_id=3"/>
  2898. <action application="set" data="call_processed=internal"/>
  2899. <action application="set" data="call_direction=inbound"/>
  2900. <action application="set" data="accountname=default"/>
  2901. <action application="set" data="filename1=astpp.pbx.lua"/>
  2902. <action application="set" data="origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5"/>
  2903. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9"/>
  2904. <action application="set" data="original_caller_id_name=8871343676"/>
  2905. <action application="set" data="effective_caller_id_name=8871343676"/>
  2906. <action application="set" data="receiver_accid=5"/>
  2907. <action application="set" data="did_id=1"/>
  2908. <action application="set" data="transfer_call_type=5"/>
  2909. <action application="set" data="transfer_extensions=9998988398"/>
  2910. <action application="set" data="busy_status=0"/>
  2911. <action application="set" data="no_answer_status=1"/>
  2912. <action application="set" data="always_status=1"/>
  2913. <action application="set" data="transfer_status=0"/>
  2914. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  2915. <action application="set" data="variable_sip_network_ip=172.31.14.218"/>
  2916. <action application="set" data="variable_sip_network_port=5066"/>
  2917. <action application="export" data="domain_name=w07version62.astppbilling.org"/>
  2918. <action application="export" data="sip_to_host=w07version62.astppbilling.org"/>
  2919. <action application="export" data="presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158"/>
  2920. <action application="export" data="call_type=0"/>
  2921. <action application="set" data="calltype=DID-LOCAL"/>
  2922. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  2923. <action application="set" data="dialed_extension=transfer_call"/>
  2924. <action application="export" data="dialed_extension=transfer_call"/>
  2925. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  2926. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  2927. <action application="set" data="hangup_after_bridge=true"/>
  2928. <action application="export" data="did_user_domain=w07version62.astppbilling.org"/>
  2929. <action application="set" data="sip_h_X-call-type=did"/>
  2930. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  2931. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  2932. <action application="set" data="dialed_extension=transfer_call"/>
  2933. <action application="export" data="dialed_extension=transfer_call"/>
  2934. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  2935. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  2936. <action application="set" data="transfer_ringback=$${hold_music}"/>
  2937. <action application="set" data="hangup_after_bridge=true"/>
  2938. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/${sofia_profile_name}/9998913119@w07version62.astppbilling.org:5066"/>
  2939. <action application="set" data="on_busy_flag=1"/>
  2940. <action application="set" data="on_busy_destination="/>
  2941. <action application="set" data="no_answer_flag=1"/>
  2942. <action application="set" data="no_answer_destination="/>
  2943. <action application="set" data="not_register_flag=1"/>
  2944. <action application="set" data="not_register_destination="/>
  2945. <action application="set" data="opensips_flag=0"/>
  2946. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  2947. <action application="set" data="opensips_domain=172.31.14.218"/>
  2948. <action application="set" data="leg_timeout=20"/>
  2949. <action application="set" data="userinfo_id=5"/>
  2950. <action application="set" data="sip_destination_number=9998913119"/>
  2951. <action application="set" data="did_number=9998913119"/>
  2952. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  2953. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  2954. <action application="set" data="on_busy_flag=1"/>
  2955. <action application="set" data="on_busy_destination="/>
  2956. <action application="set" data="no_answer_flag=1"/>
  2957. <action application="set" data="no_answer_destination="/>
  2958. <action application="set" data="not_register_flag=1"/>
  2959. <action application="set" data="not_register_destination="/>
  2960. <action application="set" data="opensips_flag=0"/>
  2961. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  2962. <action application="set" data="opensips_domain=172.31.14.218"/>
  2963. <action application="set" data="leg_timeout=20"/>
  2964. <action application="set" data="userinfo_id=5"/>
  2965. <action application="set" data="sip_destination_number=9998913119"/>
  2966. <action application="set" data="destination_number=9998913119"/>
  2967. <action application="set" data="did_number=7701111"/>
  2968. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  2969. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  2970. <condition field="${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  2971. <action application="answer"/>
  2972. <action application="export" data="voicemail_alternate_greet_id=9998913119"/>
  2973. <action application="voicemail" data="default $${domain_name} 9998913119"/>
  2974. <anti-action application="hangup" data="${originate_disposition}"/>
  2975. </condition>
  2976. </condition>
  2977. </extension>
  2978. </context>
  2979. </section>
  2980. </document>
  2981. Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->7701111] continue=false
  2982. Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [7701111] destination_number(7701111) =~ /7701111/ break=on-false
  2983. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=7701111)
  2984. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2985. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2986. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-26 13:45:12)
  2987. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  2988. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE)
  2989. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=9)
  2990. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0)
  2991. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3)
  2992. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal)
  2993. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound)
  2994. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=default)
  2995. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(filename1=astpp.pbx.lua)
  2996. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  2997. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  2998. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=8871343676)
  2999. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=8871343676)
  3000. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5)
  3001. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  3002. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_call_type=5)
  3003. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_extensions=9998988398)
  3004. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(busy_status=0)
  3005. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_status=1)
  3006. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(always_status=1)
  3007. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_status=0)
  3008. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=${domain_name})
  3009. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_ip=172.31.14.218)
  3010. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_port=5066)
  3011. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=w07version62.astppbilling.org)
  3012. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=w07version62.astppbilling.org)
  3013. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  3014. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=0)
  3015. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(calltype=DID-LOCAL)
  3016. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  3017. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  3018. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  3019. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3020. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3021. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  3022. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(did_user_domain=w07version62.astppbilling.org)
  3023. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_h_X-call-type=did)
  3024. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_h_X-did-call-type=DID-LOCAL)
  3025. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  3026. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  3027. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  3028. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3029. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3030. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  3031. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  3032. Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/${sofia_profile_name}/9998913119@w07version62.astppbilling.org:5066)
  3033. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  3034. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  3035. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  3036. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  3037. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  3038. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  3039. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=0)
  3040. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  3041. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  3042. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  3043. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  3044. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  3045. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=9998913119)
  3046. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  3047. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  3048. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  3049. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  3050. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  3051. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  3052. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  3053. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  3054. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=0)
  3055. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  3056. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  3057. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  3058. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  3059. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  3060. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(destination_number=9998913119)
  3061. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=7701111)
  3062. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  3063. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  3064. |--- Dialplan: Processing recursive conditions level:1 [7701111_recur_1] require-nested=TRUE
  3065. |--- Dialplan: sofia/default/8871343676@46.101.114.158 Regex (FAIL) [7701111_recur_1] ${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  3066. |--- Dialplan: sofia/default/8871343676@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  3067. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  3068. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  3069. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 31)
  3070. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE
  3071. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE
  3072. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE
  3073. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=7701111)
  3074. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[7701111]
  3075. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  3076. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3077. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3078. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  3079. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-26 13:45:12)
  3080. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-26 13:45:12]
  3081. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  3082. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  3083. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE)
  3084. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE]
  3085. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=9)
  3086. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[9]
  3087. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0)
  3088. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0]
  3089. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3)
  3090. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3]
  3091. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal)
  3092. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal]
  3093. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound)
  3094. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound]
  3095. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=default)
  3096. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[default]
  3097. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(filename1=astpp.pbx.lua)
  3098. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [filename1]=[astpp.pbx.lua]
  3099. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  3100. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5]
  3101. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  3102. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9]
  3103. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=8871343676)
  3104. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[8871343676]
  3105. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=8871343676)
  3106. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[8871343676]
  3107. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5)
  3108. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5]
  3109. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  3110. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  3111. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_call_type=5)
  3112. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_call_type]=[5]
  3113. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_extensions=9998988398)
  3114. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_extensions]=[9998988398]
  3115. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(busy_status=0)
  3116. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [busy_status]=[0]
  3117. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_status=1)
  3118. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_status]=[1]
  3119. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(always_status=1)
  3120. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [always_status]=[1]
  3121. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_status=0)
  3122. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_status]=[0]
  3123. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=172.31.14.218)
  3124. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[172.31.14.218]
  3125. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_ip=172.31.14.218)
  3126. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_ip]=[172.31.14.218]
  3127. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_port=5066)
  3128. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_port]=[5066]
  3129. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=w07version62.astppbilling.org)
  3130. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[w07version62.astppbilling.org]
  3131. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=w07version62.astppbilling.org)
  3132. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[w07version62.astppbilling.org]
  3133. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  3134. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158]
  3135. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=0)
  3136. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  3137. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(calltype=DID-LOCAL)
  3138. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [calltype]=[DID-LOCAL]
  3139. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/d1eea9c0-3cf9-4f8e-81b9-e72fab0c4ccf)
  3140. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  3141. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  3142. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  3143. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  3144. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3145. 2022-04-26 13:45:12.779422 98.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  3146. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3147. 2022-04-26 13:45:12.779422 98.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  3148. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  3149. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  3150. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(did_user_domain=w07version62.astppbilling.org)
  3151. 2022-04-26 13:45:12.779422 98.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[w07version62.astppbilling.org]
  3152. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_h_X-call-type=did)
  3153. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_h_X-call-type]=[did]
  3154. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_h_X-did-call-type=DID-LOCAL)
  3155. 2022-04-26 13:45:12.779422 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_h_X-did-call-type]=[DID-LOCAL]
  3156. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/d1eea9c0-3cf9-4f8e-81b9-e72fab0c4ccf)
  3157. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  3158. 2022-04-26 13:45:12.799424 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  3159. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  3160. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  3161. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3162. 2022-04-26 13:45:12.799424 98.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  3163. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3164. 2022-04-26 13:45:12.799424 98.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  3165. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_ringback=local_stream://moh)
  3166. 2022-04-26 13:45:12.799424 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  3167. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  3168. 2022-04-26 13:45:12.799424 98.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  3169. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/default/9998913119@w07version62.astppbilling.org:5066)
  3170. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version62.astppbilling.org] to event
  3171. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version62.astppbilling.org] to event
  3172. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  3173. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  3174. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  3175. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[w07version62.astppbilling.org] to event
  3176. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  3177. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  3178. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  3179. 2022-04-26 13:45:12.799424 98.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 [b12eb051-fafc-4ee4-80b2-a54d5fcccb0f]
  3180. 2022-04-26 13:45:12.799424 98.73% [DEBUG] mod_sofia.c:5121 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_NEW -> CS_INIT
  3181. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998913119@w07version62.astppbilling.org:5066 Setting leg timeout to 20
  3182. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_INIT (Cur 2 Tot 32)
  3183. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State INIT
  3184. 2022-04-26 13:45:12.799424 98.73% [DEBUG] mod_sofia.c:97 sofia/default/9998913119@w07version62.astppbilling.org:5066 SOFIA INIT
  3185. 2022-04-26 13:45:12.799424 98.73% [INFO] sofia_glue.c:1651 sofia/default/9998913119@w07version62.astppbilling.org:5066 sending invite call-id: (null)
  3186. 2022-04-26 13:45:12.799424 98.73% [DEBUG] sofia_glue.c:1654 sofia/default/9998913119@w07version62.astppbilling.org:5066 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  3187. Local SDP:
  3188. v=0
  3189. o=FreeSWITCH 1650960992 1650960993 IN IP4 172.31.14.218
  3190. s=FreeSWITCH
  3191. c=IN IP4 172.31.14.218
  3192. t=0 0
  3193. m=audio 19720 RTP/AVP 0 101
  3194. a=rtpmap:0 PCMU/8000
  3195. a=rtpmap:101 telephone-event/8000
  3196. a=fmtp:101 0-15
  3197. a=ptime:20
  3198. a=sendrecv
  3199.  
  3200. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard INIT
  3201. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_INIT -> CS_ROUTING
  3202. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State INIT going to sleep
  3203. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_ROUTING (Cur 2 Tot 32)
  3204. 2022-04-26 13:45:12.799424 98.73% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 entering state [calling][0]
  3205. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State ROUTING
  3206. 2022-04-26 13:45:12.799424 98.73% [DEBUG] mod_sofia.c:158 sofia/default/9998913119@w07version62.astppbilling.org:5066 SOFIA ROUTING
  3207. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3208. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State ROUTING going to sleep
  3209. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 32)
  3210. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State CONSUME_MEDIA
  3211. 2022-04-26 13:45:12.799424 98.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State CONSUME_MEDIA going to sleep
  3212. 2022-04-26 13:45:12.919446 98.73% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 entering state [proceeding][180]
  3213. 2022-04-26 13:45:12.919446 98.73% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/9998913119@w07version62.astppbilling.org:5066!
  3214. 2022-04-26 13:45:12.919446 98.73% [DEBUG] switch_channel.c:3494 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Callstate Change DOWN -> RINGING
  3215. 2022-04-26 13:45:12.939424 98.73% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/8871343676@46.101.114.158!
  3216. 2022-04-26 13:45:12.939424 98.73% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [early][180]
  3217. 2022-04-26 13:45:12.939424 98.73% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/8871343676@46.101.114.158!
  3218. 2022-04-26 13:45:14.199449 98.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  3219. 2022-04-26 13:45:14.259425 98.27% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  3220. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  3221. and you must configure your device to use the proper domain in its authentication credentials.
  3222. 2022-04-26 13:45:14.259425 98.27% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  3223. 2022-04-26 13:45:22.019431 98.20% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 entering state [terminated][486]
  3224. 2022-04-26 13:45:22.019431 98.20% [NOTICE] sofia.c:8738 Hangup sofia/default/9998913119@w07version62.astppbilling.org:5066 [CS_CONSUME_MEDIA] [USER_BUSY]
  3225. 2022-04-26 13:45:22.019431 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_HANGUP (Cur 2 Tot 32)
  3226. 2022-04-26 13:45:22.019431 98.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Callstate Change RINGING -> HANGUP
  3227. 2022-04-26 13:45:22.019431 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State HANGUP
  3228. 2022-04-26 13:45:22.019431 98.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 hanging up, cause: USER_BUSY
  3229. 2022-04-26 13:45:22.019431 98.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard HANGUP, cause: USER_BUSY
  3230. 2022-04-26 13:45:22.019431 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State HANGUP going to sleep
  3231. 2022-04-26 13:45:22.019431 98.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_HANGUP -> CS_REPORTING
  3232. 2022-04-26 13:45:22.019431 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_REPORTING (Cur 2 Tot 32)
  3233. 2022-04-26 13:45:22.019431 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State REPORTING
  3234. 2022-04-26 13:45:22.019431 98.20% [INFO] mod_json_cdr.c:271 Process [b12eb051-fafc-4ee4-80b2-a54d5fcccb0f.cdr.json]
  3235. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard REPORTING, cause: USER_BUSY
  3236. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State REPORTING going to sleep
  3237. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_REPORTING -> CS_DESTROY
  3238. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_session.c:1753 Session 32 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Locked, Waiting on external entities
  3239. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  3240. 2022-04-26 13:45:22.039427 98.20% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_BUSY
  3241. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_flag=1)
  3242. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_flag]=[1]
  3243. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_destination=)
  3244. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_destination]=[UNDEF]
  3245. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_flag=1)
  3246. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_flag]=[1]
  3247. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_destination=)
  3248. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_destination]=[UNDEF]
  3249. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_flag=1)
  3250. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_flag]=[1]
  3251. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_destination=)
  3252. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_destination]=[UNDEF]
  3253. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_flag=0)
  3254. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_flag]=[0]
  3255. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=w07version62.astppbilling.org)
  3256. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[w07version62.astppbilling.org]
  3257. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_domain=172.31.14.218)
  3258. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_domain]=[172.31.14.218]
  3259. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  3260. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  3261. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(userinfo_id=5)
  3262. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [userinfo_id]=[5]
  3263. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_destination_number=9998913119)
  3264. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_destination_number]=[9998913119]
  3265. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_number=9998913119)
  3266. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_number]=[9998913119]
  3267. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(user_domain=w07version62.astppbilling.org)
  3268. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [user_domain]=[w07version62.astppbilling.org]
  3269. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  3270. 2022-04-26 13:45:22.039427 98.20% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  3271. stack traceback:
  3272.         [C]: in function 'dofile'
  3273.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:17: in main chunk
  3274. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  3275. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_flag=1)
  3276. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_flag]=[1]
  3277. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_destination=)
  3278. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_destination]=[UNDEF]
  3279. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_flag=1)
  3280. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_flag]=[1]
  3281. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_destination=)
  3282. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_destination]=[UNDEF]
  3283. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_flag=1)
  3284. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_flag]=[1]
  3285. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_destination=)
  3286. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_destination]=[UNDEF]
  3287. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_flag=0)
  3288. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_flag]=[0]
  3289. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=w07version62.astppbilling.org)
  3290. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[w07version62.astppbilling.org]
  3291. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_domain=172.31.14.218)
  3292. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_domain]=[172.31.14.218]
  3293. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  3294. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  3295. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(userinfo_id=5)
  3296. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [userinfo_id]=[5]
  3297. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_destination_number=9998913119)
  3298. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_destination_number]=[9998913119]
  3299. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(destination_number=9998913119)
  3300. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [destination_number]=[9998913119]
  3301. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_number=7701111)
  3302. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_number]=[7701111]
  3303. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(user_domain=w07version62.astppbilling.org)
  3304. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [user_domain]=[w07version62.astppbilling.org]
  3305. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  3306. 2022-04-26 13:45:22.039427 98.20% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  3307. stack traceback:
  3308.         [C]: in function 'dofile'
  3309.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:17: in main chunk
  3310. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  3311. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 hangup(USER_BUSY)
  3312. 2022-04-26 13:45:22.039427 98.20% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [USER_BUSY]
  3313. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  3314. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep
  3315. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 32)
  3316. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> HANGUP
  3317. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  3318. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 486 with 486 from the other leg
  3319. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: USER_BUSY
  3320. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 486
  3321. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: USER_BUSY
  3322. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  3323. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  3324. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 32)
  3325. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  3326. 2022-04-26 13:45:22.039427 98.20% [INFO] mod_json_cdr.c:271 Process [d1eea9c0-3cf9-4f8e-81b9-e72fab0c4ccf.cdr.json]
  3327. 2022-04-26 13:45:22.039427 98.20% [NOTICE] switch_core_session.c:1771 Session 32 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Ended
  3328. 2022-04-26 13:45:22.039427 98.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 [CS_DESTROY]
  3329. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_DESTROY (Cur 1 Tot 32)
  3330. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State DESTROY
  3331. 2022-04-26 13:45:22.039427 98.20% [DEBUG] mod_sofia.c:379 sofia/default/9998913119@w07version62.astppbilling.org:5066 SOFIA DESTROY
  3332. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard DESTROY
  3333. 2022-04-26 13:45:22.039427 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State DESTROY going to sleep
  3334. 2022-04-26 13:45:22.079425 98.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: USER_BUSY
  3335. 2022-04-26 13:45:22.079425 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  3336. 2022-04-26 13:45:22.079425 98.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  3337. 2022-04-26 13:45:22.079425 98.20% [DEBUG] switch_core_session.c:1753 Session 31 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  3338. 2022-04-26 13:45:22.079425 98.20% [NOTICE] switch_core_session.c:1771 Session 31 (sofia/default/8871343676@46.101.114.158) Ended
  3339. 2022-04-26 13:45:22.079425 98.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  3340. 2022-04-26 13:45:22.079425 98.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 32)
  3341. 2022-04-26 13:45:22.079425 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  3342. 2022-04-26 13:45:22.079425 98.20% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  3343. 2022-04-26 13:45:22.079425 98.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  3344. 2022-04-26 13:45:22.079425 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  3345. 2022-04-26 13:45:36.359526 98.37% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  3346. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  3347. and you must configure your device to use the proper domain in its authentication credentials.
  3348. 2022-04-26 13:45:36.359526 98.37% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  3349. freeswitch@ip-172-31-14-218>
  3350. freeswitch@ip-172-31-14-218>
  3351. freeswitch@ip-172-31-14-218>
  3352. freeswitch@ip-172-31-14-218>
  3353. freeswitch@ip-172-31-14-218>
  3354. freeswitch@ip-172-31-14-218>
  3355. freeswitch@ip-172-31-14-218>
  3356. freeswitch@ip-172-31-14-218> /exit
  3357.  
  3358. You have new mail in /var/mail/root
  3359. root@ip-172-31-14-218:/usr/share/freeswitch#
  3360. root@ip-172-31-14-218:/usr/share/freeswitch#
  3361. root@ip-172-31-14-218:/usr/share/freeswitch#
  3362. root@ip-172-31-14-218:/usr/share/freeswitch#
  3363. root@ip-172-31-14-218:/usr/share/freeswitch#
  3364. root@ip-172-31-14-218:/usr/share/freeswitch#
  3365. root@ip-172-31-14-218:/usr/share/freeswitch#
  3366. root@ip-172-31-14-218:/usr/share/freeswitch#
  3367. root@ip-172-31-14-218:/usr/share/freeswitch#
  3368. root@ip-172-31-14-218:/usr/share/freeswitch#
  3369. root@ip-172-31-14-218:/usr/share/freeswitch#
  3370. root@ip-172-31-14-218:/usr/share/freeswitch#
  3371. root@ip-172-31-14-218:/usr/share/freeswitch#
  3372. root@ip-172-31-14-218:/usr/share/freeswitch#
  3373. root@ip-172-31-14-218:/usr/share/freeswitch#
  3374. root@ip-172-31-14-218:/usr/share/freeswitch#
  3375. root@ip-172-31-14-218:/usr/share/freeswitch#
  3376. root@ip-172-31-14-218:/usr/share/freeswitch#
  3377. root@ip-172-31-14-218:/usr/share/freeswitch#
  3378. root@ip-172-31-14-218:/usr/share/freeswitch#
  3379. root@ip-172-31-14-218:/usr/share/freeswitch#
  3380. root@ip-172-31-14-218:/usr/share/freeswitch#
  3381. root@ip-172-31-14-218:/usr/share/freeswitch#
  3382. root@ip-172-31-14-218:/usr/share/freeswitch#
  3383. root@ip-172-31-14-218:/usr/share/freeswitch# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  3384. .=======================================================.
  3385. |            _____ ____     ____ _     ___              |
  3386. |           |  ___/ ___|   / ___| |   |_ _|             |
  3387. |           | |_  \___ \  | |   | |    | |              |
  3388. |           |  _|  ___) | | |___| |___ | |              |
  3389. |           |_|   |____/   \____|_____|___|             |
  3390. |                                                       |
  3391. .=======================================================.
  3392. | Anthony Minessale II, Ken Rice,                       |
  3393. | Michael Jerris, Travis Cross                          |
  3394. | FreeSWITCH (http://www.freeswitch.org)                |
  3395. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  3396. | Brought to you by ClueCon http://www.cluecon.com/     |
  3397. .=======================================================.
  3398.  
  3399. .=======================================================================================================.
  3400. |       _                            _    ____ _             ____                                       |
  3401. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  3402. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  3403. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  3404. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  3405. |                                                                                                       |
  3406. |    ____ _____ ____    ____             __                                                             |
  3407. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  3408. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  3409. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  3410. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  3411. |                                                                                                       |
  3412. |     ____ _             ____                                                                           |
  3413. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  3414. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  3415. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  3416. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  3417. |                                                                                                       |
  3418. .=======================================================================================================.
  3419.  
  3420. Type /help <enter> to see a list of commands
  3421.  
  3422.  
  3423.  
  3424.  
  3425. [This app Best viewed at 160x60 or more..]
  3426. +OK log level  [7]
  3427. freeswitch@ip-172-31-14-218>
  3428. freeswitch@ip-172-31-14-218>
  3429. freeswitch@ip-172-31-14-218>
  3430. freeswitch@ip-172-31-14-218>
  3431. 2022-04-26 13:45:53.659470 98.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [c17830f2-a718-4484-8253-03abd4b57061]
  3432. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 33)
  3433. 2022-04-26 13:45:53.659470 98.50% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 085e709f-400a-123b-3db3-ba05d31eb9f9
  3434. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  3435. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  3436. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  3437. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  3438. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:7509 Remote SDP:
  3439. v=0
  3440. o=FreeSWITCH 1650956151 1650956152 IN IP4 46.101.114.158
  3441. s=FreeSWITCH
  3442. c=IN IP4 46.101.114.158
  3443. t=0 0
  3444. m=audio 24602 RTP/AVP 0 101
  3445. a=rtpmap:0 PCMU/8000
  3446. a=rtpmap:101 telephone-event/8000
  3447. a=fmtp:101 0-16
  3448. a=ptime:20
  3449.  
  3450. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3451. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3452. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3453. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  3454. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  3455. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  3456. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  3457. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  3458. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  3459. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  3460. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 33)
  3461. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  3462. 2022-04-26 13:45:53.659470 98.50% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  3463. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  3464. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  3465. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  3466. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 33)
  3467. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  3468. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  3469. 2022-04-26 13:45:53.659470 98.50% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  3470. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  3471. 2022-04-26 13:45:53.659470 98.50% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  3472. 2022-04-26 13:45:53.659470 98.50% [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')
  3473. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3474. 2022-04-26 13:45:53.659470 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  3475. 2022-04-26 13:45:53.659470 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7701111
  3476. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7701111' limit 1
  3477. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7701111' AND status=0 limit 1
  3478. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7701111' and status=0 LIMIT 1
  3479. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault
  3480. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3481. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '3.7.66.233' limit 1
  3482. 2022-04-26 13:45:53.679424 98.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  3483. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8871343676 / <null>
  3484. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1
  3485. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770111 AND status=0 limit 1
  3486. 2022-04-26 13:45:53.679424 98.50% [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 ="7701111" LIMIT 1
  3487. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  3488. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3489. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  3490. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 46.101.114.158
  3491. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7073582043]
  3492. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7073582043" AND deleted = 0 limit 1
  3493. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  3494. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7701111" AND (accountid = 0 OR status = 1) LIMIT 1
  3495. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  3496. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  3497. 2022-04-26 13:45:53.679424 98.50% [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 = '^7701111.*' OR patterns = '^770111.*' OR patterns = '^77011.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  3498. 2022-04-26 13:45:53.679424 98.50% [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 ="7701111" AND A.accountid = '9' limit 1
  3499. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7701111
  3500. 2022-04-26 13:45:53.679424 98.50% [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 ="7701111" LIMIT 1
  3501. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  3502. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3503. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  3504. 2022-04-26 13:45:53.679424 98.50% [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 = '7701111' OR number = '770111' OR number = '77011' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7701111*' OR number = '770111*' OR number = '77011*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  3505. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  3506. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7701111' OR routing_prefix = '770111' OR routing_prefix = '77011' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  3507. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  3508. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  3509. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7073582043
  3510. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  3511. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11.3834
  3512. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  3513. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  3514. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  3515. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  3516. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  3517. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  3518. 2022-04-26 13:45:53.699420 98.50% [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 ="7701111" LIMIT 1
  3519. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  3520. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3521. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  3522. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  3523. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  3524. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  3525. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  3526. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  3527. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  3528. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  3529. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.45
  3530. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  3531. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  3532. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0
  3533. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  3534. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  3535. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3536. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  3537. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  3538. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 7701111
  3539. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  3540. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  3541. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  3542. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  3543. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  3544. 2022-04-26 13:45:53.699420 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  3545. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  3546. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  3547. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  3548. 2022-04-26 13:45:53.699420 98.50% [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 = 9 AND status=0 LIMIT 1
  3549. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  3550. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  3551. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  3552. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  3553. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7701111.*' OR pattern = '^770111.*' OR pattern = '^77011.*' OR pattern = '^7701.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^<null>.*' OR caller_id_pattern = '^<null.*' OR caller_id_pattern = '^<nul.*' OR caller_id_pattern = '^<nu.*' OR caller_id_pattern = '^<n.*' OR caller_id_pattern = '^<.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  3554. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  3555. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  3556. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  3557. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  3558. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  3559. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  3560. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  3561. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  3562. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.45
  3563. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  3564. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  3565. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  3566. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  3567. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  3568. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3569. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  3570. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  3571. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  3572. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  3573. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  3574. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  3575. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  3576. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  3577. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  3578. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  3579. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  3580. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  3581. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  3582. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  3583. 2022-04-26 13:45:53.719423 98.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : w07version62.astppbilling.org
  3584. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  3585. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3586. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  3587. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  3588. 2022-04-26 13:45:53.719423 98.50% [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 = "9998913119" AND accounts.status = 0
  3589. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  3590. 2022-04-26 13:45:53.719423 98.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : w07version62.astppbilling.org
  3591. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  3592. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  3593. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  3594. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9998913119
  3595. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  3596. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  3597. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  3598. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  3599. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  3600. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  3601. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  3602. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  3603. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  3604. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  3605. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC11]
  3606. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  3607. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  3608. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 2
  3609. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  3610. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  3611. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  3612. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  3613. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  3614. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  3615. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  3616. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  3617. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  3618. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  3619. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3620. <document type="freeswitch/xml">
  3621. <section name="dialplan" description="ASTPP Dialplan">
  3622. <context name="default">
  3623. <extension name="7701111">
  3624. <condition field="destination_number" expression="7701111">
  3625. <action application="set" data="effective_destination_number=7701111"/>
  3626. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3627. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  3628. <action application="set" data="callstart=2022-04-26 13:45:53"/>
  3629. <action application="set" data="hangup_after_bridge=true"/>
  3630. <action application="set" data="continue_on_fail=TRUE"/>
  3631. <action application="set" data="account_id=9"/>
  3632. <action application="set" data="parent_id=0"/>
  3633. <action application="set" data="entity_id=3"/>
  3634. <action application="set" data="call_processed=internal"/>
  3635. <action application="set" data="call_direction=inbound"/>
  3636. <action application="set" data="accountname=default"/>
  3637. <action application="set" data="filename1=astpp.pbx.lua"/>
  3638. <action application="set" data="origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5"/>
  3639. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9"/>
  3640. <action application="set" data="original_caller_id_name=8871343676"/>
  3641. <action application="set" data="effective_caller_id_name=8871343676"/>
  3642. <action application="set" data="receiver_accid=5"/>
  3643. <action application="set" data="did_id=1"/>
  3644. <action application="set" data="transfer_call_type=5"/>
  3645. <action application="set" data="transfer_extensions=9998988398"/>
  3646. <action application="set" data="busy_status=0"/>
  3647. <action application="set" data="no_answer_status=1"/>
  3648. <action application="set" data="always_status=1"/>
  3649. <action application="set" data="transfer_status=0"/>
  3650. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  3651. <action application="set" data="variable_sip_network_ip=172.31.14.218"/>
  3652. <action application="set" data="variable_sip_network_port=5066"/>
  3653. <action application="export" data="domain_name=w07version62.astppbilling.org"/>
  3654. <action application="export" data="sip_to_host=w07version62.astppbilling.org"/>
  3655. <action application="export" data="presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158"/>
  3656. <action application="export" data="call_type=0"/>
  3657. <action application="set" data="calltype=DID-LOCAL"/>
  3658. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  3659. <action application="set" data="dialed_extension=transfer_call"/>
  3660. <action application="export" data="dialed_extension=transfer_call"/>
  3661. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  3662. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  3663. <action application="set" data="hangup_after_bridge=true"/>
  3664. <action application="export" data="did_user_domain=w07version62.astppbilling.org"/>
  3665. <action application="set" data="sip_h_X-call-type=did"/>
  3666. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  3667. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  3668. <action application="set" data="dialed_extension=transfer_call"/>
  3669. <action application="export" data="dialed_extension=transfer_call"/>
  3670. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  3671. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  3672. <action application="set" data="transfer_ringback=$${hold_music}"/>
  3673. <action application="set" data="hangup_after_bridge=true"/>
  3674. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/${sofia_profile_name}/9998913119@w07version62.astppbilling.org:5066"/>
  3675. <action application="set" data="on_busy_flag=1"/>
  3676. <action application="set" data="on_busy_destination="/>
  3677. <action application="set" data="no_answer_flag=1"/>
  3678. <action application="set" data="no_answer_destination="/>
  3679. <action application="set" data="not_register_flag=1"/>
  3680. <action application="set" data="not_register_destination="/>
  3681. <action application="set" data="opensips_flag=0"/>
  3682. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  3683. <action application="set" data="opensips_domain=172.31.14.218"/>
  3684. <action application="set" data="leg_timeout=20"/>
  3685. <action application="set" data="userinfo_id=5"/>
  3686. <action application="set" data="sip_destination_number=9998913119"/>
  3687. <action application="set" data="did_number=9998913119"/>
  3688. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  3689. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  3690. <action application="set" data="on_busy_flag=1"/>
  3691. <action application="set" data="on_busy_destination="/>
  3692. <action application="set" data="no_answer_flag=1"/>
  3693. <action application="set" data="no_answer_destination="/>
  3694. <action application="set" data="not_register_flag=1"/>
  3695. <action application="set" data="not_register_destination="/>
  3696. <action application="set" data="opensips_flag=0"/>
  3697. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  3698. <action application="set" data="opensips_domain=172.31.14.218"/>
  3699. <action application="set" data="leg_timeout=20"/>
  3700. <action application="set" data="userinfo_id=5"/>
  3701. <action application="set" data="sip_destination_number=9998913119"/>
  3702. <action application="set" data="destination_number=9998913119"/>
  3703. <action application="set" data="did_number=7701111"/>
  3704. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  3705. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  3706. <condition field="${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  3707. <action application="answer"/>
  3708. <action application="export" data="voicemail_alternate_greet_id=9998913119"/>
  3709. <action application="voicemail" data="default $${domain_name} 9998913119"/>
  3710. <anti-action application="hangup" data="${originate_disposition}"/>
  3711. </condition>
  3712. </condition>
  3713. </extension>
  3714. </context>
  3715. </section>
  3716. </document>
  3717. Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->7701111] continue=false
  3718. Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [7701111] destination_number(7701111) =~ /7701111/ break=on-false
  3719. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=7701111)
  3720. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3721. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3722. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-26 13:45:53)
  3723. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  3724. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE)
  3725. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=9)
  3726. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0)
  3727. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3)
  3728. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal)
  3729. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound)
  3730. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=default)
  3731. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(filename1=astpp.pbx.lua)
  3732. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  3733. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  3734. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=8871343676)
  3735. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=8871343676)
  3736. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5)
  3737. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  3738. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_call_type=5)
  3739. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_extensions=9998988398)
  3740. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(busy_status=0)
  3741. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_status=1)
  3742. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(always_status=1)
  3743. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_status=0)
  3744. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=${domain_name})
  3745. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_ip=172.31.14.218)
  3746. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_port=5066)
  3747. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=w07version62.astppbilling.org)
  3748. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=w07version62.astppbilling.org)
  3749. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  3750. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=0)
  3751. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(calltype=DID-LOCAL)
  3752. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  3753. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  3754. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  3755. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3756. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3757. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  3758. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(did_user_domain=w07version62.astppbilling.org)
  3759. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_h_X-call-type=did)
  3760. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_h_X-did-call-type=DID-LOCAL)
  3761. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  3762. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  3763. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  3764. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3765. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3766. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  3767. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  3768. Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/${sofia_profile_name}/9998913119@w07version62.astppbilling.org:5066)
  3769. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  3770. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  3771. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  3772. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  3773. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  3774. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  3775. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=0)
  3776. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  3777. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  3778. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  3779. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  3780. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  3781. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=9998913119)
  3782. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  3783. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  3784. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  3785. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  3786. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  3787. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  3788. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  3789. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  3790. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=0)
  3791. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  3792. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  3793. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  3794. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  3795. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  3796. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(destination_number=9998913119)
  3797. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=7701111)
  3798. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  3799. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  3800. |--- Dialplan: Processing recursive conditions level:1 [7701111_recur_1] require-nested=TRUE
  3801. |--- Dialplan: sofia/default/8871343676@46.101.114.158 Regex (FAIL) [7701111_recur_1] ${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  3802. |--- Dialplan: sofia/default/8871343676@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  3803. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  3804. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  3805. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 33)
  3806. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE
  3807. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE
  3808. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE
  3809. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=7701111)
  3810. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[7701111]
  3811. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  3812. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3813. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3814. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  3815. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-26 13:45:53)
  3816. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-26 13:45:53]
  3817. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  3818. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  3819. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE)
  3820. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE]
  3821. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=9)
  3822. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[9]
  3823. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0)
  3824. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0]
  3825. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3)
  3826. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3]
  3827. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal)
  3828. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal]
  3829. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound)
  3830. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound]
  3831. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=default)
  3832. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[default]
  3833. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(filename1=astpp.pbx.lua)
  3834. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [filename1]=[astpp.pbx.lua]
  3835. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  3836. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5]
  3837. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  3838. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9]
  3839. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=8871343676)
  3840. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[8871343676]
  3841. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=8871343676)
  3842. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[8871343676]
  3843. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5)
  3844. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5]
  3845. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  3846. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  3847. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_call_type=5)
  3848. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_call_type]=[5]
  3849. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_extensions=9998988398)
  3850. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_extensions]=[9998988398]
  3851. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(busy_status=0)
  3852. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [busy_status]=[0]
  3853. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_status=1)
  3854. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_status]=[1]
  3855. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(always_status=1)
  3856. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [always_status]=[1]
  3857. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_status=0)
  3858. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_status]=[0]
  3859. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=172.31.14.218)
  3860. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[172.31.14.218]
  3861. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_ip=172.31.14.218)
  3862. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_ip]=[172.31.14.218]
  3863. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_port=5066)
  3864. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_port]=[5066]
  3865. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=w07version62.astppbilling.org)
  3866. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[w07version62.astppbilling.org]
  3867. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=w07version62.astppbilling.org)
  3868. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[w07version62.astppbilling.org]
  3869. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  3870. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158]
  3871. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=0)
  3872. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  3873. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(calltype=DID-LOCAL)
  3874. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [calltype]=[DID-LOCAL]
  3875. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/c17830f2-a718-4484-8253-03abd4b57061)
  3876. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  3877. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  3878. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  3879. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  3880. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3881. 2022-04-26 13:45:53.759418 98.50% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  3882. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3883. 2022-04-26 13:45:53.759418 98.50% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  3884. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  3885. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  3886. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(did_user_domain=w07version62.astppbilling.org)
  3887. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[w07version62.astppbilling.org]
  3888. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_h_X-call-type=did)
  3889. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_h_X-call-type]=[did]
  3890. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_h_X-did-call-type=DID-LOCAL)
  3891. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_h_X-did-call-type]=[DID-LOCAL]
  3892. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/c17830f2-a718-4484-8253-03abd4b57061)
  3893. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  3894. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  3895. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  3896. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  3897. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3898. 2022-04-26 13:45:53.759418 98.50% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  3899. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3900. 2022-04-26 13:45:53.759418 98.50% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  3901. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_ringback=local_stream://moh)
  3902. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  3903. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  3904. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  3905. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/default/9998913119@w07version62.astppbilling.org:5066)
  3906. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version62.astppbilling.org] to event
  3907. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version62.astppbilling.org] to event
  3908. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  3909. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  3910. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  3911. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[w07version62.astppbilling.org] to event
  3912. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  3913. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  3914. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  3915. 2022-04-26 13:45:53.759418 98.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 [4c66bd7f-1fe3-42fd-8fe3-3fffb66b0ca2]
  3916. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_sofia.c:5121 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_NEW -> CS_INIT
  3917. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998913119@w07version62.astppbilling.org:5066 Setting leg timeout to 20
  3918. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_INIT (Cur 2 Tot 34)
  3919. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State INIT
  3920. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_sofia.c:97 sofia/default/9998913119@w07version62.astppbilling.org:5066 SOFIA INIT
  3921. 2022-04-26 13:45:53.759418 98.50% [INFO] sofia_glue.c:1651 sofia/default/9998913119@w07version62.astppbilling.org:5066 sending invite call-id: (null)
  3922. 2022-04-26 13:45:53.759418 98.50% [DEBUG] sofia_glue.c:1654 sofia/default/9998913119@w07version62.astppbilling.org:5066 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  3923. Local SDP:
  3924. v=0
  3925. o=FreeSWITCH 1650955843 1650955844 IN IP4 172.31.14.218
  3926. s=FreeSWITCH
  3927. c=IN IP4 172.31.14.218
  3928. t=0 0
  3929. m=audio 24910 RTP/AVP 0 101
  3930. a=rtpmap:0 PCMU/8000
  3931. a=rtpmap:101 telephone-event/8000
  3932. a=fmtp:101 0-15
  3933. a=ptime:20
  3934. a=sendrecv
  3935.  
  3936. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard INIT
  3937. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_INIT -> CS_ROUTING
  3938. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State INIT going to sleep
  3939. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_ROUTING (Cur 2 Tot 34)
  3940. 2022-04-26 13:45:53.759418 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 entering state [calling][0]
  3941. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State ROUTING
  3942. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_sofia.c:158 sofia/default/9998913119@w07version62.astppbilling.org:5066 SOFIA ROUTING
  3943. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3944. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State ROUTING going to sleep
  3945. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 34)
  3946. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State CONSUME_MEDIA
  3947. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State CONSUME_MEDIA going to sleep
  3948. 2022-04-26 13:45:53.879451 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 entering state [proceeding][180]
  3949. 2022-04-26 13:45:53.879451 98.50% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/9998913119@w07version62.astppbilling.org:5066!
  3950. 2022-04-26 13:45:53.879451 98.50% [DEBUG] switch_channel.c:3494 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Callstate Change DOWN -> RINGING
  3951. 2022-04-26 13:45:53.899425 98.50% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/8871343676@46.101.114.158!
  3952. 2022-04-26 13:45:53.899425 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [early][180]
  3953. 2022-04-26 13:45:53.899425 98.50% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/8871343676@46.101.114.158!
  3954. 2022-04-26 13:45:57.459436 98.07% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  3955. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  3956. and you must configure your device to use the proper domain in its authentication credentials.
  3957. 2022-04-26 13:45:57.459436 98.07% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  3958. 2022-04-26 13:45:58.139463 98.07% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 entering state [terminated][486]
  3959. 2022-04-26 13:45:58.139463 98.07% [NOTICE] sofia.c:8738 Hangup sofia/default/9998913119@w07version62.astppbilling.org:5066 [CS_CONSUME_MEDIA] [USER_BUSY]
  3960. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_HANGUP (Cur 2 Tot 34)
  3961. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Callstate Change RINGING -> HANGUP
  3962. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State HANGUP
  3963. 2022-04-26 13:45:58.139463 98.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 hanging up, cause: USER_BUSY
  3964. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard HANGUP, cause: USER_BUSY
  3965. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State HANGUP going to sleep
  3966. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_HANGUP -> CS_REPORTING
  3967. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_REPORTING (Cur 2 Tot 34)
  3968. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State REPORTING
  3969. 2022-04-26 13:45:58.139463 98.07% [INFO] mod_json_cdr.c:271 Process [4c66bd7f-1fe3-42fd-8fe3-3fffb66b0ca2.cdr.json]
  3970. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  3971. 2022-04-26 13:45:58.139463 98.07% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_BUSY
  3972. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_flag=1)
  3973. 2022-04-26 13:45:58.139463 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_flag]=[1]
  3974. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_destination=)
  3975. 2022-04-26 13:45:58.139463 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_destination]=[UNDEF]
  3976. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_flag=1)
  3977. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_flag]=[1]
  3978. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_destination=)
  3979. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_destination]=[UNDEF]
  3980. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_flag=1)
  3981. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_flag]=[1]
  3982. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_destination=)
  3983. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_destination]=[UNDEF]
  3984. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_flag=0)
  3985. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_flag]=[0]
  3986. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=w07version62.astppbilling.org)
  3987. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[w07version62.astppbilling.org]
  3988. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_domain=172.31.14.218)
  3989. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_domain]=[172.31.14.218]
  3990. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  3991. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  3992. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(userinfo_id=5)
  3993. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [userinfo_id]=[5]
  3994. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_destination_number=9998913119)
  3995. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_destination_number]=[9998913119]
  3996. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_number=9998913119)
  3997. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_number]=[9998913119]
  3998. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(user_domain=w07version62.astppbilling.org)
  3999. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [user_domain]=[w07version62.astppbilling.org]
  4000. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  4001. 2022-04-26 13:45:58.159421 98.07% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  4002. stack traceback:
  4003.         [C]: in function 'dofile'
  4004.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:17: in main chunk
  4005. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  4006. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_flag=1)
  4007. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_flag]=[1]
  4008. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_destination=)
  4009. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_destination]=[UNDEF]
  4010. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_flag=1)
  4011. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_flag]=[1]
  4012. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_destination=)
  4013. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_destination]=[UNDEF]
  4014. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_flag=1)
  4015. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_flag]=[1]
  4016. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_destination=)
  4017. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_destination]=[UNDEF]
  4018. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_flag=0)
  4019. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_flag]=[0]
  4020. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=w07version62.astppbilling.org)
  4021. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[w07version62.astppbilling.org]
  4022. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_domain=172.31.14.218)
  4023. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_domain]=[172.31.14.218]
  4024. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  4025. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  4026. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(userinfo_id=5)
  4027. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [userinfo_id]=[5]
  4028. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_destination_number=9998913119)
  4029. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_destination_number]=[9998913119]
  4030. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(destination_number=9998913119)
  4031. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [destination_number]=[9998913119]
  4032. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_number=7701111)
  4033. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_number]=[7701111]
  4034. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(user_domain=w07version62.astppbilling.org)
  4035. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [user_domain]=[w07version62.astppbilling.org]
  4036. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  4037. 2022-04-26 13:45:58.159421 98.07% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  4038. stack traceback:
  4039.         [C]: in function 'dofile'
  4040.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:17: in main chunk
  4041. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  4042. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 hangup(USER_BUSY)
  4043. 2022-04-26 13:45:58.159421 98.07% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [USER_BUSY]
  4044. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  4045. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep
  4046. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 34)
  4047. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> HANGUP
  4048. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  4049. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 486 with 486 from the other leg
  4050. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: USER_BUSY
  4051. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 486
  4052. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: USER_BUSY
  4053. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  4054. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  4055. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 34)
  4056. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  4057. 2022-04-26 13:45:58.159421 98.07% [INFO] mod_json_cdr.c:271 Process [c17830f2-a718-4484-8253-03abd4b57061.cdr.json]
  4058. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard REPORTING, cause: USER_BUSY
  4059. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State REPORTING going to sleep
  4060. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_REPORTING -> CS_DESTROY
  4061. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_session.c:1753 Session 34 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Locked, Waiting on external entities
  4062. 2022-04-26 13:45:58.199471 98.07% [NOTICE] switch_core_session.c:1771 Session 34 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Ended
  4063. 2022-04-26 13:45:58.199471 98.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 [CS_DESTROY]
  4064. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_DESTROY (Cur 1 Tot 34)
  4065. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State DESTROY
  4066. 2022-04-26 13:45:58.199471 98.07% [DEBUG] mod_sofia.c:379 sofia/default/9998913119@w07version62.astppbilling.org:5066 SOFIA DESTROY
  4067. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard DESTROY
  4068. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State DESTROY going to sleep
  4069. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: USER_BUSY
  4070. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  4071. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  4072. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_session.c:1753 Session 33 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  4073. 2022-04-26 13:45:58.219448 98.07% [NOTICE] switch_core_session.c:1771 Session 33 (sofia/default/8871343676@46.101.114.158) Ended
  4074. 2022-04-26 13:45:58.219448 98.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  4075. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 34)
  4076. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  4077. 2022-04-26 13:45:58.219448 98.07% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  4078. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  4079. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  4080. freeswitch@ip-172-31-14-218>
  4081. freeswitch@ip-172-31-14-218>
  4082. freeswitch@ip-172-31-14-218>
  4083. freeswitch@ip-172-31-14-218>
  4084. freeswitch@ip-172-31-14-218>
  4085. freeswitch@ip-172-31-14-218> /exit
  4086.  
  4087. root@ip-172-31-14-218:/usr/share/freeswitch#
  4088. You have new mail in /var/mail/root
  4089. root@ip-172-31-14-218:/usr/share/freeswitch#
  4090. root@ip-172-31-14-218:/usr/share/freeswitch#
  4091. root@ip-172-31-14-218:/usr/share/freeswitch#
  4092. root@ip-172-31-14-218:/usr/share/freeswitch#
  4093. root@ip-172-31-14-218:/usr/share/freeswitch#
  4094. root@ip-172-31-14-218:/usr/share/freeswitch#
  4095. root@ip-172-31-14-218:/usr/share/freeswitch#
  4096. root@ip-172-31-14-218:/usr/share/freeswitch#
  4097. root@ip-172-31-14-218:/usr/share/freeswitch#
  4098. root@ip-172-31-14-218:/usr/share/freeswitch#
  4099. root@ip-172-31-14-218:/usr/share/freeswitch#
  4100. root@ip-172-31-14-218:/usr/share/freeswitch#
  4101. root@ip-172-31-14-218:/usr/share/freeswitch#
  4102. root@ip-172-31-14-218:/usr/share/freeswitch#
  4103. root@ip-172-31-14-218:/usr/share/freeswitch#
  4104. root@ip-172-31-14-218:/usr/share/freeswitch#
  4105. root@ip-172-31-14-218:/usr/share/freeswitch#
  4106. root@ip-172-31-14-218:/usr/share/freeswitch#
  4107. root@ip-172-31-14-218:/usr/share/freeswitch#
  4108. root@ip-172-31-14-218:/usr/share/freeswitch#
  4109. root@ip-172-31-14-218:/usr/share/freeswitch#
  4110. root@ip-172-31-14-218:/usr/share/freeswitch#
  4111. root@ip-172-31-14-218:/usr/share/freeswitch# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  4112. .=======================================================.
  4113. |            _____ ____     ____ _     ___              |
  4114. |           |  ___/ ___|   / ___| |   |_ _|             |
  4115. |           | |_  \___ \  | |   | |    | |              |
  4116. |           |  _|  ___) | | |___| |___ | |              |
  4117. |           |_|   |____/   \____|_____|___|             |
  4118. |                                                       |
  4119. .=======================================================.
  4120. | Anthony Minessale II, Ken Rice,                       |
  4121. | Michael Jerris, Travis Cross                          |
  4122. | FreeSWITCH (http://www.freeswitch.org)                |
  4123. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  4124. | Brought to you by ClueCon http://www.cluecon.com/     |
  4125. .=======================================================.
  4126.  
  4127. .=======================================================================================================.
  4128. |       _                            _    ____ _             ____                                       |
  4129. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  4130. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  4131. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  4132. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  4133. |                                                                                                       |
  4134. |    ____ _____ ____    ____             __                                                             |
  4135. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  4136. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  4137. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  4138. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  4139. |                                                                                                       |
  4140. |     ____ _             ____                                                                           |
  4141. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  4142. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  4143. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  4144. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  4145. |                                                                                                       |
  4146. .=======================================================================================================.
  4147.  
  4148. Type /help <enter> to see a list of commands
  4149.  
  4150.  
  4151.  
  4152.  
  4153. [This app Best viewed at 160x60 or more..]
  4154. +OK log level  [7]
  4155. freeswitch@ip-172-31-14-218>
  4156. freeswitch@ip-172-31-14-218>
  4157. freeswitch@ip-172-31-14-218>
  4158. freeswitch@ip-172-31-14-218>
  4159. freeswitch@ip-172-31-14-218>
  4160. freeswitch@ip-172-31-14-218>
  4161. freeswitch@ip-172-31-14-218>
  4162. freeswitch@ip-172-31-14-218>
  4163. 2022-04-26 13:50:14.799424 95.23% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  4164. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  4165. and you must configure your device to use the proper domain in its authentication credentials.
  4166. 2022-04-26 13:50:14.799424 95.23% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  4167. 2022-04-26 13:50:35.899425 95.77% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  4168. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  4169. and you must configure your device to use the proper domain in its authentication credentials.
  4170. 2022-04-26 13:50:35.899425 95.77% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  4171. freeswitch@ip-172-31-14-218>
  4172. freeswitch@ip-172-31-14-218>
  4173. freeswitch@ip-172-31-14-218>
  4174. freeswitch@ip-172-31-14-218>
  4175. freeswitch@ip-172-31-14-218>
  4176. freeswitch@ip-172-31-14-218>
  4177. freeswitch@ip-172-31-14-218>
  4178. freeswitch@ip-172-31-14-218>
  4179. freeswitch@ip-172-31-14-218>
  4180. freeswitch@ip-172-31-14-218>
  4181. freeswitch@ip-172-31-14-218>
  4182. 2022-04-26 13:50:56.279446 93.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [1103a8bc-21bc-40ed-8a60-c0a8a7d28f48]
  4183. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 35)
  4184. 2022-04-26 13:50:56.279446 93.57% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: bcbf5971-400a-123b-3db3-ba05d31eb9f9
  4185. 2022-04-26 13:50:56.279446 93.57% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  4186. 2022-04-26 13:50:56.279446 93.57% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  4187. 2022-04-26 13:50:56.279446 93.57% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  4188. 2022-04-26 13:50:56.279446 93.57% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  4189. 2022-04-26 13:50:56.279446 93.57% [DEBUG] sofia.c:7509 Remote SDP:
  4190. v=0
  4191. o=FreeSWITCH 1650954162 1650954163 IN IP4 46.101.114.158
  4192. s=FreeSWITCH
  4193. c=IN IP4 46.101.114.158
  4194. t=0 0
  4195. m=audio 26894 RTP/AVP 0 101
  4196. a=rtpmap:0 PCMU/8000
  4197. a=rtpmap:101 telephone-event/8000
  4198. a=fmtp:101 0-16
  4199. a=ptime:20
  4200.  
  4201. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4202. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4203. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  4204. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  4205. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  4206. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  4207. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  4208. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  4209. 2022-04-26 13:50:56.279446 93.57% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  4210. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  4211. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 35)
  4212. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  4213. 2022-04-26 13:50:56.279446 93.57% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  4214. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  4215. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  4216. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  4217. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 35)
  4218. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  4219. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  4220. 2022-04-26 13:50:56.279446 93.57% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  4221. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  4222. 2022-04-26 13:50:56.279446 93.57% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  4223. 2022-04-26 13:50:56.279446 93.57% [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')
  4224. 2022-04-26 13:50:56.279446 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4225. 2022-04-26 13:50:56.299420 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7701111
  4226. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7701111' AND status=0 limit 1
  4227. 2022-04-26 13:50:56.299420 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault
  4228. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4229. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '7701111' limit 1
  4230. 2022-04-26 13:50:56.299420 93.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  4231. 2022-04-26 13:50:56.299420 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8871343676 / <null>
  4232. 2022-04-26 13:50:56.299420 93.57% [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 ="7701111" LIMIT 1
  4233. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  4234. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4235. 2022-04-26 13:50:56.299420 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  4236. 2022-04-26 13:50:56.299420 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 46.101.114.158
  4237. 2022-04-26 13:50:56.299420 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7073582043]
  4238. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7073582043" AND deleted = 0 limit 1
  4239. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  4240. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7701111" AND (accountid = 0 OR status = 1) LIMIT 1
  4241. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  4242. 2022-04-26 13:50:56.299420 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  4243. 2022-04-26 13:50:56.299420 93.57% [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 = '^7701111.*' OR patterns = '^770111.*' OR patterns = '^77011.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  4244. 2022-04-26 13:50:56.299420 93.57% [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 ="7701111" AND A.accountid = '9' limit 1
  4245. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7701111
  4246. 2022-04-26 13:50:56.319422 93.57% [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 ="7701111" LIMIT 1
  4247. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  4248. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4249. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  4250. 2022-04-26 13:50:56.319422 93.57% [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 = '7701111' OR number = '770111' OR number = '77011' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7701111*' OR number = '770111*' OR number = '77011*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  4251. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  4252. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7701111' OR routing_prefix = '770111' OR routing_prefix = '77011' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  4253. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  4254. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  4255. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7073582043
  4256. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  4257. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11.3834
  4258. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  4259. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  4260. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  4261. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  4262. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  4263. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  4264. 2022-04-26 13:50:56.319422 93.57% [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 ="7701111" LIMIT 1
  4265. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  4266. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4267. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  4268. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  4269. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  4270. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  4271. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  4272. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  4273. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  4274. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  4275. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.50
  4276. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  4277. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  4278. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0
  4279. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  4280. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  4281. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  4282. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  4283. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  4284. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 7701111
  4285. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  4286. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  4287. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  4288. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  4289. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  4290. 2022-04-26 13:50:56.319422 93.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  4291. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  4292. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  4293. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  4294. 2022-04-26 13:50:56.319422 93.57% [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 = 9 AND status=0 LIMIT 1
  4295. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  4296. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  4297. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  4298. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  4299. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7701111.*' OR pattern = '^770111.*' OR pattern = '^77011.*' OR pattern = '^7701.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^<null>.*' OR caller_id_pattern = '^<null.*' OR caller_id_pattern = '^<nul.*' OR caller_id_pattern = '^<nu.*' OR caller_id_pattern = '^<n.*' OR caller_id_pattern = '^<.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  4300. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  4301. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  4302. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  4303. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  4304. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  4305. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  4306. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  4307. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  4308. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.50
  4309. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  4310. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  4311. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  4312. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  4313. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  4314. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  4315. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  4316. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  4317. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  4318. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  4319. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  4320. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  4321. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  4322. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  4323. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  4324. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  4325. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  4326. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  4327. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  4328. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  4329. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4330. 2022-04-26 13:50:56.319422 93.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  4331. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  4332. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  4333. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  4334. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119" limit 1
  4335. 2022-04-26 13:50:56.319422 93.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4336. <document type="freeswitch/xml">
  4337. <section name="dialplan" description="ASTPP Dialplan">
  4338. <context name="default">
  4339. <extension name="7701111">
  4340. <condition field="destination_number" expression="7701111">
  4341. <action application="set" data="effective_destination_number=7701111"/>
  4342. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  4343. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  4344. <action application="set" data="callstart=2022-04-26 13:50:56"/>
  4345. <action application="set" data="hangup_after_bridge=true"/>
  4346. <action application="set" data="continue_on_fail=TRUE"/>
  4347. <action application="set" data="account_id=9"/>
  4348. <action application="set" data="parent_id=0"/>
  4349. <action application="set" data="entity_id=3"/>
  4350. <action application="set" data="call_processed=internal"/>
  4351. <action application="set" data="call_direction=inbound"/>
  4352. <action application="set" data="accountname=default"/>
  4353. <action application="set" data="filename1=astpp.pbx.lua"/>
  4354. <action application="set" data="origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5"/>
  4355. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9"/>
  4356. <action application="set" data="original_caller_id_name=8871343676"/>
  4357. <action application="set" data="effective_caller_id_name=8871343676"/>
  4358. <action application="set" data="receiver_accid=5"/>
  4359. <action application="set" data="did_id=1"/>
  4360. <action application="set" data="transfer_call_type=5"/>
  4361. <action application="set" data="transfer_extensions=9998988398"/>
  4362. <action application="set" data="busy_status=0"/>
  4363. <action application="set" data="no_answer_status=1"/>
  4364. <action application="set" data="always_status=1"/>
  4365. <action application="set" data="transfer_status=0"/>
  4366. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  4367. <action application="set" data="variable_sip_network_ip=172.31.14.218"/>
  4368. <action application="set" data="variable_sip_network_port=5066"/>
  4369. <action application="export" data="domain_name="/>
  4370. <action application="export" data="sip_to_host="/>
  4371. <action application="export" data="presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158"/>
  4372. <action application="export" data="call_type=0"/>
  4373. <action application="set" data="calltype=DID-LOCAL"/>
  4374. <action application="bridge" data="{sip_invite_params=user=LOCAL,sip_from_uri=9998913119@${domain_name}}[leg_timeout=20]sofia/${sofia_profile_name}/9998913119@172.31.14.218;fs_path=sip:172.31.14.218:5066"/>
  4375. <condition field="${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  4376. <action application="answer"/>
  4377. <action application="export" data="voicemail_alternate_greet_id=7701111"/>
  4378. <action application="voicemail" data="default $${domain_name} 9998913119"/>
  4379. <anti-action application="hangup" data="${originate_disposition}"/>
  4380. </condition>
  4381. <action application="set" data="did_id=1"/>
  4382. <action application="set" data="destination_number=7701111"/>
  4383. <action application="set" data="leg_timeout=20"/>
  4384. <action application="set" data="call_type_vm_flag=1"/>
  4385. <action application="set" data="is_local_extension=1"/>
  4386. <action application="lua" data="did_call_forwarding.lua"/>
  4387. </condition>
  4388. </extension>
  4389. </context>
  4390. </section>
  4391. </document>
  4392. Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->7701111] continue=false
  4393. Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [7701111] destination_number(7701111) =~ /7701111/ break=on-false
  4394. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=7701111)
  4395. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  4396. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4397. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-26 13:50:56)
  4398. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  4399. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE)
  4400. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=9)
  4401. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0)
  4402. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3)
  4403. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal)
  4404. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound)
  4405. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=default)
  4406. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(filename1=astpp.pbx.lua)
  4407. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  4408. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  4409. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=8871343676)
  4410. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=8871343676)
  4411. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5)
  4412. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  4413. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_call_type=5)
  4414. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_extensions=9998988398)
  4415. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(busy_status=0)
  4416. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_status=1)
  4417. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(always_status=1)
  4418. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_status=0)
  4419. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=${domain_name})
  4420. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_ip=172.31.14.218)
  4421. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_port=5066)
  4422. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=)
  4423. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=)
  4424. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  4425. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=0)
  4426. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(calltype=DID-LOCAL)
  4427. Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,sip_from_uri=9998913119@${domain_name}}[leg_timeout=20]sofia/${sofia_profile_name}/9998913119@172.31.14.218;fs_path=sip:172.31.14.218:5066)
  4428. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  4429. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(destination_number=7701111)
  4430. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  4431. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_type_vm_flag=1)
  4432. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(is_local_extension=1)
  4433. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(did_call_forwarding.lua)
  4434. |--- Dialplan: Processing recursive conditions level:1 [7701111_recur_1] require-nested=TRUE
  4435. |--- Dialplan: sofia/default/8871343676@46.101.114.158 Regex (FAIL) [7701111_recur_1] ${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  4436. |--- Dialplan: sofia/default/8871343676@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  4437. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  4438. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  4439. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 35)
  4440. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE
  4441. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE
  4442. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE
  4443. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=7701111)
  4444. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[7701111]
  4445. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  4446. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4447. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4448. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  4449. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-26 13:50:56)
  4450. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-26 13:50:56]
  4451. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  4452. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  4453. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE)
  4454. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE]
  4455. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=9)
  4456. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[9]
  4457. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0)
  4458. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0]
  4459. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3)
  4460. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3]
  4461. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal)
  4462. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal]
  4463. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound)
  4464. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound]
  4465. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=default)
  4466. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[default]
  4467. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(filename1=astpp.pbx.lua)
  4468. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [filename1]=[astpp.pbx.lua]
  4469. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  4470. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5]
  4471. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  4472. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9]
  4473. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=8871343676)
  4474. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[8871343676]
  4475. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=8871343676)
  4476. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[8871343676]
  4477. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5)
  4478. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5]
  4479. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  4480. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  4481. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_call_type=5)
  4482. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_call_type]=[5]
  4483. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_extensions=9998988398)
  4484. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_extensions]=[9998988398]
  4485. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(busy_status=0)
  4486. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [busy_status]=[0]
  4487. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_status=1)
  4488. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_status]=[1]
  4489. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(always_status=1)
  4490. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [always_status]=[1]
  4491. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_status=0)
  4492. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_status]=[0]
  4493. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=172.31.14.218)
  4494. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[172.31.14.218]
  4495. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_ip=172.31.14.218)
  4496. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_ip]=[172.31.14.218]
  4497. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_port=5066)
  4498. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_port]=[5066]
  4499. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=)
  4500. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  4501. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=)
  4502. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  4503. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  4504. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158]
  4505. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=0)
  4506. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  4507. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(calltype=DID-LOCAL)
  4508. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [calltype]=[DID-LOCAL]
  4509. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_invite_params=user=LOCAL,sip_from_uri=9998913119@172.31.14.218}[leg_timeout=20]sofia/default/9998913119@172.31.14.218;fs_path=sip:172.31.14.218:5066)
  4510. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  4511. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  4512. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  4513. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  4514. 2022-04-26 13:50:56.339435 93.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998913119@172.31.14.218 [45b9c8fc-c7c9-486d-bfb9-0bea8b2adb27]
  4515. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_sofia.c:5121 (sofia/default/9998913119@172.31.14.218) State Change CS_NEW -> CS_INIT
  4516. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998913119@172.31.14.218 Setting leg timeout to 20
  4517. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_INIT (Cur 2 Tot 36)
  4518. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@172.31.14.218) State INIT
  4519. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_sofia.c:97 sofia/default/9998913119@172.31.14.218 SOFIA INIT
  4520. 2022-04-26 13:50:56.339435 93.57% [DEBUG] sofia_glue.c:1620 sip:172.31.14.218:5066 Setting proxy route to sofia/default/9998913119@172.31.14.218
  4521. 2022-04-26 13:50:56.339435 93.57% [INFO] sofia_glue.c:1651 sofia/default/9998913119@172.31.14.218 sending invite call-id: (null)
  4522. 2022-04-26 13:50:56.339435 93.57% [DEBUG] sofia_glue.c:1654 sofia/default/9998913119@172.31.14.218 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  4523. Local SDP:
  4524. v=0
  4525. o=FreeSWITCH 1650957140 1650957141 IN IP4 172.31.14.218
  4526. s=FreeSWITCH
  4527. c=IN IP4 172.31.14.218
  4528. t=0 0
  4529. m=audio 23916 RTP/AVP 0 101
  4530. a=rtpmap:0 PCMU/8000
  4531. a=rtpmap:101 telephone-event/8000
  4532. a=fmtp:101 0-15
  4533. a=ptime:20
  4534. a=sendrecv
  4535.  
  4536. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998913119@172.31.14.218 Standard INIT
  4537. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998913119@172.31.14.218) State Change CS_INIT -> CS_ROUTING
  4538. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@172.31.14.218) State INIT going to sleep
  4539. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_ROUTING (Cur 2 Tot 36)
  4540. 2022-04-26 13:50:56.339435 93.57% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@172.31.14.218 entering state [calling][0]
  4541. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@172.31.14.218) State ROUTING
  4542. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_sofia.c:158 sofia/default/9998913119@172.31.14.218 SOFIA ROUTING
  4543. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9998913119@172.31.14.218) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4544. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@172.31.14.218) State ROUTING going to sleep
  4545. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 36)
  4546. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@172.31.14.218) State CONSUME_MEDIA
  4547. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@172.31.14.218) State CONSUME_MEDIA going to sleep
  4548. 2022-04-26 13:50:56.339435 93.57% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@172.31.14.218 entering state [terminated][404]
  4549. 2022-04-26 13:50:56.339435 93.57% [NOTICE] sofia.c:8738 Hangup sofia/default/9998913119@172.31.14.218 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  4550. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_HANGUP (Cur 2 Tot 36)
  4551. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998913119@172.31.14.218) Callstate Change DOWN -> HANGUP
  4552. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@172.31.14.218) State HANGUP
  4553. 2022-04-26 13:50:56.339435 93.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998913119@172.31.14.218 hanging up, cause: UNALLOCATED_NUMBER
  4554. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998913119@172.31.14.218 Standard HANGUP, cause: UNALLOCATED_NUMBER
  4555. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@172.31.14.218) State HANGUP going to sleep
  4556. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998913119@172.31.14.218) State Change CS_HANGUP -> CS_REPORTING
  4557. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_REPORTING (Cur 2 Tot 36)
  4558. 2022-04-26 13:50:56.339435 93.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@172.31.14.218) State REPORTING
  4559. 2022-04-26 13:50:56.339435 93.57% [INFO] mod_json_cdr.c:271 Process [45b9c8fc-c7c9-486d-bfb9-0bea8b2adb27.cdr.json]
  4560. 2022-04-26 13:50:56.359439 93.57% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  4561. 2022-04-26 13:50:56.359439 93.57% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: UNALLOCATED_NUMBER
  4562. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  4563. 2022-04-26 13:50:56.359439 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  4564. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(destination_number=7701111)
  4565. 2022-04-26 13:50:56.359439 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [destination_number]=[7701111]
  4566. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  4567. 2022-04-26 13:50:56.359439 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  4568. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_type_vm_flag=1)
  4569. 2022-04-26 13:50:56.359439 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_type_vm_flag]=[1]
  4570. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(is_local_extension=1)
  4571. 2022-04-26 13:50:56.359439 93.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [is_local_extension]=[1]
  4572. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(did_call_forwarding.lua)
  4573. 2022-04-26 13:50:56.379423 93.57% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  4574. stack traceback:
  4575.         [C]: in function 'dofile'
  4576.         /usr/share/freeswitch/scripts/did_call_forwarding.lua:33: in main chunk
  4577. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  4578. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 hangup(UNALLOCATED_NUMBER)
  4579. 2022-04-26 13:50:56.379423 93.57% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [UNALLOCATED_NUMBER]
  4580. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  4581. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep
  4582. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 36)
  4583. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> HANGUP
  4584. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  4585. 2022-04-26 13:50:56.379423 93.57% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 404 with 404 from the other leg
  4586. 2022-04-26 13:50:56.379423 93.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: UNALLOCATED_NUMBER
  4587. 2022-04-26 13:50:56.379423 93.57% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  4588. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: UNALLOCATED_NUMBER
  4589. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  4590. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  4591. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 36)
  4592. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  4593. 2022-04-26 13:50:56.379423 93.57% [INFO] mod_json_cdr.c:271 Process [1103a8bc-21bc-40ed-8a60-c0a8a7d28f48.cdr.json]
  4594. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998913119@172.31.14.218 Standard REPORTING, cause: UNALLOCATED_NUMBER
  4595. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@172.31.14.218) State REPORTING going to sleep
  4596. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998913119@172.31.14.218) State Change CS_REPORTING -> CS_DESTROY
  4597. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_session.c:1753 Session 36 (sofia/default/9998913119@172.31.14.218) Locked, Waiting on external entities
  4598. 2022-04-26 13:50:56.379423 93.57% [NOTICE] switch_core_session.c:1771 Session 36 (sofia/default/9998913119@172.31.14.218) Ended
  4599. 2022-04-26 13:50:56.379423 93.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998913119@172.31.14.218 [CS_DESTROY]
  4600. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998913119@172.31.14.218) Running State Change CS_DESTROY (Cur 1 Tot 36)
  4601. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@172.31.14.218) State DESTROY
  4602. 2022-04-26 13:50:56.379423 93.57% [DEBUG] mod_sofia.c:379 sofia/default/9998913119@172.31.14.218 SOFIA DESTROY
  4603. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998913119@172.31.14.218 Standard DESTROY
  4604. 2022-04-26 13:50:56.379423 93.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@172.31.14.218) State DESTROY going to sleep
  4605. 2022-04-26 13:50:56.399425 93.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: UNALLOCATED_NUMBER
  4606. 2022-04-26 13:50:56.399425 93.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  4607. 2022-04-26 13:50:56.399425 93.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  4608. 2022-04-26 13:50:56.399425 93.57% [DEBUG] switch_core_session.c:1753 Session 35 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  4609. 2022-04-26 13:50:56.399425 93.57% [NOTICE] switch_core_session.c:1771 Session 35 (sofia/default/8871343676@46.101.114.158) Ended
  4610. 2022-04-26 13:50:56.399425 93.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  4611. 2022-04-26 13:50:56.399425 93.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 36)
  4612. 2022-04-26 13:50:56.399425 93.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  4613. 2022-04-26 13:50:56.399425 93.57% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  4614. 2022-04-26 13:50:56.399425 93.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  4615. 2022-04-26 13:50:56.399425 93.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  4616. 2022-04-26 13:50:58.479443 94.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  4617. 2022-04-26 13:50:58.519514 94.00% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  4618. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  4619. and you must configure your device to use the proper domain in its authentication credentials.
  4620. 2022-04-26 13:50:58.519514 94.00% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  4621. 2022-04-26 13:51:15.199491 88.23% [INFO] switch_stun.c:897 External ip address detected using STUN: 3.7.66.233
  4622. 2022-04-26 13:51:15.399423 88.23% [INFO] switch_stun.c:897 External ip address detected using STUN: 3.7.66.233
  4623. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'sofia' to wait for existing references.
  4624. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'sofia'
  4625. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'rtp' to wait for existing references.
  4626. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'rtp'
  4627. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_sla'
  4628. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_sla' to wait for existing references.
  4629. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_stir_shaken_vs'
  4630. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_stir_shaken_vs' to wait for existing references.
  4631. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia'
  4632. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia' to wait for existing references.
  4633. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_gateway_data'
  4634. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_gateway_data' to wait for existing references.
  4635. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_username_of'
  4636. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_username_of' to wait for existing references.
  4637. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_contact'
  4638. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_contact' to wait for existing references.
  4639. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_count_reg'
  4640. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_count_reg' to wait for existing references.
  4641. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_dig'
  4642. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_dig' to wait for existing references.
  4643. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_presence_data'
  4644. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_presence_data' to wait for existing references.
  4645. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status'
  4646. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status' to wait for existing references.
  4647. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status.info'
  4648. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status.info' to wait for existing references.
  4649. 2022-04-26 13:51:15.439415 88.23% [DEBUG] switch_loadable_module.c:1535 Write lock interface 'sip' to wait for existing references.
  4650. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1544 Deleting Chat interface 'sip'
  4651. 2022-04-26 13:51:15.439415 88.23% [NOTICE] switch_loadable_module.c:1586 Deleting Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
  4652. 2022-04-26 13:51:15.439415 88.23% [CONSOLE] switch_loadable_module.c:2349 Stopping: mod_sofia
  4653. 2022-04-26 13:51:15.459462 88.23% [INFO] switch_time.c:1430 Timezone reloaded 1750 definitions
  4654. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_refer
  4655. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_watched_header
  4656. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::unregister
  4657. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::profile_start
  4658. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::reinvite
  4659. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::replaced
  4660. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferor
  4661. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferee
  4662. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::error
  4663. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::intercepted
  4664. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_state
  4665. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::sip_user_state
  4666. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_delete
  4667. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::expire
  4668. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_attempt
  4669. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_failure
  4670. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::pre_register
  4671. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register
  4672. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_add
  4673. 2022-04-26 13:51:15.459462 88.23% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::bye_response
  4674. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_IN
  4675. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_OUT
  4676. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_PROBE
  4677. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:MESSAGE_WAITING
  4678. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:ROSTER
  4679. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CONFERENCE_DATA
  4680. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:TRAP
  4681. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:NOTIFY
  4682. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PHONE_FEATURE
  4683. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_MESSAGE
  4684. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_INFO
  4685. 2022-04-26 13:51:15.459462 88.23% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CUSTOM
  4686. 2022-04-26 13:51:15.459462 88.23% [CONSOLE] sofia_presence.c:1664 Event Thread Ended
  4687. 2022-04-26 13:51:15.999449 87.93% [DEBUG] sofia_reg.c:324 Removing gateway default::YourProvider from hash.
  4688. 2022-04-26 13:51:15.999449 87.93% [NOTICE] sofia_reg.c:338 Deleted gateway YourProvider
  4689. 2022-04-26 13:51:15.999449 87.93% [NOTICE] sofia.c:3504 Waiting for worker thread
  4690. 2022-04-26 13:51:15.999449 87.93% [INFO] switch_core_sqldb.c:1876 sofia:default Destroying SQL queue.
  4691. 2022-04-26 13:51:16.199420 87.93% [INFO] switch_core_sqldb.c:1827 sofia:default Stopping SQL thread.
  4692. 2022-04-26 13:51:16.199420 87.93% [DEBUG] sofia.c:3576 Write lock default
  4693. 2022-04-26 13:51:16.199420 87.93% [DEBUG] sofia.c:3589 Write unlock default
  4694. 2022-04-26 13:51:16.199420 87.93% [WARNING] sofia.c:2308 MSG Thread Ended
  4695. 2022-04-26 13:51:16.199420 87.93% [CONSOLE] switch_loadable_module.c:2369 mod_sofia unloaded.
  4696. 2022-04-26 13:51:16.199420 87.93% [INFO] mod_sofia.c:6682 Starting initial message thread.
  4697. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 sip-ip [172.31.14.218]
  4698. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 sip-port [5074]
  4699. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 rtp-ip [172.31.14.218]
  4700. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 dialplan [XML]
  4701. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 user-agent-string [ASTPP]
  4702. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 debug [0]
  4703. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 sip-trace [no]
  4704. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 tls [false]
  4705. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 inbound-reg-force-matching-username [true]
  4706. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 disable-transcoding [true]
  4707. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 all-reg-options-ping [false]
  4708. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 unregister-on-options-fail [true]
  4709. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 log-auth-failures [true]
  4710. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 status [0]
  4711. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 inbound-bypass-media [false]
  4712. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 inbound-proxy-media [false]
  4713. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 disable-transfer [false]
  4714. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 enable-100rel [false]
  4715. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 rtp-timeout-sec [300]
  4716. 2022-04-26 13:51:16.219437 87.93% [WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
  4717. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 dtmf-duration [2000]
  4718. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 manual-redirect [true]
  4719. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 aggressive-nat-detection [true]
  4720. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 enable-timer [false]
  4721. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 minimum-session-expires [120]
  4722. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 session-timeout-pt [1800]
  4723. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 auth-calls [true]
  4724. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 apply-inbound-acl [default]
  4725. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 inbound-codec-prefs [PCMA,PCMU]
  4726. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 outbound-codec-prefs [PCMA,PCMU]
  4727. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 inbound-late-negotiation [false]
  4728. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 sip-capture [no]
  4729. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 forward-unsolicited-mwi-notify [false]
  4730. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 context [default]
  4731. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 rfc2833-pt [101]
  4732. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 rtp-timer-name [soft]
  4733. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 hold-music [local_stream://moh]
  4734. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 manage-presence [true]
  4735. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 presence-hosts [172.31.14.218,172.31.14.218]
  4736. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 presence-privacy [false]
  4737. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 inbound-codec-negotiation [generous]
  4738. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 auth-all-packets [false]
  4739. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 ext-rtp-ip [3.7.66.233]
  4740. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 ext-sip-ip [3.7.66.233]
  4741. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 rtp-hold-timeout-sec [1800]
  4742. 2022-04-26 13:51:16.219437 87.93% [WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
  4743. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 challenge-realm [auto_from]
  4744. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 nonce-ttl [60]
  4745. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 pass-callee-id [false]
  4746. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:4720 dtmf_type [rfc2833]
  4747. 2022-04-26 13:51:16.219437 87.93% [INFO] sofia.c:6189 Setting MAX Auth Validity to 0 Attempts
  4748. 2022-04-26 13:51:16.219437 87.93% [NOTICE] sofia.c:6356 Started Profile default [sofia_reg_default]
  4749. 2022-04-26 13:51:16.219437 87.93% [DEBUG] mod_sofia.c:6698 Waiting for profiles to start
  4750. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:3156 Creating agent for default
  4751. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:3319 Created agent for default
  4752. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:3369 Set params for default
  4753. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:3416 Activated db for default
  4754. 2022-04-26 13:51:16.219437 87.93% [INFO] switch_core_sqldb.c:1842 sofia:default Starting SQL thread.
  4755. 2022-04-26 13:51:16.219437 87.93% [WARNING] sofia.c:2290 MSG Thread 0 Started
  4756. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:3454 Starting thread for default
  4757. 2022-04-26 13:51:16.219437 87.93% [DEBUG] sofia.c:3046 Launching worker thread for default
  4758. 2022-04-26 13:51:16.219437 87.93% [NOTICE] sofia_reg.c:3735 Added gateway 'YourProvider' to profile 'default'
  4759. 2022-04-26 13:51:17.719455 87.63% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_sofia]
  4760. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'sofia'
  4761. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'rtp'
  4762. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_sla'
  4763. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_stir_shaken_vs'
  4764. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia'
  4765. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_gateway_data'
  4766. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_username_of'
  4767. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_contact'
  4768. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_count_reg'
  4769. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_dig'
  4770. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_presence_data'
  4771. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status'
  4772. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status.info'
  4773. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:621 Adding Chat interface 'sip'
  4774. 2022-04-26 13:51:17.719455 87.63% [NOTICE] switch_loadable_module.c:681 Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
  4775. 2022-04-26 13:51:19.599456 87.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  4776. 2022-04-26 13:51:19.639443 87.50% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  4777. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  4778. and you must configure your device to use the proper domain in its authentication credentials.
  4779. 2022-04-26 13:51:19.639443 87.50% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  4780. freeswitch@ip-172-31-14-218>
  4781. freeswitch@ip-172-31-14-218>
  4782. freeswitch@ip-172-31-14-218>
  4783. freeswitch@ip-172-31-14-218>
  4784. freeswitch@ip-172-31-14-218>
  4785. freeswitch@ip-172-31-14-218>
  4786. freeswitch@ip-172-31-14-218> /exit
  4787.  
  4788. You have new mail in /var/mail/root
  4789. root@ip-172-31-14-218:/usr/share/freeswitch#
  4790. root@ip-172-31-14-218:/usr/share/freeswitch#
  4791. root@ip-172-31-14-218:/usr/share/freeswitch#
  4792. root@ip-172-31-14-218:/usr/share/freeswitch#
  4793. root@ip-172-31-14-218:/usr/share/freeswitch#
  4794. root@ip-172-31-14-218:/usr/share/freeswitch#
  4795. root@ip-172-31-14-218:/usr/share/freeswitch#
  4796. root@ip-172-31-14-218:/usr/share/freeswitch#
  4797. root@ip-172-31-14-218:/usr/share/freeswitch#
  4798. root@ip-172-31-14-218:/usr/share/freeswitch# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  4799. .=======================================================.
  4800. |            _____ ____     ____ _     ___              |
  4801. |           |  ___/ ___|   / ___| |   |_ _|             |
  4802. |           | |_  \___ \  | |   | |    | |              |
  4803. |           |  _|  ___) | | |___| |___ | |              |
  4804. |           |_|   |____/   \____|_____|___|             |
  4805. |                                                       |
  4806. .=======================================================.
  4807. | Anthony Minessale II, Ken Rice,                       |
  4808. | Michael Jerris, Travis Cross                          |
  4809. | FreeSWITCH (http://www.freeswitch.org)                |
  4810. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  4811. | Brought to you by ClueCon http://www.cluecon.com/     |
  4812. .=======================================================.
  4813.  
  4814. .=======================================================================================================.
  4815. |       _                            _    ____ _             ____                                       |
  4816. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  4817. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  4818. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  4819. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  4820. |                                                                                                       |
  4821. |    ____ _____ ____    ____             __                                                             |
  4822. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  4823. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  4824. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  4825. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  4826. |                                                                                                       |
  4827. |     ____ _             ____                                                                           |
  4828. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  4829. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  4830. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  4831. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  4832. |                                                                                                       |
  4833. .=======================================================================================================.
  4834.  
  4835. Type /help <enter> to see a list of commands
  4836.  
  4837.  
  4838.  
  4839.  
  4840. [This app Best viewed at 160x60 or more..]
  4841. +OK log level  [7]
  4842. freeswitch@ip-172-31-14-218>
  4843. freeswitch@ip-172-31-14-218>
  4844. freeswitch@ip-172-31-14-218>
  4845. freeswitch@ip-172-31-14-218>
  4846. freeswitch@ip-172-31-14-218>
  4847. freeswitch@ip-172-31-14-218>
  4848. freeswitch@ip-172-31-14-218>
  4849. freeswitch@ip-172-31-14-218>
  4850. 2022-04-26 13:51:54.839446 98.67% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [ad597cb5-3964-454f-b339-874ddcb78c53]
  4851. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 37)
  4852. 2022-04-26 13:51:54.839446 98.67% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: dfa65f94-400a-123b-3db3-ba05d31eb9f9
  4853. 2022-04-26 13:51:54.839446 98.67% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  4854. 2022-04-26 13:51:54.839446 98.67% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  4855. 2022-04-26 13:51:54.839446 98.67% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  4856. 2022-04-26 13:51:54.839446 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  4857. 2022-04-26 13:51:54.839446 98.67% [DEBUG] sofia.c:7509 Remote SDP:
  4858. v=0
  4859. o=FreeSWITCH 1650949136 1650949137 IN IP4 46.101.114.158
  4860. s=FreeSWITCH
  4861. c=IN IP4 46.101.114.158
  4862. t=0 0
  4863. m=audio 31978 RTP/AVP 0 101
  4864. a=rtpmap:0 PCMU/8000
  4865. a=rtpmap:101 telephone-event/8000
  4866. a=fmtp:101 0-16
  4867. a=ptime:20
  4868.  
  4869. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4870. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4871. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  4872. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  4873. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  4874. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  4875. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  4876. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  4877. 2022-04-26 13:51:54.839446 98.67% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  4878. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  4879. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 37)
  4880. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  4881. 2022-04-26 13:51:54.839446 98.67% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  4882. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  4883. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  4884. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  4885. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 37)
  4886. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  4887. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  4888. 2022-04-26 13:51:54.839446 98.67% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  4889. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  4890. 2022-04-26 13:51:54.839446 98.67% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  4891. 2022-04-26 13:51:54.839446 98.67% [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')
  4892. 2022-04-26 13:51:54.839446 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4893. 2022-04-26 13:51:54.859421 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7701111
  4894. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7701111' AND status=0 limit 1
  4895. 2022-04-26 13:51:54.859421 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault
  4896. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4897. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '7701111' limit 1
  4898. 2022-04-26 13:51:54.859421 98.67% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  4899. 2022-04-26 13:51:54.859421 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8871343676 / <null>
  4900. 2022-04-26 13:51:54.859421 98.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 ="7701111" LIMIT 1
  4901. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  4902. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4903. 2022-04-26 13:51:54.859421 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  4904. 2022-04-26 13:51:54.859421 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 46.101.114.158
  4905. 2022-04-26 13:51:54.859421 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7073582043]
  4906. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7073582043" AND deleted = 0 limit 1
  4907. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  4908. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7701111" AND (accountid = 0 OR status = 1) LIMIT 1
  4909. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  4910. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  4911. 2022-04-26 13:51:54.859421 98.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 = '^7701111.*' OR patterns = '^770111.*' OR patterns = '^77011.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  4912. 2022-04-26 13:51:54.859421 98.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 ="7701111" AND A.accountid = '9' limit 1
  4913. 2022-04-26 13:51:54.859421 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7701111
  4914. 2022-04-26 13:51:54.859421 98.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 ="7701111" LIMIT 1
  4915. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  4916. 2022-04-26 13:51:54.859421 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4917. 2022-04-26 13:51:54.859421 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  4918. 2022-04-26 13:51:54.879426 98.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 = '7701111' OR number = '770111' OR number = '77011' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7701111*' OR number = '770111*' OR number = '77011*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  4919. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  4920. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7701111' OR routing_prefix = '770111' OR routing_prefix = '77011' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  4921. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  4922. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  4923. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7073582043
  4924. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  4925. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11.3834
  4926. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  4927. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  4928. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  4929. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  4930. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  4931. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  4932. 2022-04-26 13:51:54.879426 98.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 ="7701111" LIMIT 1
  4933. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  4934. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4935. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  4936. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  4937. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  4938. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  4939. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  4940. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  4941. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  4942. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  4943. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.51
  4944. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  4945. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  4946. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0
  4947. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  4948. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  4949. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  4950. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  4951. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  4952. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 7701111
  4953. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  4954. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  4955. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  4956. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  4957. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  4958. 2022-04-26 13:51:54.879426 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  4959. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  4960. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  4961. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  4962. 2022-04-26 13:51:54.879426 98.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 = 9 AND status=0 LIMIT 1
  4963. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  4964. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  4965. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  4966. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  4967. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7701111.*' OR pattern = '^770111.*' OR pattern = '^77011.*' OR pattern = '^7701.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^<null>.*' OR caller_id_pattern = '^<null.*' OR caller_id_pattern = '^<nul.*' OR caller_id_pattern = '^<nu.*' OR caller_id_pattern = '^<n.*' OR caller_id_pattern = '^<.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  4968. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  4969. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  4970. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  4971. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  4972. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  4973. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  4974. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  4975. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  4976. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.51
  4977. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  4978. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  4979. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  4980. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  4981. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  4982. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  4983. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  4984. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  4985. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  4986. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  4987. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  4988. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  4989. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  4990. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  4991. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  4992. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  4993. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  4994. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  4995. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  4996. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  4997. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4998. 2022-04-26 13:51:54.879426 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  4999. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  5000. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  5001. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  5002. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119" limit 1
  5003. 2022-04-26 13:51:54.879426 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  5004. <document type="freeswitch/xml">
  5005. <section name="dialplan" description="ASTPP Dialplan">
  5006. <context name="default">
  5007. <extension name="7701111">
  5008. <condition field="destination_number" expression="7701111">
  5009. <action application="set" data="effective_destination_number=7701111"/>
  5010. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  5011. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  5012. <action application="set" data="callstart=2022-04-26 13:51:54"/>
  5013. <action application="set" data="hangup_after_bridge=true"/>
  5014. <action application="set" data="continue_on_fail=TRUE"/>
  5015. <action application="set" data="account_id=9"/>
  5016. <action application="set" data="parent_id=0"/>
  5017. <action application="set" data="entity_id=3"/>
  5018. <action application="set" data="call_processed=internal"/>
  5019. <action application="set" data="call_direction=inbound"/>
  5020. <action application="set" data="accountname=default"/>
  5021. <action application="set" data="filename1=astpp.pbx.lua"/>
  5022. <action application="set" data="origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5"/>
  5023. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9"/>
  5024. <action application="set" data="original_caller_id_name=8871343676"/>
  5025. <action application="set" data="effective_caller_id_name=8871343676"/>
  5026. <action application="set" data="receiver_accid=5"/>
  5027. <action application="set" data="did_id=1"/>
  5028. <action application="set" data="transfer_call_type=5"/>
  5029. <action application="set" data="transfer_extensions=9998988398"/>
  5030. <action application="set" data="busy_status=1"/>
  5031. <action application="set" data="no_answer_status=1"/>
  5032. <action application="set" data="always_status=1"/>
  5033. <action application="set" data="transfer_status=1"/>
  5034. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  5035. <action application="set" data="variable_sip_network_ip=172.31.14.218"/>
  5036. <action application="set" data="variable_sip_network_port=5066"/>
  5037. <action application="export" data="domain_name="/>
  5038. <action application="export" data="sip_to_host="/>
  5039. <action application="export" data="presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158"/>
  5040. <action application="export" data="call_type=0"/>
  5041. <action application="set" data="calltype=DID-LOCAL"/>
  5042. <action application="bridge" data="{sip_invite_params=user=LOCAL,sip_from_uri=9998913119@${domain_name}}[leg_timeout=20]sofia/${sofia_profile_name}/9998913119@172.31.14.218;fs_path=sip:172.31.14.218:5066"/>
  5043. <condition field="${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  5044. <action application="answer"/>
  5045. <action application="export" data="voicemail_alternate_greet_id=7701111"/>
  5046. <action application="voicemail" data="default $${domain_name} 9998913119"/>
  5047. <anti-action application="hangup" data="${originate_disposition}"/>
  5048. </condition>
  5049. <action application="set" data="did_id=1"/>
  5050. <action application="set" data="destination_number=7701111"/>
  5051. <action application="set" data="leg_timeout=20"/>
  5052. <action application="set" data="call_type_vm_flag=1"/>
  5053. <action application="set" data="is_local_extension=1"/>
  5054. <action application="lua" data="did_call_forwarding.lua"/>
  5055. </condition>
  5056. </extension>
  5057. </context>
  5058. </section>
  5059. </document>
  5060. Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->7701111] continue=false
  5061. Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [7701111] destination_number(7701111) =~ /7701111/ break=on-false
  5062. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=7701111)
  5063. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  5064. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  5065. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-26 13:51:54)
  5066. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  5067. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE)
  5068. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=9)
  5069. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0)
  5070. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3)
  5071. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal)
  5072. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound)
  5073. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=default)
  5074. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(filename1=astpp.pbx.lua)
  5075. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  5076. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  5077. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=8871343676)
  5078. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=8871343676)
  5079. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5)
  5080. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  5081. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_call_type=5)
  5082. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_extensions=9998988398)
  5083. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(busy_status=1)
  5084. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_status=1)
  5085. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(always_status=1)
  5086. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_status=1)
  5087. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=${domain_name})
  5088. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_ip=172.31.14.218)
  5089. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_port=5066)
  5090. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=)
  5091. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=)
  5092. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  5093. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=0)
  5094. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(calltype=DID-LOCAL)
  5095. Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,sip_from_uri=9998913119@${domain_name}}[leg_timeout=20]sofia/${sofia_profile_name}/9998913119@172.31.14.218;fs_path=sip:172.31.14.218:5066)
  5096. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  5097. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(destination_number=7701111)
  5098. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  5099. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_type_vm_flag=1)
  5100. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(is_local_extension=1)
  5101. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(did_call_forwarding.lua)
  5102. |--- Dialplan: Processing recursive conditions level:1 [7701111_recur_1] require-nested=TRUE
  5103. |--- Dialplan: sofia/default/8871343676@46.101.114.158 Regex (FAIL) [7701111_recur_1] ${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  5104. |--- Dialplan: sofia/default/8871343676@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  5105. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  5106. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  5107. 2022-04-26 13:51:54.899425 98.67% [CONSOLE] sofia_presence.c:1620 Event Thread Started
  5108. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 37)
  5109. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE
  5110. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE
  5111. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE
  5112. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=7701111)
  5113. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[7701111]
  5114. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  5115. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  5116. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  5117. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  5118. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-26 13:51:54)
  5119. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-26 13:51:54]
  5120. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  5121. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  5122. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE)
  5123. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE]
  5124. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=9)
  5125. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[9]
  5126. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0)
  5127. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0]
  5128. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3)
  5129. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3]
  5130. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal)
  5131. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal]
  5132. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound)
  5133. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound]
  5134. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=default)
  5135. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[default]
  5136. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(filename1=astpp.pbx.lua)
  5137. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [filename1]=[astpp.pbx.lua]
  5138. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  5139. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5]
  5140. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  5141. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9]
  5142. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=8871343676)
  5143. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[8871343676]
  5144. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=8871343676)
  5145. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[8871343676]
  5146. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5)
  5147. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5]
  5148. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  5149. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  5150. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_call_type=5)
  5151. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_call_type]=[5]
  5152. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_extensions=9998988398)
  5153. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_extensions]=[9998988398]
  5154. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(busy_status=1)
  5155. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [busy_status]=[1]
  5156. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_status=1)
  5157. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_status]=[1]
  5158. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(always_status=1)
  5159. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [always_status]=[1]
  5160. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_status=1)
  5161. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_status]=[1]
  5162. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=172.31.14.218)
  5163. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[172.31.14.218]
  5164. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_ip=172.31.14.218)
  5165. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_ip]=[172.31.14.218]
  5166. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_port=5066)
  5167. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_port]=[5066]
  5168. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=)
  5169. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  5170. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=)
  5171. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  5172. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  5173. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158]
  5174. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=0)
  5175. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  5176. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(calltype=DID-LOCAL)
  5177. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [calltype]=[DID-LOCAL]
  5178. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_invite_params=user=LOCAL,sip_from_uri=9998913119@172.31.14.218}[leg_timeout=20]sofia/default/9998913119@172.31.14.218;fs_path=sip:172.31.14.218:5066)
  5179. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  5180. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  5181. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  5182. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  5183. 2022-04-26 13:51:54.899425 98.67% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998913119@172.31.14.218 [5ecdc790-f2b1-46bb-8b30-7718813fbf71]
  5184. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_sofia.c:5121 (sofia/default/9998913119@172.31.14.218) State Change CS_NEW -> CS_INIT
  5185. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998913119@172.31.14.218 Setting leg timeout to 20
  5186. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_INIT (Cur 2 Tot 38)
  5187. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@172.31.14.218) State INIT
  5188. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_sofia.c:97 sofia/default/9998913119@172.31.14.218 SOFIA INIT
  5189. 2022-04-26 13:51:54.899425 98.67% [DEBUG] sofia_glue.c:1620 sip:172.31.14.218:5066 Setting proxy route to sofia/default/9998913119@172.31.14.218
  5190. 2022-04-26 13:51:54.899425 98.67% [INFO] sofia_glue.c:1651 sofia/default/9998913119@172.31.14.218 sending invite call-id: (null)
  5191. 2022-04-26 13:51:54.899425 98.67% [DEBUG] sofia_glue.c:1654 sofia/default/9998913119@172.31.14.218 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  5192. Local SDP:
  5193. v=0
  5194. o=FreeSWITCH 1650958902 1650958903 IN IP4 172.31.14.218
  5195. s=FreeSWITCH
  5196. c=IN IP4 172.31.14.218
  5197. t=0 0
  5198. m=audio 22212 RTP/AVP 0 101
  5199. a=rtpmap:0 PCMU/8000
  5200. a=rtpmap:101 telephone-event/8000
  5201. a=fmtp:101 0-15
  5202. a=ptime:20
  5203. a=sendrecv
  5204.  
  5205. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998913119@172.31.14.218 Standard INIT
  5206. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998913119@172.31.14.218) State Change CS_INIT -> CS_ROUTING
  5207. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@172.31.14.218) State INIT going to sleep
  5208. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_ROUTING (Cur 2 Tot 38)
  5209. 2022-04-26 13:51:54.899425 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@172.31.14.218 entering state [calling][0]
  5210. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@172.31.14.218) State ROUTING
  5211. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_sofia.c:158 sofia/default/9998913119@172.31.14.218 SOFIA ROUTING
  5212. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9998913119@172.31.14.218) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  5213. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@172.31.14.218) State ROUTING going to sleep
  5214. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 38)
  5215. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@172.31.14.218) State CONSUME_MEDIA
  5216. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@172.31.14.218) State CONSUME_MEDIA going to sleep
  5217. 2022-04-26 13:51:54.899425 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@172.31.14.218 entering state [terminated][404]
  5218. 2022-04-26 13:51:54.899425 98.67% [NOTICE] sofia.c:8738 Hangup sofia/default/9998913119@172.31.14.218 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  5219. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_HANGUP (Cur 2 Tot 38)
  5220. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998913119@172.31.14.218) Callstate Change DOWN -> HANGUP
  5221. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@172.31.14.218) State HANGUP
  5222. 2022-04-26 13:51:54.899425 98.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998913119@172.31.14.218 hanging up, cause: UNALLOCATED_NUMBER
  5223. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998913119@172.31.14.218 Standard HANGUP, cause: UNALLOCATED_NUMBER
  5224. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@172.31.14.218) State HANGUP going to sleep
  5225. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998913119@172.31.14.218) State Change CS_HANGUP -> CS_REPORTING
  5226. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@172.31.14.218) Running State Change CS_REPORTING (Cur 2 Tot 38)
  5227. 2022-04-26 13:51:54.899425 98.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@172.31.14.218) State REPORTING
  5228. 2022-04-26 13:51:54.899425 98.67% [INFO] mod_json_cdr.c:271 Process [5ecdc790-f2b1-46bb-8b30-7718813fbf71.cdr.json]
  5229. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  5230. 2022-04-26 13:51:54.919438 98.67% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: UNALLOCATED_NUMBER
  5231. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  5232. 2022-04-26 13:51:54.919438 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  5233. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(destination_number=7701111)
  5234. 2022-04-26 13:51:54.919438 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [destination_number]=[7701111]
  5235. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  5236. 2022-04-26 13:51:54.919438 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  5237. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_type_vm_flag=1)
  5238. 2022-04-26 13:51:54.919438 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_type_vm_flag]=[1]
  5239. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(is_local_extension=1)
  5240. 2022-04-26 13:51:54.919438 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [is_local_extension]=[1]
  5241. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(did_call_forwarding.lua)
  5242. 2022-04-26 13:51:54.919438 98.67% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  5243. stack traceback:
  5244.         [C]: in function 'dofile'
  5245.         /usr/share/freeswitch/scripts/did_call_forwarding.lua:33: in main chunk
  5246. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  5247. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 hangup(UNALLOCATED_NUMBER)
  5248. 2022-04-26 13:51:54.919438 98.67% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [UNALLOCATED_NUMBER]
  5249. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  5250. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep
  5251. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 38)
  5252. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> HANGUP
  5253. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  5254. 2022-04-26 13:51:54.919438 98.67% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 404 with 404 from the other leg
  5255. 2022-04-26 13:51:54.919438 98.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: UNALLOCATED_NUMBER
  5256. 2022-04-26 13:51:54.919438 98.67% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  5257. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: UNALLOCATED_NUMBER
  5258. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  5259. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  5260. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 38)
  5261. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  5262. 2022-04-26 13:51:54.919438 98.67% [INFO] mod_json_cdr.c:271 Process [ad597cb5-3964-454f-b339-874ddcb78c53.cdr.json]
  5263. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998913119@172.31.14.218 Standard REPORTING, cause: UNALLOCATED_NUMBER
  5264. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@172.31.14.218) State REPORTING going to sleep
  5265. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998913119@172.31.14.218) State Change CS_REPORTING -> CS_DESTROY
  5266. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_session.c:1753 Session 38 (sofia/default/9998913119@172.31.14.218) Locked, Waiting on external entities
  5267. 2022-04-26 13:51:54.919438 98.67% [NOTICE] switch_core_session.c:1771 Session 38 (sofia/default/9998913119@172.31.14.218) Ended
  5268. 2022-04-26 13:51:54.919438 98.67% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998913119@172.31.14.218 [CS_DESTROY]
  5269. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998913119@172.31.14.218) Running State Change CS_DESTROY (Cur 1 Tot 38)
  5270. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@172.31.14.218) State DESTROY
  5271. 2022-04-26 13:51:54.919438 98.67% [DEBUG] mod_sofia.c:379 sofia/default/9998913119@172.31.14.218 SOFIA DESTROY
  5272. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998913119@172.31.14.218 Standard DESTROY
  5273. 2022-04-26 13:51:54.919438 98.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@172.31.14.218) State DESTROY going to sleep
  5274. 2022-04-26 13:51:54.959420 98.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: UNALLOCATED_NUMBER
  5275. 2022-04-26 13:51:54.959420 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  5276. 2022-04-26 13:51:54.959420 98.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  5277. 2022-04-26 13:51:54.959420 98.37% [DEBUG] switch_core_session.c:1753 Session 37 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  5278. 2022-04-26 13:51:54.959420 98.37% [NOTICE] switch_core_session.c:1771 Session 37 (sofia/default/8871343676@46.101.114.158) Ended
  5279. 2022-04-26 13:51:54.959420 98.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  5280. 2022-04-26 13:51:54.959420 98.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 38)
  5281. 2022-04-26 13:51:54.959420 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  5282. 2022-04-26 13:51:54.959420 98.37% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  5283. 2022-04-26 13:51:54.959420 98.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  5284. 2022-04-26 13:51:54.959420 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  5285. 2022-04-26 13:52:02.859424 98.23% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  5286. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  5287. and you must configure your device to use the proper domain in its authentication credentials.
  5288. 2022-04-26 13:52:02.859424 98.23% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  5289. freeswitch@ip-172-31-14-218>
  5290. freeswitch@ip-172-31-14-218>
  5291. freeswitch@ip-172-31-14-218>
  5292. freeswitch@ip-172-31-14-218>
  5293. freeswitch@ip-172-31-14-218>
  5294. freeswitch@ip-172-31-14-218> /exit
  5295.  
  5296. root@ip-172-31-14-218:/usr/share/freeswitch#
  5297. root@ip-172-31-14-218:/usr/share/freeswitch#
  5298. root@ip-172-31-14-218:/usr/share/freeswitch#
  5299. root@ip-172-31-14-218:/usr/share/freeswitch#
  5300. root@ip-172-31-14-218:/usr/share/freeswitch#
  5301. root@ip-172-31-14-218:/usr/share/freeswitch# vim /opt/ASTPP/freeswitch/scripts/astpp/astpp.lua
  5302. You have new mail in /var/mail/root
  5303. root@ip-172-31-14-218:/usr/share/freeswitch#
  5304. root@ip-172-31-14-218:/usr/share/freeswitch#
  5305. root@ip-172-31-14-218:/usr/share/freeswitch#
  5306. root@ip-172-31-14-218:/usr/share/freeswitch#
  5307. root@ip-172-31-14-218:/usr/share/freeswitch#
  5308. root@ip-172-31-14-218:/usr/share/freeswitch# vim /usr/local/freeswitch/scripts/astpp/constant.lua
  5309. root@ip-172-31-14-218:/usr/share/freeswitch#
  5310. root@ip-172-31-14-218:/usr/share/freeswitch#
  5311. root@ip-172-31-14-218:/usr/share/freeswitch#
  5312. root@ip-172-31-14-218:/usr/share/freeswitch#
  5313. root@ip-172-31-14-218:/usr/share/freeswitch#
  5314. root@ip-172-31-14-218:/usr/share/freeswitch# vim /etc/freeswitch/autoload_configs/lua.conf.xml
  5315. You have new mail in /var/mail/root
  5316. root@ip-172-31-14-218:/usr/share/freeswitch#
  5317. root@ip-172-31-14-218:/usr/share/freeswitch#
  5318. root@ip-172-31-14-218:/usr/share/freeswitch#
  5319. root@ip-172-31-14-218:/usr/share/freeswitch#
  5320. root@ip-172-31-14-218:/usr/share/freeswitch#
  5321. root@ip-172-31-14-218:/usr/share/freeswitch#
  5322. root@ip-172-31-14-218:/usr/share/freeswitch# systemctl stop opensips
  5323. root@ip-172-31-14-218:/usr/share/freeswitch#
  5324. root@ip-172-31-14-218:/usr/share/freeswitch#
  5325. root@ip-172-31-14-218:/usr/share/freeswitch#
  5326. root@ip-172-31-14-218:/usr/share/freeswitch#
  5327. root@ip-172-31-14-218:/usr/share/freeswitch#
  5328. root@ip-172-31-14-218:/usr/share/freeswitch# systemctl restart freeswitch
  5329. root@ip-172-31-14-218:/usr/share/freeswitch#
  5330. root@ip-172-31-14-218:/usr/share/freeswitch#
  5331. root@ip-172-31-14-218:/usr/share/freeswitch#
  5332. root@ip-172-31-14-218:/usr/share/freeswitch#
  5333. root@ip-172-31-14-218:/usr/share/freeswitch# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  5334. .=======================================================.
  5335. |            _____ ____     ____ _     ___              |
  5336. |           |  ___/ ___|   / ___| |   |_ _|             |
  5337. |           | |_  \___ \  | |   | |    | |              |
  5338. |           |  _|  ___) | | |___| |___ | |              |
  5339. |           |_|   |____/   \____|_____|___|             |
  5340. |                                                       |
  5341. .=======================================================.
  5342. | Anthony Minessale II, Ken Rice,                       |
  5343. | Michael Jerris, Travis Cross                          |
  5344. | FreeSWITCH (http://www.freeswitch.org)                |
  5345. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  5346. | Brought to you by ClueCon http://www.cluecon.com/     |
  5347. .=======================================================.
  5348.  
  5349. .=======================================================================================================.
  5350. |       _                            _    ____ _             ____                                       |
  5351. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  5352. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  5353. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  5354. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  5355. |                                                                                                       |
  5356. |    ____ _____ ____    ____             __                                                             |
  5357. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  5358. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  5359. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  5360. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  5361. |                                                                                                       |
  5362. |     ____ _             ____                                                                           |
  5363. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  5364. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  5365. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  5366. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  5367. |                                                                                                       |
  5368. .=======================================================================================================.
  5369.  
  5370. Type /help <enter> to see a list of commands
  5371.  
  5372.  
  5373.  
  5374.  
  5375. [This app Best viewed at 160x60 or more..]
  5376. +OK log level  [7]
  5377. freeswitch@ip-172-31-14-218>
  5378. freeswitch@ip-172-31-14-218>
  5379. freeswitch@ip-172-31-14-218>
  5380. freeswitch@ip-172-31-14-218>
  5381. freeswitch@ip-172-31-14-218>
  5382. freeswitch@ip-172-31-14-218> sofia profile default rescan
  5383. Reload XML [Success]
  5384. +OK scan complete
  5385.  
  5386. 2022-04-26 13:56:33.654311 99.73% [INFO] switch_stun.c:897 External ip address detected using STUN: 3.7.66.233
  5387. 2022-04-26 13:56:33.854314 99.73% [INFO] switch_stun.c:897 External ip address detected using STUN: 3.7.66.233
  5388. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 sip-ip [172.31.14.218]
  5389. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 sip-port [5074]
  5390. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 rtp-ip [172.31.14.218]
  5391. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 dialplan [XML]
  5392. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 user-agent-string [ASTPP]
  5393. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 debug [0]
  5394. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 sip-trace [no]
  5395. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 tls [false]
  5396. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 inbound-reg-force-matching-username [true]
  5397. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 disable-transcoding [true]
  5398. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 all-reg-options-ping [false]
  5399. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 unregister-on-options-fail [true]
  5400. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 log-auth-failures [true]
  5401. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 status [0]
  5402. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 inbound-bypass-media [false]
  5403. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 inbound-proxy-media [false]
  5404. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 disable-transfer [false]
  5405. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 enable-100rel [false]
  5406. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 rtp-timeout-sec [300]
  5407. 2022-04-26 13:56:33.914306 99.73% [WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
  5408. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 dtmf-duration [2000]
  5409. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 manual-redirect [true]
  5410. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 aggressive-nat-detection [true]
  5411. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 enable-timer [false]
  5412. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 minimum-session-expires [120]
  5413. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 session-timeout-pt [1800]
  5414. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 auth-calls [true]
  5415. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 apply-inbound-acl [default]
  5416. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 inbound-codec-prefs [PCMA,PCMU]
  5417. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 outbound-codec-prefs [PCMA,PCMU]
  5418. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 inbound-late-negotiation [false]
  5419. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 sip-capture [no]
  5420. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 forward-unsolicited-mwi-notify [false]
  5421. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 context [default]
  5422. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 rfc2833-pt [101]
  5423. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 rtp-timer-name [soft]
  5424. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 hold-music [local_stream://moh]
  5425. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 manage-presence [true]
  5426. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 presence-hosts [172.31.14.218,172.31.14.218]
  5427. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 presence-privacy [false]
  5428. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 inbound-codec-negotiation [generous]
  5429. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 auth-all-packets [false]
  5430. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 ext-rtp-ip [3.7.66.233]
  5431. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 ext-sip-ip [3.7.66.233]
  5432. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 rtp-hold-timeout-sec [1800]
  5433. 2022-04-26 13:56:33.914306 99.73% [WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
  5434. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 challenge-realm [auto_from]
  5435. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 nonce-ttl [60]
  5436. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 pass-callee-id [false]
  5437. 2022-04-26 13:56:33.914306 99.73% [DEBUG] sofia.c:4720 dtmf_type [rfc2833]
  5438. 2022-04-26 13:56:33.914306 99.73% [INFO] sofia.c:6189 Setting MAX Auth Validity to 0 Attempts
  5439. 2022-04-26 13:56:33.914306 99.73% [WARNING] sofia.c:3788 Ignoring duplicate gateway 'YourProvider'
  5440. 2022-04-26 13:56:33.914306 99.73% [WARNING] sofia.c:6322 Alias [w07version62.astppbilling.org] for profile [default] (already exists)
  5441. 2022-04-26 13:56:33.914306 99.73% [INFO] switch_time.c:1430 Timezone reloaded 1750 definitions
  5442. freeswitch@ip-172-31-14-218>
  5443. freeswitch@ip-172-31-14-218>
  5444. freeswitch@ip-172-31-14-218>
  5445. freeswitch@ip-172-31-14-218>
  5446. freeswitch@ip-172-31-14-218>
  5447. freeswitch@ip-172-31-14-218> reload mod_sofia
  5448. +OK Reloading XML
  5449. +OK module unloaded
  5450. +OK module loaded
  5451.  
  5452. 2022-04-26 13:56:39.574293 99.40% [INFO] switch_stun.c:897 External ip address detected using STUN: 3.7.66.233
  5453. 2022-04-26 13:56:39.754292 99.40% [INFO] switch_stun.c:897 External ip address detected using STUN: 3.7.66.233
  5454. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'sofia' to wait for existing references.
  5455. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'sofia'
  5456. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'rtp' to wait for existing references.
  5457. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'rtp'
  5458. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_sla'
  5459. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_sla' to wait for existing references.
  5460. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_stir_shaken_vs'
  5461. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_stir_shaken_vs' to wait for existing references.
  5462. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia'
  5463. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia' to wait for existing references.
  5464. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_gateway_data'
  5465. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_gateway_data' to wait for existing references.
  5466. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_username_of'
  5467. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_username_of' to wait for existing references.
  5468. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_contact'
  5469. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_contact' to wait for existing references.
  5470. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_count_reg'
  5471. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_count_reg' to wait for existing references.
  5472. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_dig'
  5473. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_dig' to wait for existing references.
  5474. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_presence_data'
  5475. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_presence_data' to wait for existing references.
  5476. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status'
  5477. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status' to wait for existing references.
  5478. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status.info'
  5479. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status.info' to wait for existing references.
  5480. 2022-04-26 13:56:39.814286 99.37% [DEBUG] switch_loadable_module.c:1535 Write lock interface 'sip' to wait for existing references.
  5481. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1544 Deleting Chat interface 'sip'
  5482. 2022-04-26 13:56:39.814286 99.37% [NOTICE] switch_loadable_module.c:1586 Deleting Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
  5483. 2022-04-26 13:56:39.814286 99.37% [CONSOLE] switch_loadable_module.c:2349 Stopping: mod_sofia
  5484. 2022-04-26 13:56:39.834316 99.37% [INFO] switch_time.c:1430 Timezone reloaded 1750 definitions
  5485. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_refer
  5486. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_watched_header
  5487. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::unregister
  5488. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::profile_start
  5489. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::reinvite
  5490. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::replaced
  5491. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferor
  5492. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferee
  5493. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::error
  5494. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::intercepted
  5495. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_state
  5496. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::sip_user_state
  5497. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_delete
  5498. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::expire
  5499. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_attempt
  5500. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_failure
  5501. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::pre_register
  5502. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register
  5503. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_add
  5504. 2022-04-26 13:56:39.834316 99.37% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::bye_response
  5505. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_IN
  5506. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_OUT
  5507. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_PROBE
  5508. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:MESSAGE_WAITING
  5509. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:ROSTER
  5510. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CONFERENCE_DATA
  5511. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:TRAP
  5512. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:NOTIFY
  5513. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PHONE_FEATURE
  5514. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_MESSAGE
  5515. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_INFO
  5516. 2022-04-26 13:56:39.834316 99.37% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CUSTOM
  5517. 2022-04-26 13:56:40.754314 99.37% [DEBUG] sofia_reg.c:324 Removing gateway default::YourProvider from hash.
  5518. 2022-04-26 13:56:40.754314 99.37% [NOTICE] sofia_reg.c:338 Deleted gateway YourProvider
  5519. 2022-04-26 13:56:40.754314 99.37% [NOTICE] sofia.c:3504 Waiting for worker thread
  5520. 2022-04-26 13:56:40.754314 99.37% [INFO] switch_core_sqldb.c:1876 sofia:default Destroying SQL queue.
  5521. 2022-04-26 13:56:40.954398 99.13% [INFO] switch_core_sqldb.c:1827 sofia:default Stopping SQL thread.
  5522. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:3576 Write lock default
  5523. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:3589 Write unlock default
  5524. 2022-04-26 13:56:40.954398 99.13% [WARNING] sofia.c:2308 MSG Thread Ended
  5525. 2022-04-26 13:56:40.954398 99.13% [CONSOLE] switch_loadable_module.c:2369 mod_sofia unloaded.
  5526. 2022-04-26 13:56:40.954398 99.13% [INFO] mod_sofia.c:6682 Starting initial message thread.
  5527. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 sip-ip [172.31.14.218]
  5528. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 sip-port [5074]
  5529. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 rtp-ip [172.31.14.218]
  5530. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 dialplan [XML]
  5531. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 user-agent-string [ASTPP]
  5532. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 debug [0]
  5533. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 sip-trace [no]
  5534. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 tls [false]
  5535. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 inbound-reg-force-matching-username [true]
  5536. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 disable-transcoding [true]
  5537. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 all-reg-options-ping [false]
  5538. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 unregister-on-options-fail [true]
  5539. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 log-auth-failures [true]
  5540. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 status [0]
  5541. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 inbound-bypass-media [false]
  5542. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 inbound-proxy-media [false]
  5543. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 disable-transfer [false]
  5544. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 enable-100rel [false]
  5545. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 rtp-timeout-sec [300]
  5546. 2022-04-26 13:56:40.954398 99.13% [WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
  5547. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 dtmf-duration [2000]
  5548. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 manual-redirect [true]
  5549. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 aggressive-nat-detection [true]
  5550. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 enable-timer [false]
  5551. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 minimum-session-expires [120]
  5552. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 session-timeout-pt [1800]
  5553. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 auth-calls [true]
  5554. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 apply-inbound-acl [default]
  5555. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 inbound-codec-prefs [PCMA,PCMU]
  5556. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 outbound-codec-prefs [PCMA,PCMU]
  5557. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 inbound-late-negotiation [false]
  5558. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 sip-capture [no]
  5559. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 forward-unsolicited-mwi-notify [false]
  5560. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 context [default]
  5561. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 rfc2833-pt [101]
  5562. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 rtp-timer-name [soft]
  5563. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 hold-music [local_stream://moh]
  5564. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 manage-presence [true]
  5565. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 presence-hosts [172.31.14.218,172.31.14.218]
  5566. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 presence-privacy [false]
  5567. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 inbound-codec-negotiation [generous]
  5568. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 auth-all-packets [false]
  5569. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 ext-rtp-ip [3.7.66.233]
  5570. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 ext-sip-ip [3.7.66.233]
  5571. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 rtp-hold-timeout-sec [1800]
  5572. 2022-04-26 13:56:40.954398 99.13% [WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
  5573. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 challenge-realm [auto_from]
  5574. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 nonce-ttl [60]
  5575. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 pass-callee-id [false]
  5576. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:4720 dtmf_type [rfc2833]
  5577. 2022-04-26 13:56:40.954398 99.13% [INFO] sofia.c:6189 Setting MAX Auth Validity to 0 Attempts
  5578. 2022-04-26 13:56:40.954398 99.13% [NOTICE] sofia.c:6338 Adding Alias [w07version62.astppbilling.org] for profile [default]
  5579. 2022-04-26 13:56:40.954398 99.13% [NOTICE] sofia.c:6356 Started Profile default [sofia_reg_default]
  5580. 2022-04-26 13:56:40.954398 99.13% [DEBUG] mod_sofia.c:6698 Waiting for profiles to start
  5581. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:3156 Creating agent for default
  5582. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:3319 Created agent for default
  5583. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:3369 Set params for default
  5584. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:3416 Activated db for default
  5585. 2022-04-26 13:56:40.954398 99.13% [INFO] switch_core_sqldb.c:1842 sofia:default Starting SQL thread.
  5586. 2022-04-26 13:56:40.954398 99.13% [WARNING] sofia.c:2290 MSG Thread 0 Started
  5587. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:3454 Starting thread for default
  5588. 2022-04-26 13:56:40.954398 99.13% [DEBUG] sofia.c:3046 Launching worker thread for default
  5589. 2022-04-26 13:56:40.974304 99.13% [NOTICE] sofia_reg.c:3735 Added gateway 'YourProvider' to profile 'default'
  5590. 2022-04-26 13:56:42.454318 99.10% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_sofia]
  5591. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'sofia'
  5592. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'rtp'
  5593. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_sla'
  5594. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_stir_shaken_vs'
  5595. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia'
  5596. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_gateway_data'
  5597. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_username_of'
  5598. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_contact'
  5599. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_count_reg'
  5600. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_dig'
  5601. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_presence_data'
  5602. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status'
  5603. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status.info'
  5604. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:621 Adding Chat interface 'sip'
  5605. 2022-04-26 13:56:42.454318 99.10% [NOTICE] switch_loadable_module.c:681 Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
  5606. freeswitch@ip-172-31-14-218>
  5607. freeswitch@ip-172-31-14-218>
  5608. freeswitch@ip-172-31-14-218>
  5609. freeswitch@ip-172-31-14-218>
  5610. freeswitch@ip-172-31-14-218>
  5611. 2022-04-26 13:56:48.834320 99.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  5612. 2022-04-26 13:56:48.874315 99.00% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  5613. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  5614. and you must configure your device to use the proper domain in its authentication credentials.
  5615. 2022-04-26 13:56:48.874315 99.00% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  5616. 2022-04-26 13:57:04.794297 94.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9998913119@w07version62.astppbilling.org] from ip 117.247.91.162
  5617. 2022-04-26 13:57:04.914320 94.63% [CONSOLE] mod_voicemail.c:4065 Event Thread Started
  5618. 2022-04-26 13:57:04.934313 94.63% [CONSOLE] sofia_presence.c:1620 Event Thread Started
  5619. 2022-04-26 13:57:05.054321 94.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9998913119@w07version62.astppbilling.org] from ip 117.247.91.162
  5620. freeswitch@ip-172-31-14-218>
  5621. freeswitch@ip-172-31-14-218>
  5622. freeswitch@ip-172-31-14-218>
  5623. freeswitch@ip-172-31-14-218>
  5624. freeswitch@ip-172-31-14-218>
  5625. freeswitch@ip-172-31-14-218>
  5626. 2022-04-26 13:57:09.974291 94.33% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  5627. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  5628. and you must configure your device to use the proper domain in its authentication credentials.
  5629. 2022-04-26 13:57:09.974291 94.33% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  5630. 2022-04-26 13:57:22.794315 94.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9998988398@w07version62.astppbilling.org] from ip 117.247.91.162
  5631. 2022-04-26 13:57:23.014306 94.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9998988398@w07version62.astppbilling.org] from ip 117.247.91.162
  5632. 2022-04-26 13:57:23.014306 94.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9998988398@w07version62.astppbilling.org] from ip 117.247.91.162
  5633. 2022-04-26 13:57:23.294340 94.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9998988398@w07version62.astppbilling.org] from ip 117.247.91.162
  5634. 2022-04-26 13:57:32.094294 96.47% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  5635. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  5636. and you must configure your device to use the proper domain in its authentication credentials.
  5637. 2022-04-26 13:57:32.094294 96.47% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  5638. freeswitch@ip-172-31-14-218>
  5639. freeswitch@ip-172-31-14-218>
  5640. freeswitch@ip-172-31-14-218>
  5641. freeswitch@ip-172-31-14-218>
  5642. freeswitch@ip-172-31-14-218>
  5643. 2022-04-26 13:57:53.194326 99.50% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  5644. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  5645. and you must configure your device to use the proper domain in its authentication credentials.
  5646. 2022-04-26 13:57:53.194326 99.50% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  5647. freeswitch@ip-172-31-14-218> /exit
  5648.  
  5649. You have new mail in /var/mail/root
  5650. root@ip-172-31-14-218:/usr/share/freeswitch#
  5651. root@ip-172-31-14-218:/usr/share/freeswitch#
  5652. root@ip-172-31-14-218:/usr/share/freeswitch#
  5653. root@ip-172-31-14-218:/usr/share/freeswitch#
  5654. root@ip-172-31-14-218:/usr/share/freeswitch#
  5655. root@ip-172-31-14-218:/usr/share/freeswitch#
  5656. root@ip-172-31-14-218:/usr/share/freeswitch#
  5657. root@ip-172-31-14-218:/usr/share/freeswitch# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  5658. .=======================================================.
  5659. |            _____ ____     ____ _     ___              |
  5660. |           |  ___/ ___|   / ___| |   |_ _|             |
  5661. |           | |_  \___ \  | |   | |    | |              |
  5662. |           |  _|  ___) | | |___| |___ | |              |
  5663. |           |_|   |____/   \____|_____|___|             |
  5664. |                                                       |
  5665. .=======================================================.
  5666. | Anthony Minessale II, Ken Rice,                       |
  5667. | Michael Jerris, Travis Cross                          |
  5668. | FreeSWITCH (http://www.freeswitch.org)                |
  5669. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  5670. | Brought to you by ClueCon http://www.cluecon.com/     |
  5671. .=======================================================.
  5672.  
  5673. .=======================================================================================================.
  5674. |       _                            _    ____ _             ____                                       |
  5675. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  5676. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  5677. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  5678. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  5679. |                                                                                                       |
  5680. |    ____ _____ ____    ____             __                                                             |
  5681. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  5682. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  5683. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  5684. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  5685. |                                                                                                       |
  5686. |     ____ _             ____                                                                           |
  5687. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  5688. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  5689. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  5690. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  5691. |                                                                                                       |
  5692. .=======================================================================================================.
  5693.  
  5694. Type /help <enter> to see a list of commands
  5695.  
  5696.  
  5697.  
  5698.  
  5699. [This app Best viewed at 160x60 or more..]
  5700. +OK log level  [7]
  5701. freeswitch@ip-172-31-14-218>
  5702. freeswitch@ip-172-31-14-218>
  5703. freeswitch@ip-172-31-14-218>
  5704. freeswitch@ip-172-31-14-218>
  5705. freeswitch@ip-172-31-14-218>
  5706. freeswitch@ip-172-31-14-218>
  5707. 2022-04-26 13:58:10.734326 95.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [20023e31-2b41-4d80-850f-27c960ea2971]
  5708. 2022-04-26 13:58:10.734326 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 1)
  5709. 2022-04-26 13:58:10.734326 95.80% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 46.101.114.158:5077 version: 1.10.7 -release-19-883d2cb662 64bit call-id: bfb5c8f8-400b-123b-3db3-ba05d31eb9f9
  5710. 2022-04-26 13:58:10.734326 95.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  5711. 2022-04-26 13:58:10.734326 95.80% [DEBUG] sofia.c:10585 IP 46.101.114.158 Approved by acl "default[]". Access Granted.
  5712. 2022-04-26 13:58:10.734326 95.80% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  5713. 2022-04-26 13:58:10.734326 95.80% [DEBUG] sofia.c:7509 Remote SDP:
  5714. v=0
  5715. o=FreeSWITCH 1650947792 1650947793 IN IP4 46.101.114.158
  5716. s=FreeSWITCH
  5717. c=IN IP4 46.101.114.158
  5718. t=0 0
  5719. m=audio 33698 RTP/AVP 0 101
  5720. a=rtpmap:0 PCMU/8000
  5721. a=rtpmap:101 telephone-event/8000
  5722. a=fmtp:101 0-16
  5723. a=ptime:20
  5724.  
  5725. 2022-04-26 13:58:10.734326 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  5726. 2022-04-26 13:58:10.734326 95.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  5727. 2022-04-26 13:58:10.734326 95.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  5728. 2022-04-26 13:58:10.734326 95.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  5729. 2022-04-26 13:58:10.734326 95.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  5730. 2022-04-26 13:58:10.734326 95.80% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  5731. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  5732. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  5733. 2022-04-26 13:58:10.754309 95.80% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  5734. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  5735. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 1)
  5736. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  5737. 2022-04-26 13:58:10.754309 95.80% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  5738. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  5739. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  5740. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  5741. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 1)
  5742. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  5743. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  5744. 2022-04-26 13:58:10.754309 95.80% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  5745. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  5746. 2022-04-26 13:58:10.754309 95.80% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  5747. 2022-04-26 13:58:10.754309 95.80% [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')
  5748. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5749. 2022-04-26 13:58:10.754309 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  5750. 2022-04-26 13:58:10.754309 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7701111
  5751. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7701111' limit 1
  5752. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7701111' AND status=0 limit 1
  5753. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7701111' and status=0 LIMIT 1
  5754. 2022-04-26 13:58:10.754309 95.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault
  5755. 2022-04-26 13:58:10.754309 95.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5756. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '3.7.66.233' limit 1
  5757. 2022-04-26 13:58:10.774296 95.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  5758. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Prashant Kumar / 8871343676
  5759. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1
  5760. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770111 AND status=0 limit 1
  5761. 2022-04-26 13:58:10.774296 95.73% [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 ="7701111" LIMIT 1
  5762. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  5763. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5764. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  5765. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "7701111"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  5766. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7073582043]
  5767. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7073582043" AND deleted = 0 limit 1
  5768. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  5769. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7701111" AND (accountid = 0 OR status = 1) LIMIT 1
  5770. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  5771. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  5772. 2022-04-26 13:58:10.774296 95.73% [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 = '^7701111.*' OR patterns = '^770111.*' OR patterns = '^77011.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  5773. 2022-04-26 13:58:10.774296 95.73% [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 ="7701111" AND A.accountid = '9' limit 1
  5774. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7701111
  5775. 2022-04-26 13:58:10.774296 95.73% [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 ="7701111" LIMIT 1
  5776. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  5777. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5778. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  5779. 2022-04-26 13:58:10.774296 95.73% [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 = '7701111' OR number = '770111' OR number = '77011' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7701111*' OR number = '770111*' OR number = '77011*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '8871343676' OR number = '887134367' OR number = '88713436' OR number = '8871343' OR number = '887134' OR number = '88713' OR number = '8871' OR number = '887' OR number = '88' OR number = '8' OR number ='--') OR (number = '8871343676*' OR number = '887134367*' OR number = '88713436*' OR number = '8871343*' OR number = '887134*' OR number = '88713*' OR number = '8871*' OR number = '887*' OR number = '88*' OR number = '8*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  5780. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  5781. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7701111' OR routing_prefix = '770111' OR routing_prefix = '77011' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  5782. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  5783. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  5784. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7073582043
  5785. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  5786. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11.3834
  5787. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  5788. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  5789. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  5790. 2022-04-26 13:58:10.774296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  5791. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  5792. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  5793. 2022-04-26 13:58:10.774296 95.73% [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 ="7701111" LIMIT 1
  5794. 2022-04-26 13:58:10.774296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  5795. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5796. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  5797. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  5798. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  5799. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  5800. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  5801. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  5802. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  5803. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  5804. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.58
  5805. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  5806. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  5807. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0
  5808. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  5809. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  5810. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  5811. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  5812. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  5813. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 7701111
  5814. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  5815. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  5816. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  5817. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  5818. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  5819. 2022-04-26 13:58:10.794296 95.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  5820. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  5821. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  5822. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  5823. 2022-04-26 13:58:10.794296 95.73% [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 = 9 AND status=0 LIMIT 1
  5824. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  5825. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  5826. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  5827. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  5828. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7701111.*' OR pattern = '^770111.*' OR pattern = '^77011.*' OR pattern = '^7701.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^8871343676.*' OR caller_id_pattern = '^887134367.*' OR caller_id_pattern = '^88713436.*' OR caller_id_pattern = '^8871343.*' OR caller_id_pattern = '^887134.*' OR caller_id_pattern = '^88713.*' OR caller_id_pattern = '^8871.*' OR caller_id_pattern = '^887.*' OR caller_id_pattern = '^88.*' OR caller_id_pattern = '^8.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  5829. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  5830. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  5831. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  5832. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  5833. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  5834. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  5835. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  5836. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  5837. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.58
  5838. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  5839. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  5840. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  5841. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  5842. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  5843. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  5844. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  5845. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  5846. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  5847. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  5848. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  5849. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  5850. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  5851. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  5852. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  5853. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  5854. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  5855. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  5856. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  5857. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  5858. 2022-04-26 13:58:10.794296 95.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : w07version62.astppbilling.org
  5859. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  5860. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5861. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  5862. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  5863. 2022-04-26 13:58:10.794296 95.73% [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 = "9998913119" AND accounts.status = 0
  5864. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  5865. 2022-04-26 13:58:10.794296 95.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : w07version62.astppbilling.org
  5866. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  5867. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  5868. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  5869. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9998913119
  5870. 2022-04-26 13:58:10.794296 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  5871. 2022-04-26 13:58:10.794296 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  5872. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  5873. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  5874. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  5875. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  5876. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  5877. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  5878. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  5879. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  5880. 2022-04-26 13:58:10.814294 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  5881. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  5882. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  5883. 2022-04-26 13:58:10.814294 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 2
  5884. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  5885. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  5886. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  5887. 2022-04-26 13:58:10.814294 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  5888. 2022-04-26 13:58:10.814294 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  5889. 2022-04-26 13:58:10.814294 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  5890. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  5891. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  5892. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  5893. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  5894. 2022-04-26 13:58:10.814294 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  5895. <document type="freeswitch/xml">
  5896. <section name="dialplan" description="ASTPP Dialplan">
  5897. <context name="default">
  5898. <extension name="7701111">
  5899. <condition field="destination_number" expression="7701111">
  5900. <action application="set" data="effective_destination_number=7701111"/>
  5901. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  5902. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  5903. <action application="set" data="callstart=2022-04-26 13:58:10"/>
  5904. <action application="set" data="hangup_after_bridge=true"/>
  5905. <action application="set" data="continue_on_fail=TRUE"/>
  5906. <action application="set" data="account_id=9"/>
  5907. <action application="set" data="parent_id=0"/>
  5908. <action application="set" data="entity_id=3"/>
  5909. <action application="set" data="call_processed=internal"/>
  5910. <action application="set" data="call_direction=inbound"/>
  5911. <action application="set" data="accountname=Entdemo"/>
  5912. <action application="set" data="filename1=astpp.pbx.lua"/>
  5913. <action application="set" data="origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5"/>
  5914. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9"/>
  5915. <action application="set" data="original_caller_id_name=Prashant Kumar"/>
  5916. <action application="set" data="original_caller_id_number=8871343676"/>
  5917. <action application="set" data="effective_caller_id_name=Prashant Kumar"/>
  5918. <action application="set" data="effective_caller_id_number=8871343676"/>
  5919. <action application="set" data="receiver_accid=5"/>
  5920. <action application="set" data="did_id=1"/>
  5921. <action application="set" data="transfer_call_type=5"/>
  5922. <action application="set" data="transfer_extensions=9998988398"/>
  5923. <action application="set" data="busy_status=1"/>
  5924. <action application="set" data="no_answer_status=1"/>
  5925. <action application="set" data="always_status=1"/>
  5926. <action application="set" data="transfer_status=1"/>
  5927. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  5928. <action application="set" data="variable_sip_network_ip=46.101.114.158"/>
  5929. <action application="set" data="variable_sip_network_port=5077"/>
  5930. <action application="export" data="domain_name=w07version62.astppbilling.org"/>
  5931. <action application="export" data="sip_to_host=w07version62.astppbilling.org"/>
  5932. <action application="export" data="presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158"/>
  5933. <action application="export" data="call_type=0"/>
  5934. <action application="set" data="calltype=DID-LOCAL"/>
  5935. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  5936. <action application="set" data="dialed_extension=transfer_call"/>
  5937. <action application="export" data="dialed_extension=transfer_call"/>
  5938. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  5939. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  5940. <action application="set" data="hangup_after_bridge=true"/>
  5941. <action application="export" data="did_user_domain=w07version62.astppbilling.org"/>
  5942. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  5943. <action application="set" data="dialed_extension=transfer_call"/>
  5944. <action application="export" data="dialed_extension=transfer_call"/>
  5945. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  5946. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  5947. <action application="set" data="transfer_ringback=$${hold_music}"/>
  5948. <action application="set" data="hangup_after_bridge=true"/>
  5949. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] user/9998913119@w07version62.astppbilling.org"/>
  5950. <action application="set" data="on_busy_flag=1"/>
  5951. <action application="set" data="on_busy_destination="/>
  5952. <action application="set" data="no_answer_flag=1"/>
  5953. <action application="set" data="no_answer_destination="/>
  5954. <action application="set" data="not_register_flag=1"/>
  5955. <action application="set" data="not_register_destination="/>
  5956. <action application="set" data="opensips_flag=1"/>
  5957. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  5958. <action application="set" data="opensips_domain=172.31.14.218"/>
  5959. <action application="set" data="leg_timeout=20"/>
  5960. <action application="set" data="userinfo_id=5"/>
  5961. <action application="set" data="sip_destination_number=9998913119"/>
  5962. <action application="set" data="did_number=9998913119"/>
  5963. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  5964. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  5965. <action application="set" data="on_busy_flag=1"/>
  5966. <action application="set" data="on_busy_destination="/>
  5967. <action application="set" data="no_answer_flag=1"/>
  5968. <action application="set" data="no_answer_destination="/>
  5969. <action application="set" data="not_register_flag=1"/>
  5970. <action application="set" data="not_register_destination="/>
  5971. <action application="set" data="opensips_flag=1"/>
  5972. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  5973. <action application="set" data="opensips_domain=172.31.14.218"/>
  5974. <action application="set" data="leg_timeout=20"/>
  5975. <action application="set" data="userinfo_id=5"/>
  5976. <action application="set" data="sip_destination_number=9998913119"/>
  5977. <action application="set" data="destination_number=9998913119"/>
  5978. <action application="set" data="did_number=7701111"/>
  5979. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  5980. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  5981. <condition field="${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  5982. <action application="answer"/>
  5983. <action application="export" data="voicemail_alternate_greet_id=9998913119"/>
  5984. <action application="voicemail" data="default $${domain_name} 9998913119"/>
  5985. <anti-action application="hangup" data="${originate_disposition}"/>
  5986. </condition>
  5987. </condition>
  5988. </extension>
  5989. </context>
  5990. </section>
  5991. </document>
  5992. Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->7701111] continue=false
  5993. Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [7701111] destination_number(7701111) =~ /7701111/ break=on-false
  5994. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=7701111)
  5995. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  5996. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  5997. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-26 13:58:10)
  5998. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  5999. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE)
  6000. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=9)
  6001. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0)
  6002. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3)
  6003. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal)
  6004. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound)
  6005. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=Entdemo)
  6006. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(filename1=astpp.pbx.lua)
  6007. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  6008. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  6009. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=Prashant Kumar)
  6010. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_number=8871343676)
  6011. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=Prashant Kumar)
  6012. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_number=8871343676)
  6013. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5)
  6014. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  6015. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_call_type=5)
  6016. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_extensions=9998988398)
  6017. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(busy_status=1)
  6018. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_status=1)
  6019. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(always_status=1)
  6020. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_status=1)
  6021. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=${domain_name})
  6022. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_ip=46.101.114.158)
  6023. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_port=5077)
  6024. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=w07version62.astppbilling.org)
  6025. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=w07version62.astppbilling.org)
  6026. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  6027. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=0)
  6028. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(calltype=DID-LOCAL)
  6029. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  6030. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  6031. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  6032. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6033. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6034. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  6035. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(did_user_domain=w07version62.astppbilling.org)
  6036. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  6037. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  6038. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  6039. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6040. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6041. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  6042. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  6043. Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] user/9998913119@w07version62.astppbilling.org)
  6044. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  6045. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  6046. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  6047. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  6048. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  6049. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  6050. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=1)
  6051. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  6052. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  6053. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  6054. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  6055. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  6056. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=9998913119)
  6057. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  6058. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  6059. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  6060. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  6061. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  6062. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  6063. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  6064. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  6065. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=1)
  6066. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  6067. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  6068. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  6069. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  6070. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  6071. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(destination_number=9998913119)
  6072. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=7701111)
  6073. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  6074. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  6075. |--- Dialplan: Processing recursive conditions level:1 [7701111_recur_1] require-nested=TRUE
  6076. |--- Dialplan: sofia/default/8871343676@46.101.114.158 Regex (FAIL) [7701111_recur_1] ${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  6077. |--- Dialplan: sofia/default/8871343676@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  6078. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  6079. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  6080. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 1)
  6081. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE
  6082. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE
  6083. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE
  6084. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=7701111)
  6085. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[7701111]
  6086. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  6087. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  6088. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  6089. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  6090. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-26 13:58:10)
  6091. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-26 13:58:10]
  6092. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  6093. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  6094. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE)
  6095. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE]
  6096. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=9)
  6097. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[9]
  6098. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0)
  6099. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0]
  6100. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3)
  6101. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3]
  6102. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal)
  6103. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal]
  6104. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound)
  6105. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound]
  6106. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=Entdemo)
  6107. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[Entdemo]
  6108. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(filename1=astpp.pbx.lua)
  6109. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [filename1]=[astpp.pbx.lua]
  6110. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  6111. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5]
  6112. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  6113. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9]
  6114. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=Prashant Kumar)
  6115. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[Prashant Kumar]
  6116. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_number=8871343676)
  6117. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_number]=[8871343676]
  6118. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=Prashant Kumar)
  6119. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[Prashant Kumar]
  6120. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_number=8871343676)
  6121. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_number]=[8871343676]
  6122. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5)
  6123. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5]
  6124. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  6125. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  6126. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_call_type=5)
  6127. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_call_type]=[5]
  6128. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_extensions=9998988398)
  6129. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_extensions]=[9998988398]
  6130. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(busy_status=1)
  6131. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [busy_status]=[1]
  6132. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_status=1)
  6133. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_status]=[1]
  6134. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(always_status=1)
  6135. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [always_status]=[1]
  6136. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_status=1)
  6137. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_status]=[1]
  6138. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=172.31.14.218)
  6139. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[172.31.14.218]
  6140. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_ip=46.101.114.158)
  6141. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_ip]=[46.101.114.158]
  6142. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_port=5077)
  6143. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_port]=[5077]
  6144. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=w07version62.astppbilling.org)
  6145. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[w07version62.astppbilling.org]
  6146. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=w07version62.astppbilling.org)
  6147. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[w07version62.astppbilling.org]
  6148. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  6149. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158]
  6150. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=0)
  6151. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  6152. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(calltype=DID-LOCAL)
  6153. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [calltype]=[DID-LOCAL]
  6154. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/20023e31-2b41-4d80-850f-27c960ea2971)
  6155. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  6156. 2022-04-26 13:58:10.834357 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  6157. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  6158. 2022-04-26 13:58:10.834357 95.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  6159. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6160. 2022-04-26 13:58:10.834357 95.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  6161. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6162. 2022-04-26 13:58:10.834357 95.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  6163. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  6164. 2022-04-26 13:58:10.854307 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  6165. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(did_user_domain=w07version62.astppbilling.org)
  6166. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[w07version62.astppbilling.org]
  6167. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/20023e31-2b41-4d80-850f-27c960ea2971)
  6168. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  6169. 2022-04-26 13:58:10.854307 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  6170. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  6171. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  6172. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6173. 2022-04-26 13:58:10.854307 95.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  6174. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6175. 2022-04-26 13:58:10.854307 95.73% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  6176. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_ringback=local_stream://moh)
  6177. 2022-04-26 13:58:10.854307 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  6178. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  6179. 2022-04-26 13:58:10.854307 95.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  6180. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] user/9998913119@w07version62.astppbilling.org)
  6181. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version62.astppbilling.org] to event
  6182. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version62.astppbilling.org] to event
  6183. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  6184. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  6185. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  6186. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[w07version62.astppbilling.org] to event
  6187. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  6188. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  6189. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  6190. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version62.astppbilling.org] to event
  6191. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version62.astppbilling.org] to event
  6192. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  6193. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  6194. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  6195. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[w07version62.astppbilling.org] to event
  6196. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  6197. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  6198. 2022-04-26 13:58:10.854307 95.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998913119@192.168.1.13:55638 [96c52a49-753d-40e2-a6b7-227c9f22a9cd]
  6199. 2022-04-26 13:58:10.854307 95.73% [DEBUG] mod_sofia.c:5121 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_NEW -> CS_INIT
  6200. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998913119@192.168.1.13:55638 Setting leg timeout to 20
  6201. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_INIT (Cur 2 Tot 2)
  6202. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@192.168.1.13:55638) State INIT
  6203. 2022-04-26 13:58:10.854307 95.73% [DEBUG] mod_sofia.c:97 sofia/default/9998913119@192.168.1.13:55638 SOFIA INIT
  6204. 2022-04-26 13:58:10.854307 95.73% [DEBUG] sofia_glue.c:1620 sip:9998913119@117.247.91.162:55638;rinstance=82e0d1c2ef596949 Setting proxy route to sofia/default/9998913119@192.168.1.13:55638
  6205. 2022-04-26 13:58:10.854307 95.73% [INFO] sofia_glue.c:1651 sofia/default/9998913119@192.168.1.13:55638 sending invite call-id: (null)
  6206. 2022-04-26 13:58:10.854307 95.73% [DEBUG] sofia_glue.c:1654 sofia/default/9998913119@192.168.1.13:55638 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  6207. Local SDP:
  6208. v=0
  6209. o=FreeSWITCH 1650961526 1650961527 IN IP4 3.7.66.233
  6210. s=FreeSWITCH
  6211. c=IN IP4 3.7.66.233
  6212. t=0 0
  6213. m=audio 19964 RTP/AVP 0 101
  6214. a=rtpmap:0 PCMU/8000
  6215. a=rtpmap:101 telephone-event/8000
  6216. a=fmtp:101 0-15
  6217. a=ptime:20
  6218. a=sendrecv
  6219.  
  6220. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998913119@192.168.1.13:55638 Standard INIT
  6221. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_INIT -> CS_ROUTING
  6222. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@192.168.1.13:55638) State INIT going to sleep
  6223. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_ROUTING (Cur 2 Tot 2)
  6224. 2022-04-26 13:58:10.854307 95.73% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@192.168.1.13:55638 entering state [calling][0]
  6225. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@192.168.1.13:55638) State ROUTING
  6226. 2022-04-26 13:58:10.854307 95.73% [DEBUG] mod_sofia.c:158 sofia/default/9998913119@192.168.1.13:55638 SOFIA ROUTING
  6227. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  6228. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@192.168.1.13:55638) State ROUTING going to sleep
  6229. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2)
  6230. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@192.168.1.13:55638) State CONSUME_MEDIA
  6231. 2022-04-26 13:58:10.854307 95.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@192.168.1.13:55638) State CONSUME_MEDIA going to sleep
  6232. 2022-04-26 13:58:10.994321 95.73% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@192.168.1.13:55638 entering state [proceeding][180]
  6233. 2022-04-26 13:58:10.994321 95.73% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/9998913119@192.168.1.13:55638!
  6234. 2022-04-26 13:58:10.994321 95.73% [DEBUG] switch_channel.c:3494 (sofia/default/9998913119@192.168.1.13:55638) Callstate Change DOWN -> RINGING
  6235. 2022-04-26 13:58:10.994321 95.73% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/8871343676@46.101.114.158!
  6236. 2022-04-26 13:58:10.994321 95.73% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [early][180]
  6237. 2022-04-26 13:58:10.994321 95.73% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/8871343676@46.101.114.158!
  6238. 2022-04-26 13:58:14.274315 95.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  6239. 2022-04-26 13:58:14.314296 95.37% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  6240. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  6241. and you must configure your device to use the proper domain in its authentication credentials.
  6242. 2022-04-26 13:58:14.314296 95.37% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  6243. 2022-04-26 13:58:19.074349 95.30% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@192.168.1.13:55638 entering state [completing][200]
  6244. 2022-04-26 13:58:19.074349 95.30% [DEBUG] sofia.c:7509 Remote SDP:
  6245. v=0
  6246. o=3cxVCE 174323745 135572790 IN IP4 192.168.1.13
  6247. s=3cxVCE Audio Call
  6248. c=IN IP4 192.168.1.13
  6249. t=0 0
  6250. m=audio 40020 RTP/AVP 0 101
  6251. a=rtpmap:0 PCMU/8000
  6252. a=rtpmap:101 telephone-event/8000
  6253. a=fmtp:101 0-15
  6254.  
  6255. 2022-04-26 13:58:19.074349 95.30% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@192.168.1.13:55638 entering state [ready][200]
  6256. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6257. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  6258. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  6259. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9998913119@192.168.1.13:55638 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  6260. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_codec.c:111 sofia/default/9998913119@192.168.1.13:55638 Original read codec set to PCMU:0
  6261. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  6262. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:5973 sofia/default/9998913119@192.168.1.13:55638 Set 2833 dtmf send payload to 101 recv payload to 101
  6263. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9998913119@192.168.1.13:55638] 172.31.14.218 port 19964 -> 192.168.1.13 port 40020 codec: 0 ms: 20
  6264. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  6265. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:9089 sofia/default/9998913119@192.168.1.13:55638 Set 2833 dtmf send payload to 101
  6266. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:9096 sofia/default/9998913119@192.168.1.13:55638 Set 2833 dtmf receive payload to 101
  6267. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:9119 sofia/default/9998913119@192.168.1.13:55638 Set rtp dtmf delay to 40
  6268. 2022-04-26 13:58:19.074349 95.30% [NOTICE] sofia.c:8683 Channel [sofia/default/9998913119@192.168.1.13:55638] has been answered
  6269. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_channel.c:3950 (sofia/default/9998913119@192.168.1.13:55638) Callstate Change RINGING -> ACTIVE
  6270. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/8871343676@46.101.114.158] 172.31.14.218 port 25172 -> 46.101.114.158 port 33698 codec: 0 ms: 20
  6271. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  6272. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:9089 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101
  6273. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:9096 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf receive payload to 101
  6274. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_media.c:9119 sofia/default/8871343676@46.101.114.158 Set rtp dtmf delay to 40
  6275. 2022-04-26 13:58:19.074349 95.30% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/8871343676@46.101.114.158:
  6276. v=0
  6277. o=FreeSWITCH 1650956327 1650956328 IN IP4 3.7.66.233
  6278. s=FreeSWITCH
  6279. c=IN IP4 3.7.66.233
  6280. t=0 0
  6281. m=audio 25172 RTP/AVP 0 101
  6282. a=rtpmap:0 PCMU/8000
  6283. a=rtpmap:101 telephone-event/8000
  6284. a=fmtp:101 0-15
  6285. a=ptime:20
  6286. a=sendrecv
  6287.  
  6288. 2022-04-26 13:58:19.074349 95.30% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [completed][200]
  6289. 2022-04-26 13:58:19.074349 95.30% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/8871343676@46.101.114.158] has been answered
  6290. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_channel.c:3950 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> ACTIVE
  6291. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/9998913119@192.168.1.13:55638] Peer UUID: 96c52a49-753d-40e2-a6b7-227c9f22a9cd
  6292. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998913119@192.168.1.13:55638 Setting leg timeout to 20
  6293. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/9998913119@192.168.1.13:55638] Peer UUID: 96c52a49-753d-40e2-a6b7-227c9f22a9cd
  6294. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  6295. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 2)
  6296. 2022-04-26 13:58:19.074349 95.30% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9998913119@192.168.1.13:55638) State EXCHANGE_MEDIA
  6297. 2022-04-26 13:58:19.074349 95.30% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  6298. 2022-04-26 13:58:19.194297 95.30% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [ready][200]
  6299. 2022-04-26 13:58:19.274324 95.30% [DEBUG] switch_ivr_bridge.c:655 sofia/default/9998913119@192.168.1.13:55638 Bridge execute app sched_hangup(+6000 normal_clearing)
  6300. 2022-04-26 13:58:19.294318 95.30% [DEBUG] switch_ivr.c:632 sofia/default/9998913119@192.168.1.13:55638 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  6301. EXECUTE [depth=0] sofia/default/9998913119@192.168.1.13:55638 sched_hangup(+6000 normal_clearing)
  6302. 2022-04-26 13:58:19.294318 95.30% [DEBUG] switch_scheduler.c:263 Added task 4 switch_ivr_schedule_hangup (96c52a49-753d-40e2-a6b7-227c9f22a9cd) to run at 1650987499
  6303. 2022-04-26 13:58:19.394314 95.30% [INFO] switch_rtp.c:7894 Auto Changing audio port from 192.168.1.13:40020 to 117.247.91.162:40020
  6304. 2022-04-26 13:58:19.754294 95.30% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  6305. 2022-04-26 13:58:20.754301 95.23% [NOTICE] sofia.c:1065 Hangup sofia/default/9998913119@192.168.1.13:55638 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  6306. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9998913119@192.168.1.13:55638]
  6307. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9998913119@192.168.1.13:55638) State EXCHANGE_MEDIA going to sleep
  6308. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_HANGUP (Cur 2 Tot 2)
  6309. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998913119@192.168.1.13:55638) Callstate Change ACTIVE -> HANGUP
  6310. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@192.168.1.13:55638) State HANGUP
  6311. 2022-04-26 13:58:20.754301 95.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998913119@192.168.1.13:55638 hanging up, cause: NORMAL_CLEARING
  6312. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998913119@192.168.1.13:55638 Standard HANGUP, cause: NORMAL_CLEARING
  6313. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@192.168.1.13:55638) State HANGUP going to sleep
  6314. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_HANGUP -> CS_REPORTING
  6315. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_REPORTING (Cur 2 Tot 2)
  6316. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@192.168.1.13:55638) State REPORTING
  6317. 2022-04-26 13:58:20.754301 95.23% [INFO] mod_json_cdr.c:271 Process [96c52a49-753d-40e2-a6b7-227c9f22a9cd.cdr.json]
  6318. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9998913119@192.168.1.13:55638 ending bridge by request from write function
  6319. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/8871343676@46.101.114.158]
  6320. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/9998913119@192.168.1.13:55638 skip receive message [UNBRIDGE] (channel is hungup already)
  6321. 2022-04-26 13:58:20.754301 95.23% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  6322. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  6323. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep
  6324. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 2)
  6325. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  6326. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  6327. 2022-04-26 13:58:20.754301 95.23% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 480 with 200 from the other leg
  6328. 2022-04-26 13:58:20.754301 95.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  6329. 2022-04-26 13:58:20.754301 95.23% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/8871343676@46.101.114.158
  6330. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  6331. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  6332. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  6333. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 2)
  6334. 2022-04-26 13:58:20.754301 95.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  6335. 2022-04-26 13:58:20.754301 95.23% [INFO] mod_json_cdr.c:271 Process [20023e31-2b41-4d80-850f-27c960ea2971.cdr.json]
  6336. 2022-04-26 13:58:20.774316 95.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998913119@192.168.1.13:55638 Standard REPORTING, cause: NORMAL_CLEARING
  6337. 2022-04-26 13:58:20.774316 95.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@192.168.1.13:55638) State REPORTING going to sleep
  6338. 2022-04-26 13:58:20.774316 95.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_REPORTING -> CS_DESTROY
  6339. 2022-04-26 13:58:20.774316 95.23% [DEBUG] switch_core_session.c:1753 Session 2 (sofia/default/9998913119@192.168.1.13:55638) Locked, Waiting on external entities
  6340. 2022-04-26 13:58:20.774316 95.23% [NOTICE] switch_core_session.c:1771 Session 2 (sofia/default/9998913119@192.168.1.13:55638) Ended
  6341. 2022-04-26 13:58:20.774316 95.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998913119@192.168.1.13:55638 [CS_DESTROY]
  6342. 2022-04-26 13:58:20.774316 95.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_DESTROY (Cur 1 Tot 2)
  6343. 2022-04-26 13:58:20.774316 95.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@192.168.1.13:55638) State DESTROY
  6344. 2022-04-26 13:58:20.774316 95.23% [DEBUG] mod_sofia.c:379 sofia/default/9998913119@192.168.1.13:55638 SOFIA DESTROY
  6345. 2022-04-26 13:58:20.774316 95.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998913119@192.168.1.13:55638 Standard DESTROY
  6346. 2022-04-26 13:58:20.774316 95.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@192.168.1.13:55638) State DESTROY going to sleep
  6347. 2022-04-26 13:58:20.794296 95.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  6348. 2022-04-26 13:58:20.794296 95.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  6349. 2022-04-26 13:58:20.794296 95.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  6350. 2022-04-26 13:58:20.794296 95.23% [DEBUG] switch_core_session.c:1753 Session 1 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  6351. 2022-04-26 13:58:20.794296 95.23% [NOTICE] switch_core_session.c:1771 Session 1 (sofia/default/8871343676@46.101.114.158) Ended
  6352. 2022-04-26 13:58:20.794296 95.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  6353. 2022-04-26 13:58:20.794296 95.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 2)
  6354. 2022-04-26 13:58:20.794296 95.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  6355. 2022-04-26 13:58:20.794296 95.23% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  6356. 2022-04-26 13:58:20.794296 95.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  6357. 2022-04-26 13:58:20.794296 95.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  6358. 2022-04-26 13:58:20.794296 95.23% [DEBUG] switch_scheduler.c:147 Deleting task 4 switch_ivr_schedule_hangup (96c52a49-753d-40e2-a6b7-227c9f22a9cd)
  6359. freeswitch@ip-172-31-14-218>
  6360. freeswitch@ip-172-31-14-218>
  6361. freeswitch@ip-172-31-14-218>
  6362. freeswitch@ip-172-31-14-218>
  6363. freeswitch@ip-172-31-14-218>
  6364. freeswitch@ip-172-31-14-218> /exit
  6365.  
  6366. root@ip-172-31-14-218:/usr/share/freeswitch#
  6367. root@ip-172-31-14-218:/usr/share/freeswitch#
  6368. root@ip-172-31-14-218:/usr/share/freeswitch#
  6369. root@ip-172-31-14-218:/usr/share/freeswitch#
  6370. root@ip-172-31-14-218:/usr/share/freeswitch#
  6371. root@ip-172-31-14-218:/usr/share/freeswitch#
  6372. root@ip-172-31-14-218:/usr/share/freeswitch#
  6373. root@ip-172-31-14-218:/usr/share/freeswitch#
  6374. root@ip-172-31-14-218:/usr/share/freeswitch#
  6375. root@ip-172-31-14-218:/usr/share/freeswitch#
  6376. root@ip-172-31-14-218:/usr/share/freeswitch#
  6377. root@ip-172-31-14-218:/usr/share/freeswitch#
  6378. root@ip-172-31-14-218:/usr/share/freeswitch#
  6379. root@ip-172-31-14-218:/usr/share/freeswitch#
  6380. root@ip-172-31-14-218:/usr/share/freeswitch#
  6381. root@ip-172-31-14-218:/usr/share/freeswitch#
  6382. root@ip-172-31-14-218:/usr/share/freeswitch#
  6383. root@ip-172-31-14-218:/usr/share/freeswitch#
  6384. root@ip-172-31-14-218:/usr/share/freeswitch#
  6385. root@ip-172-31-14-218:/usr/share/freeswitch#
  6386. root@ip-172-31-14-218:/usr/share/freeswitch#
  6387. root@ip-172-31-14-218:/usr/share/freeswitch#
  6388. root@ip-172-31-14-218:/usr/share/freeswitch# fs_cli -pSm5DmNM8bYMS1sP2yVI1
  6389. .=======================================================.
  6390. |            _____ ____     ____ _     ___              |
  6391. |           |  ___/ ___|   / ___| |   |_ _|             |
  6392. |           | |_  \___ \  | |   | |    | |              |
  6393. |           |  _|  ___) | | |___| |___ | |              |
  6394. |           |_|   |____/   \____|_____|___|             |
  6395. |                                                       |
  6396. .=======================================================.
  6397. | Anthony Minessale II, Ken Rice,                       |
  6398. | Michael Jerris, Travis Cross                          |
  6399. | FreeSWITCH (http://www.freeswitch.org)                |
  6400. | Paypal Donations Appreciated: paypal@freeswitch.org   |
  6401. | Brought to you by ClueCon http://www.cluecon.com/     |
  6402. .=======================================================.
  6403.  
  6404. .=======================================================================================================.
  6405. |       _                            _    ____ _             ____                                       |
  6406. |      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
  6407. |     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
  6408. |    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
  6409. |   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
  6410. |                                                                                                       |
  6411. |    ____ _____ ____    ____             __                                                             |
  6412. |   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
  6413. |   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
  6414. |   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
  6415. |   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
  6416. |                                                                                                       |
  6417. |     ____ _             ____                                                                           |
  6418. |    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
  6419. |   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
  6420. |   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
  6421. |    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
  6422. |                                                                                                       |
  6423. .=======================================================================================================.
  6424.  
  6425. Type /help <enter> to see a list of commands
  6426.  
  6427.  
  6428.  
  6429.  
  6430. [This app Best viewed at 160x60 or more..]
  6431. +OK log level  [7]
  6432. freeswitch@ip-172-31-14-218>
  6433. freeswitch@ip-172-31-14-218>
  6434. freeswitch@ip-172-31-14-218>
  6435. freeswitch@ip-172-31-14-218>
  6436. freeswitch@ip-172-31-14-218>
  6437. freeswitch@ip-172-31-14-218>
  6438. freeswitch@ip-172-31-14-218>
  6439. freeswitch@ip-172-31-14-218>
  6440. freeswitch@ip-172-31-14-218>
  6441. freeswitch@ip-172-31-14-218>
  6442. freeswitch@ip-172-31-14-218>
  6443. freeswitch@ip-172-31-14-218>
  6444. freeswitch@ip-172-31-14-218>
  6445. freeswitch@ip-172-31-14-218>
  6446. freeswitch@ip-172-31-14-218>
  6447. freeswitch@ip-172-31-14-218>
  6448. 2022-04-26 13:58:57.494296 98.80% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  6449. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  6450. and you must configure your device to use the proper domain in its authentication credentials.
  6451. 2022-04-26 13:58:57.494296 98.80% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  6452. 2022-04-26 13:59:12.914318 94.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [6afc9351-fd5b-4443-a663-d46bc1eff942]
  6453. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 3)
  6454. 2022-04-26 13:59:12.914318 94.87% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 46.101.114.158:5077 version: 1.10.7 -release-19-883d2cb662 64bit call-id: e4c2dcec-400b-123b-3db3-ba05d31eb9f9
  6455. 2022-04-26 13:59:12.914318 94.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  6456. 2022-04-26 13:59:12.914318 94.87% [DEBUG] sofia.c:10585 IP 46.101.114.158 Approved by acl "default[]". Access Granted.
  6457. 2022-04-26 13:59:12.914318 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  6458. 2022-04-26 13:59:12.914318 94.87% [DEBUG] sofia.c:7509 Remote SDP:
  6459. v=0
  6460. o=FreeSWITCH 1650962728 1650962729 IN IP4 46.101.114.158
  6461. s=FreeSWITCH
  6462. c=IN IP4 46.101.114.158
  6463. t=0 0
  6464. m=audio 18824 RTP/AVP 0 101
  6465. a=rtpmap:0 PCMU/8000
  6466. a=rtpmap:101 telephone-event/8000
  6467. a=fmtp:101 0-16
  6468. a=ptime:20
  6469.  
  6470. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  6471. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6472. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  6473. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  6474. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  6475. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  6476. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  6477. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  6478. 2022-04-26 13:59:12.914318 94.87% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  6479. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  6480. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 3)
  6481. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  6482. 2022-04-26 13:59:12.914318 94.87% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  6483. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  6484. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  6485. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  6486. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 3)
  6487. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  6488. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  6489. 2022-04-26 13:59:12.914318 94.87% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  6490. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  6491. 2022-04-26 13:59:12.914318 94.87% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  6492. 2022-04-26 13:59:12.914318 94.87% [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')
  6493. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6494. 2022-04-26 13:59:12.914318 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  6495. 2022-04-26 13:59:12.914318 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7701111
  6496. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7701111' limit 1
  6497. 2022-04-26 13:59:12.914318 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7701111' AND status=0 limit 1
  6498. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7701111' and status=0 LIMIT 1
  6499. 2022-04-26 13:59:12.934294 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault
  6500. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6501. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '3.7.66.233' limit 1
  6502. 2022-04-26 13:59:12.934294 94.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  6503. 2022-04-26 13:59:12.934294 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Prashant Kumar / 8871343676
  6504. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1
  6505. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770111 AND status=0 limit 1
  6506. 2022-04-26 13:59:12.934294 94.87% [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 ="7701111" LIMIT 1
  6507. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  6508. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6509. 2022-04-26 13:59:12.934294 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  6510. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "7701111"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  6511. 2022-04-26 13:59:12.934294 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7073582043]
  6512. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7073582043" AND deleted = 0 limit 1
  6513. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  6514. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7701111" AND (accountid = 0 OR status = 1) LIMIT 1
  6515. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  6516. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  6517. 2022-04-26 13:59:12.934294 94.87% [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 = '^7701111.*' OR patterns = '^770111.*' OR patterns = '^77011.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  6518. 2022-04-26 13:59:12.934294 94.87% [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 ="7701111" AND A.accountid = '9' limit 1
  6519. 2022-04-26 13:59:12.934294 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7701111
  6520. 2022-04-26 13:59:12.934294 94.87% [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 ="7701111" LIMIT 1
  6521. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  6522. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6523. 2022-04-26 13:59:12.934294 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  6524. 2022-04-26 13:59:12.934294 94.87% [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 = '7701111' OR number = '770111' OR number = '77011' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7701111*' OR number = '770111*' OR number = '77011*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '8871343676' OR number = '887134367' OR number = '88713436' OR number = '8871343' OR number = '887134' OR number = '88713' OR number = '8871' OR number = '887' OR number = '88' OR number = '8' OR number ='--') OR (number = '8871343676*' OR number = '887134367*' OR number = '88713436*' OR number = '8871343*' OR number = '887134*' OR number = '88713*' OR number = '8871*' OR number = '887*' OR number = '88*' OR number = '8*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  6525. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  6526. 2022-04-26 13:59:12.934294 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7701111' OR routing_prefix = '770111' OR routing_prefix = '77011' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  6527. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  6528. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  6529. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7073582043
  6530. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  6531. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11.3834
  6532. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  6533. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  6534. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  6535. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  6536. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  6537. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  6538. 2022-04-26 13:59:12.954296 94.87% [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 ="7701111" LIMIT 1
  6539. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  6540. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6541. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  6542. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  6543. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  6544. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  6545. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  6546. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  6547. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  6548. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  6549. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.59
  6550. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  6551. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  6552. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0
  6553. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  6554. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  6555. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  6556. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  6557. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  6558. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 7701111
  6559. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  6560. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  6561. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  6562. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  6563. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  6564. 2022-04-26 13:59:12.954296 94.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  6565. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  6566. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  6567. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  6568. 2022-04-26 13:59:12.954296 94.87% [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 = 9 AND status=0 LIMIT 1
  6569. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  6570. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  6571. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  6572. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  6573. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7701111.*' OR pattern = '^770111.*' OR pattern = '^77011.*' OR pattern = '^7701.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^8871343676.*' OR caller_id_pattern = '^887134367.*' OR caller_id_pattern = '^88713436.*' OR caller_id_pattern = '^8871343.*' OR caller_id_pattern = '^887134.*' OR caller_id_pattern = '^88713.*' OR caller_id_pattern = '^8871.*' OR caller_id_pattern = '^887.*' OR caller_id_pattern = '^88.*' OR caller_id_pattern = '^8.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  6574. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  6575. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  6576. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  6577. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  6578. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  6579. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  6580. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  6581. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  6582. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.59
  6583. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  6584. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  6585. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  6586. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  6587. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  6588. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  6589. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  6590. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  6591. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  6592. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  6593. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  6594. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  6595. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  6596. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  6597. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  6598. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  6599. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  6600. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  6601. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  6602. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  6603. 2022-04-26 13:59:12.954296 94.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : w07version62.astppbilling.org
  6604. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  6605. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  6606. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  6607. 2022-04-26 13:59:12.954296 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  6608. 2022-04-26 13:59:12.954296 94.87% [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 = "9998913119" AND accounts.status = 0
  6609. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  6610. 2022-04-26 13:59:12.954296 94.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : w07version62.astppbilling.org
  6611. 2022-04-26 13:59:12.954296 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  6612. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  6613. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  6614. 2022-04-26 13:59:12.974289 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9998913119
  6615. 2022-04-26 13:59:12.974289 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  6616. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  6617. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  6618. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  6619. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  6620. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  6621. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  6622. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  6623. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  6624. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  6625. 2022-04-26 13:59:12.974289 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  6626. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  6627. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  6628. 2022-04-26 13:59:12.974289 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 2
  6629. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  6630. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  6631. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  6632. 2022-04-26 13:59:12.974289 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  6633. 2022-04-26 13:59:12.974289 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  6634. 2022-04-26 13:59:12.974289 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  6635. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  6636. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  6637. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  6638. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  6639. 2022-04-26 13:59:12.974289 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  6640. <document type="freeswitch/xml">
  6641. <section name="dialplan" description="ASTPP Dialplan">
  6642. <context name="default">
  6643. <extension name="7701111">
  6644. <condition field="destination_number" expression="7701111">
  6645. <action application="set" data="effective_destination_number=7701111"/>
  6646. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  6647. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  6648. <action application="set" data="callstart=2022-04-26 13:59:12"/>
  6649. <action application="set" data="hangup_after_bridge=true"/>
  6650. <action application="set" data="continue_on_fail=TRUE"/>
  6651. <action application="set" data="account_id=9"/>
  6652. <action application="set" data="parent_id=0"/>
  6653. <action application="set" data="entity_id=3"/>
  6654. <action application="set" data="call_processed=internal"/>
  6655. <action application="set" data="call_direction=inbound"/>
  6656. <action application="set" data="accountname=Entdemo"/>
  6657. <action application="set" data="filename1=astpp.pbx.lua"/>
  6658. <action application="set" data="origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5"/>
  6659. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9"/>
  6660. <action application="set" data="original_caller_id_name=Prashant Kumar"/>
  6661. <action application="set" data="original_caller_id_number=8871343676"/>
  6662. <action application="set" data="effective_caller_id_name=Prashant Kumar"/>
  6663. <action application="set" data="effective_caller_id_number=8871343676"/>
  6664. <action application="set" data="receiver_accid=5"/>
  6665. <action application="set" data="did_id=1"/>
  6666. <action application="set" data="transfer_call_type=5"/>
  6667. <action application="set" data="transfer_extensions=9998988398"/>
  6668. <action application="set" data="busy_status=0"/>
  6669. <action application="set" data="no_answer_status=1"/>
  6670. <action application="set" data="always_status=1"/>
  6671. <action application="set" data="transfer_status=0"/>
  6672. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  6673. <action application="set" data="variable_sip_network_ip=46.101.114.158"/>
  6674. <action application="set" data="variable_sip_network_port=5077"/>
  6675. <action application="export" data="domain_name=w07version62.astppbilling.org"/>
  6676. <action application="export" data="sip_to_host=w07version62.astppbilling.org"/>
  6677. <action application="export" data="presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158"/>
  6678. <action application="export" data="call_type=0"/>
  6679. <action application="set" data="calltype=DID-LOCAL"/>
  6680. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  6681. <action application="set" data="dialed_extension=transfer_call"/>
  6682. <action application="export" data="dialed_extension=transfer_call"/>
  6683. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  6684. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  6685. <action application="set" data="hangup_after_bridge=true"/>
  6686. <action application="export" data="did_user_domain=w07version62.astppbilling.org"/>
  6687. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  6688. <action application="set" data="dialed_extension=transfer_call"/>
  6689. <action application="export" data="dialed_extension=transfer_call"/>
  6690. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  6691. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  6692. <action application="set" data="transfer_ringback=$${hold_music}"/>
  6693. <action application="set" data="hangup_after_bridge=true"/>
  6694. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] user/9998913119@w07version62.astppbilling.org"/>
  6695. <action application="set" data="on_busy_flag=1"/>
  6696. <action application="set" data="on_busy_destination="/>
  6697. <action application="set" data="no_answer_flag=1"/>
  6698. <action application="set" data="no_answer_destination="/>
  6699. <action application="set" data="not_register_flag=1"/>
  6700. <action application="set" data="not_register_destination="/>
  6701. <action application="set" data="opensips_flag=1"/>
  6702. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  6703. <action application="set" data="opensips_domain=172.31.14.218"/>
  6704. <action application="set" data="leg_timeout=20"/>
  6705. <action application="set" data="userinfo_id=5"/>
  6706. <action application="set" data="sip_destination_number=9998913119"/>
  6707. <action application="set" data="did_number=9998913119"/>
  6708. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  6709. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  6710. <action application="set" data="on_busy_flag=1"/>
  6711. <action application="set" data="on_busy_destination="/>
  6712. <action application="set" data="no_answer_flag=1"/>
  6713. <action application="set" data="no_answer_destination="/>
  6714. <action application="set" data="not_register_flag=1"/>
  6715. <action application="set" data="not_register_destination="/>
  6716. <action application="set" data="opensips_flag=1"/>
  6717. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  6718. <action application="set" data="opensips_domain=172.31.14.218"/>
  6719. <action application="set" data="leg_timeout=20"/>
  6720. <action application="set" data="userinfo_id=5"/>
  6721. <action application="set" data="sip_destination_number=9998913119"/>
  6722. <action application="set" data="destination_number=9998913119"/>
  6723. <action application="set" data="did_number=7701111"/>
  6724. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  6725. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  6726. <condition field="${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  6727. <action application="answer"/>
  6728. <action application="export" data="voicemail_alternate_greet_id=9998913119"/>
  6729. <action application="voicemail" data="default $${domain_name} 9998913119"/>
  6730. <anti-action application="hangup" data="${originate_disposition}"/>
  6731. </condition>
  6732. </condition>
  6733. </extension>
  6734. </context>
  6735. </section>
  6736. </document>
  6737. Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->7701111] continue=false
  6738. Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [7701111] destination_number(7701111) =~ /7701111/ break=on-false
  6739. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=7701111)
  6740. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  6741. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  6742. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-26 13:59:12)
  6743. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  6744. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE)
  6745. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=9)
  6746. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0)
  6747. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3)
  6748. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal)
  6749. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound)
  6750. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=Entdemo)
  6751. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(filename1=astpp.pbx.lua)
  6752. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  6753. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  6754. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=Prashant Kumar)
  6755. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_number=8871343676)
  6756. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=Prashant Kumar)
  6757. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_number=8871343676)
  6758. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5)
  6759. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  6760. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_call_type=5)
  6761. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_extensions=9998988398)
  6762. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(busy_status=0)
  6763. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_status=1)
  6764. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(always_status=1)
  6765. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_status=0)
  6766. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=${domain_name})
  6767. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_ip=46.101.114.158)
  6768. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_port=5077)
  6769. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=w07version62.astppbilling.org)
  6770. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=w07version62.astppbilling.org)
  6771. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  6772. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=0)
  6773. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(calltype=DID-LOCAL)
  6774. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  6775. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  6776. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  6777. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6778. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6779. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  6780. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(did_user_domain=w07version62.astppbilling.org)
  6781. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  6782. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  6783. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  6784. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6785. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6786. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  6787. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  6788. Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] user/9998913119@w07version62.astppbilling.org)
  6789. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  6790. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  6791. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  6792. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  6793. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  6794. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  6795. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=1)
  6796. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  6797. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  6798. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  6799. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  6800. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  6801. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=9998913119)
  6802. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  6803. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  6804. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  6805. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  6806. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  6807. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  6808. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  6809. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  6810. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=1)
  6811. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  6812. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  6813. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  6814. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  6815. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  6816. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(destination_number=9998913119)
  6817. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=7701111)
  6818. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  6819. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  6820. |--- Dialplan: Processing recursive conditions level:1 [7701111_recur_1] require-nested=TRUE
  6821. |--- Dialplan: sofia/default/8871343676@46.101.114.158 Regex (FAIL) [7701111_recur_1] ${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  6822. |--- Dialplan: sofia/default/8871343676@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  6823. 2022-04-26 13:59:12.994290 94.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  6824. 2022-04-26 13:59:12.994290 94.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  6825. 2022-04-26 13:59:12.994290 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 3)
  6826. 2022-04-26 13:59:12.994290 94.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE
  6827. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE
  6828. 2022-04-26 13:59:12.994290 94.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE
  6829. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=7701111)
  6830. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[7701111]
  6831. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  6832. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  6833. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  6834. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  6835. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-26 13:59:12)
  6836. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-26 13:59:12]
  6837. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  6838. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  6839. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE)
  6840. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE]
  6841. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=9)
  6842. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[9]
  6843. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0)
  6844. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0]
  6845. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3)
  6846. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3]
  6847. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal)
  6848. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal]
  6849. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound)
  6850. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound]
  6851. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=Entdemo)
  6852. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[Entdemo]
  6853. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(filename1=astpp.pbx.lua)
  6854. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [filename1]=[astpp.pbx.lua]
  6855. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  6856. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5]
  6857. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  6858. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9]
  6859. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=Prashant Kumar)
  6860. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[Prashant Kumar]
  6861. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_number=8871343676)
  6862. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_number]=[8871343676]
  6863. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=Prashant Kumar)
  6864. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[Prashant Kumar]
  6865. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_number=8871343676)
  6866. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_number]=[8871343676]
  6867. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5)
  6868. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5]
  6869. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  6870. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  6871. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_call_type=5)
  6872. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_call_type]=[5]
  6873. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_extensions=9998988398)
  6874. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_extensions]=[9998988398]
  6875. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(busy_status=0)
  6876. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [busy_status]=[0]
  6877. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_status=1)
  6878. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_status]=[1]
  6879. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(always_status=1)
  6880. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [always_status]=[1]
  6881. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_status=0)
  6882. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_status]=[0]
  6883. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=172.31.14.218)
  6884. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[172.31.14.218]
  6885. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_ip=46.101.114.158)
  6886. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_ip]=[46.101.114.158]
  6887. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_port=5077)
  6888. 2022-04-26 13:59:12.994290 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_port]=[5077]
  6889. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=w07version62.astppbilling.org)
  6890. 2022-04-26 13:59:12.994290 94.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[w07version62.astppbilling.org]
  6891. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=w07version62.astppbilling.org)
  6892. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[w07version62.astppbilling.org]
  6893. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  6894. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158]
  6895. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=0)
  6896. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  6897. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(calltype=DID-LOCAL)
  6898. 2022-04-26 13:59:13.014292 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [calltype]=[DID-LOCAL]
  6899. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/6afc9351-fd5b-4443-a663-d46bc1eff942)
  6900. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  6901. 2022-04-26 13:59:13.014292 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  6902. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  6903. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  6904. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6905. 2022-04-26 13:59:13.014292 94.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  6906. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6907. 2022-04-26 13:59:13.014292 94.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  6908. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  6909. 2022-04-26 13:59:13.014292 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  6910. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(did_user_domain=w07version62.astppbilling.org)
  6911. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[w07version62.astppbilling.org]
  6912. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/6afc9351-fd5b-4443-a663-d46bc1eff942)
  6913. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  6914. 2022-04-26 13:59:13.014292 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  6915. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  6916. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  6917. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  6918. 2022-04-26 13:59:13.014292 94.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  6919. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  6920. 2022-04-26 13:59:13.014292 94.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  6921. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_ringback=local_stream://moh)
  6922. 2022-04-26 13:59:13.014292 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  6923. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  6924. 2022-04-26 13:59:13.014292 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  6925. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] user/9998913119@w07version62.astppbilling.org)
  6926. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version62.astppbilling.org] to event
  6927. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version62.astppbilling.org] to event
  6928. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  6929. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  6930. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  6931. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[w07version62.astppbilling.org] to event
  6932. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  6933. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  6934. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  6935. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version62.astppbilling.org] to event
  6936. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version62.astppbilling.org] to event
  6937. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  6938. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  6939. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  6940. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[w07version62.astppbilling.org] to event
  6941. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  6942. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  6943. 2022-04-26 13:59:13.014292 94.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998913119@192.168.1.13:55638 [c1459488-fc4e-4b21-affc-3ad2c7aba53d]
  6944. 2022-04-26 13:59:13.014292 94.87% [DEBUG] mod_sofia.c:5121 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_NEW -> CS_INIT
  6945. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998913119@192.168.1.13:55638 Setting leg timeout to 20
  6946. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_INIT (Cur 2 Tot 4)
  6947. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@192.168.1.13:55638) State INIT
  6948. 2022-04-26 13:59:13.014292 94.87% [DEBUG] mod_sofia.c:97 sofia/default/9998913119@192.168.1.13:55638 SOFIA INIT
  6949. 2022-04-26 13:59:13.014292 94.87% [DEBUG] sofia_glue.c:1620 sip:9998913119@117.247.91.162:55638;rinstance=82e0d1c2ef596949 Setting proxy route to sofia/default/9998913119@192.168.1.13:55638
  6950. 2022-04-26 13:59:13.014292 94.87% [INFO] sofia_glue.c:1651 sofia/default/9998913119@192.168.1.13:55638 sending invite call-id: (null)
  6951. 2022-04-26 13:59:13.014292 94.87% [DEBUG] sofia_glue.c:1654 sofia/default/9998913119@192.168.1.13:55638 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  6952. Local SDP:
  6953. v=0
  6954. o=FreeSWITCH 1650961897 1650961898 IN IP4 3.7.66.233
  6955. s=FreeSWITCH
  6956. c=IN IP4 3.7.66.233
  6957. t=0 0
  6958. m=audio 19656 RTP/AVP 0 101
  6959. a=rtpmap:0 PCMU/8000
  6960. a=rtpmap:101 telephone-event/8000
  6961. a=fmtp:101 0-15
  6962. a=ptime:20
  6963. a=sendrecv
  6964.  
  6965. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998913119@192.168.1.13:55638 Standard INIT
  6966. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_INIT -> CS_ROUTING
  6967. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@192.168.1.13:55638) State INIT going to sleep
  6968. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_ROUTING (Cur 2 Tot 4)
  6969. 2022-04-26 13:59:13.014292 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@192.168.1.13:55638 entering state [calling][0]
  6970. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@192.168.1.13:55638) State ROUTING
  6971. 2022-04-26 13:59:13.014292 94.87% [DEBUG] mod_sofia.c:158 sofia/default/9998913119@192.168.1.13:55638 SOFIA ROUTING
  6972. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  6973. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@192.168.1.13:55638) State ROUTING going to sleep
  6974. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 4)
  6975. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@192.168.1.13:55638) State CONSUME_MEDIA
  6976. 2022-04-26 13:59:13.014292 94.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@192.168.1.13:55638) State CONSUME_MEDIA going to sleep
  6977. 2022-04-26 13:59:13.154313 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@192.168.1.13:55638 entering state [proceeding][180]
  6978. 2022-04-26 13:59:13.154313 94.87% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/9998913119@192.168.1.13:55638!
  6979. 2022-04-26 13:59:13.154313 94.87% [DEBUG] switch_channel.c:3494 (sofia/default/9998913119@192.168.1.13:55638) Callstate Change DOWN -> RINGING
  6980. 2022-04-26 13:59:13.154313 94.87% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/8871343676@46.101.114.158!
  6981. 2022-04-26 13:59:13.154313 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [early][180]
  6982. 2022-04-26 13:59:13.154313 94.87% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/8871343676@46.101.114.158!
  6983. 2022-04-26 13:59:18.594297 94.67% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  6984. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  6985. and you must configure your device to use the proper domain in its authentication credentials.
  6986. 2022-04-26 13:59:18.594297 94.67% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  6987. 2022-04-26 13:59:18.594297 94.67% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@192.168.1.13:55638 entering state [terminated][486]
  6988. 2022-04-26 13:59:18.594297 94.67% [NOTICE] sofia.c:8738 Hangup sofia/default/9998913119@192.168.1.13:55638 [CS_CONSUME_MEDIA] [USER_BUSY]
  6989. 2022-04-26 13:59:18.594297 94.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_HANGUP (Cur 2 Tot 4)
  6990. 2022-04-26 13:59:18.594297 94.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998913119@192.168.1.13:55638) Callstate Change RINGING -> HANGUP
  6991. 2022-04-26 13:59:18.594297 94.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@192.168.1.13:55638) State HANGUP
  6992. 2022-04-26 13:59:18.594297 94.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998913119@192.168.1.13:55638 hanging up, cause: USER_BUSY
  6993. 2022-04-26 13:59:18.594297 94.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998913119@192.168.1.13:55638 Standard HANGUP, cause: USER_BUSY
  6994. 2022-04-26 13:59:18.594297 94.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@192.168.1.13:55638) State HANGUP going to sleep
  6995. 2022-04-26 13:59:18.594297 94.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_HANGUP -> CS_REPORTING
  6996. 2022-04-26 13:59:18.594297 94.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_REPORTING (Cur 2 Tot 4)
  6997. 2022-04-26 13:59:18.594297 94.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@192.168.1.13:55638) State REPORTING
  6998. 2022-04-26 13:59:18.594297 94.67% [INFO] mod_json_cdr.c:271 Process [c1459488-fc4e-4b21-affc-3ad2c7aba53d.cdr.json]
  6999. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  7000. 2022-04-26 13:59:18.614338 94.67% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_BUSY]
  7001. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  7002. 2022-04-26 13:59:18.614338 94.67% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_BUSY
  7003. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_flag=1)
  7004. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_flag]=[1]
  7005. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_destination=)
  7006. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_destination]=[UNDEF]
  7007. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_flag=1)
  7008. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_flag]=[1]
  7009. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_destination=)
  7010. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_destination]=[UNDEF]
  7011. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_flag=1)
  7012. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_flag]=[1]
  7013. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_destination=)
  7014. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_destination]=[UNDEF]
  7015. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_flag=1)
  7016. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_flag]=[1]
  7017. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=w07version62.astppbilling.org)
  7018. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[w07version62.astppbilling.org]
  7019. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_domain=172.31.14.218)
  7020. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_domain]=[172.31.14.218]
  7021. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  7022. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  7023. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(userinfo_id=5)
  7024. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [userinfo_id]=[5]
  7025. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_destination_number=9998913119)
  7026. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_destination_number]=[9998913119]
  7027. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_number=9998913119)
  7028. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_number]=[9998913119]
  7029. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(user_domain=w07version62.astppbilling.org)
  7030. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [user_domain]=[w07version62.astppbilling.org]
  7031. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  7032. 2022-04-26 13:59:18.614338 94.67% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  7033. stack traceback:
  7034.         [C]: in function 'dofile'
  7035.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:17: in main chunk
  7036. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  7037. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_flag=1)
  7038. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_flag]=[1]
  7039. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_destination=)
  7040. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_destination]=[UNDEF]
  7041. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_flag=1)
  7042. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_flag]=[1]
  7043. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_destination=)
  7044. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_destination]=[UNDEF]
  7045. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_flag=1)
  7046. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_flag]=[1]
  7047. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_destination=)
  7048. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_destination]=[UNDEF]
  7049. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_flag=1)
  7050. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_flag]=[1]
  7051. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=w07version62.astppbilling.org)
  7052. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[w07version62.astppbilling.org]
  7053. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_domain=172.31.14.218)
  7054. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_domain]=[172.31.14.218]
  7055. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  7056. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  7057. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(userinfo_id=5)
  7058. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [userinfo_id]=[5]
  7059. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_destination_number=9998913119)
  7060. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_destination_number]=[9998913119]
  7061. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(destination_number=9998913119)
  7062. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [destination_number]=[9998913119]
  7063. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_number=7701111)
  7064. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_number]=[7701111]
  7065. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(user_domain=w07version62.astppbilling.org)
  7066. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [user_domain]=[w07version62.astppbilling.org]
  7067. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  7068. 2022-04-26 13:59:18.614338 94.67% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  7069. stack traceback:
  7070.         [C]: in function 'dofile'
  7071.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:17: in main chunk
  7072. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  7073. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 hangup(USER_BUSY)
  7074. 2022-04-26 13:59:18.614338 94.67% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [USER_BUSY]
  7075. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  7076. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep
  7077. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 4)
  7078. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> HANGUP
  7079. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  7080. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 486 with 486 from the other leg
  7081. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: USER_BUSY
  7082. 2022-04-26 13:59:18.614338 94.67% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 486
  7083. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: USER_BUSY
  7084. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  7085. 2022-04-26 13:59:18.614338 94.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  7086. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 4)
  7087. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  7088. 2022-04-26 13:59:18.634293 94.67% [INFO] mod_json_cdr.c:271 Process [6afc9351-fd5b-4443-a663-d46bc1eff942.cdr.json]
  7089. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998913119@192.168.1.13:55638 Standard REPORTING, cause: USER_BUSY
  7090. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@192.168.1.13:55638) State REPORTING going to sleep
  7091. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998913119@192.168.1.13:55638) State Change CS_REPORTING -> CS_DESTROY
  7092. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_session.c:1753 Session 4 (sofia/default/9998913119@192.168.1.13:55638) Locked, Waiting on external entities
  7093. 2022-04-26 13:59:18.634293 94.67% [NOTICE] switch_core_session.c:1771 Session 4 (sofia/default/9998913119@192.168.1.13:55638) Ended
  7094. 2022-04-26 13:59:18.634293 94.67% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998913119@192.168.1.13:55638 [CS_DESTROY]
  7095. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998913119@192.168.1.13:55638) Running State Change CS_DESTROY (Cur 1 Tot 4)
  7096. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@192.168.1.13:55638) State DESTROY
  7097. 2022-04-26 13:59:18.634293 94.67% [DEBUG] mod_sofia.c:379 sofia/default/9998913119@192.168.1.13:55638 SOFIA DESTROY
  7098. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998913119@192.168.1.13:55638 Standard DESTROY
  7099. 2022-04-26 13:59:18.634293 94.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@192.168.1.13:55638) State DESTROY going to sleep
  7100. 2022-04-26 13:59:18.654293 94.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: USER_BUSY
  7101. 2022-04-26 13:59:18.654293 94.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  7102. 2022-04-26 13:59:18.654293 94.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  7103. 2022-04-26 13:59:18.654293 94.67% [DEBUG] switch_core_session.c:1753 Session 3 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  7104. 2022-04-26 13:59:18.654293 94.67% [NOTICE] switch_core_session.c:1771 Session 3 (sofia/default/8871343676@46.101.114.158) Ended
  7105. 2022-04-26 13:59:18.654293 94.67% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  7106. 2022-04-26 13:59:18.654293 94.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 4)
  7107. 2022-04-26 13:59:18.654293 94.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  7108. 2022-04-26 13:59:18.654293 94.67% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  7109. 2022-04-26 13:59:18.654293 94.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  7110. 2022-04-26 13:59:18.654293 94.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  7111. 2022-04-26 13:59:40.694304 99.07% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  7112. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  7113. and you must configure your device to use the proper domain in its authentication credentials.
  7114. 2022-04-26 13:59:40.694304 99.07% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  7115. 2022-04-26 14:00:01.794296 99.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  7116. 2022-04-26 14:00:01.834330 99.40% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  7117. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  7118. and you must configure your device to use the proper domain in its authentication credentials.
  7119. 2022-04-26 14:00:01.834330 99.40% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  7120. 2022-04-26 14:00:22.934309 95.30% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  7121. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  7122. and you must configure your device to use the proper domain in its authentication credentials.
  7123. 2022-04-26 14:00:22.934309 95.30% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  7124. freeswitch@ip-172-31-14-218>
  7125.