From Harvi, 2 Years ago, written in FreeSWITCH.
This paste is a reply to Outbound Call Not Working from Harvi
- go back
Embed
Microsoft Windows [Version 10.0.19043.1645]
(c) Microsoft Corporation. All rights reserved.

C:\Users\admin>cd Downloads

C:\Users\admin\Downloads>ssh -i harvi_patel_astpp.pem admin@65.1.109.62
Linux ip-172-31-39-151 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extentLinux ip-172-31-39-151 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Apr 21 05:22:51 2022 from 103.176.11.9


admin@ip-172-31-39-151:~$
admin@ip-172-31-39-151:~$
admin@ip-172-31-39-151:~$ sudo -i
root@ip-172-31-39-151:~# ls
root@ip-172-31-39-151:~# fs_cli -ClueCon
fs_cli: invalid option -- 'C'
.=======================================================.
|            _____ ____     ____ _     ___              |
|           |  ___/ ___|   / ___| |   |_ _|             |
|           | |_  \___ \  | |   | |    | |              |
|           |  _|  ___) | | |___| |___ | |              |
|           |_|   |____/   \____|_____|___|             |
|                                                       |
.=======================================================.
| Anthony Minessale II, Ken Rice,                       |
| Michael Jerris, Travis Cross                          |
| FreeSWITCH (http://www.freeswitch.org)                |
| Paypal Donations Appreciated: paypal@freeswitch.org   |
| Brought to you by ClueCon http://www.cluecon.com/     |
.=======================================================.

.=======================================================================================================.
|       _                            _    ____ _             ____                                       |
|      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
|     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
|    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
|   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
|                                                                                                       |
|    ____ _____ ____    ____             __                                                             |
|   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
|   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
|   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
|   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
|                                                                                                       |
|     ____ _             ____                                                                           |
|    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
|   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
|   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
|    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
|                                                                                                       |
.=======================================================================================================.

Type /help <enter> to see a list of commands




[This app Best viewed at 160x60 or more..]
Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -U, --log-uuid                  Include UUID in log output
  -S, --log-uuid-short            Include shortened UUID in log output
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -b, --batchmode                 Batch mode
  -t, --timeout                   Timeout for API commands (in milliseconds)
  -T, --connect-timeout           Timeout for socket connection (in milliseconds)
  -n, --no-color                  Disable color

root@ip-172-31-39-151:~# sofia status
-bash: sofia: command not found
You have new mail in /var/mail/root
root@ip-172-31-39-151:~# fs_cli -pCluecone
[ERROR] fs_cli.c:1691 main() Error Connecting []
Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -U, --log-uuid                  Include UUID in log output
  -S, --log-uuid-short            Include shortened UUID in log output
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -b, --batchmode                 Batch mode
  -t, --timeout                   Timeout for API commands (in milliseconds)
  -T, --connect-timeout           Timeout for socket connection (in milliseconds)
  -n, --no-color                  Disable color

You have new mail in /var/mail/root
root@ip-172-31-39-151:~# fs_cli -pClucone
[ERROR] fs_cli.c:1691 main() Error Connecting []
Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -U, --log-uuid                  Include UUID in log output
  -S, --log-uuid-short            Include shortened UUID in log output
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -b, --batchmode                 Batch mode
  -t, --timeout                   Timeout for API commands (in milliseconds)
  -T, --connect-timeout           Timeout for socket connection (in milliseconds)
  -n, --no-color                  Disable color

root@ip-172-31-39-151:~# fs_cli -pCluecon
[ERROR] fs_cli.c:1691 main() Error Connecting []
Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -U, --log-uuid                  Include UUID in log output
  -S, --log-uuid-short            Include shortened UUID in log output
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -b, --batchmode                 Batch mode
  -t, --timeout                   Timeout for API commands (in milliseconds)
  -T, --connect-timeout           Timeout for socket connection (in milliseconds)
  -n, --no-color                  Disable color

root@ip-172-31-39-151:~# fs_cli -Cluecon
fs_cli: invalid option -- 'C'
.=======================================================.
|            _____ ____     ____ _     ___              |
|           |  ___/ ___|   / ___| |   |_ _|             |
|           | |_  \___ \  | |   | |    | |              |
|           |  _|  ___) | | |___| |___ | |              |
|           |_|   |____/   \____|_____|___|             |
|                                                       |
.=======================================================.
| Anthony Minessale II, Ken Rice,                       |
| Michael Jerris, Travis Cross                          |
| FreeSWITCH (http://www.freeswitch.org)                |
| Paypal Donations Appreciated: paypal@freeswitch.org   |
| Brought to you by ClueCon http://www.cluecon.com/     |
.=======================================================.

.=======================================================================================================.
|       _                            _    ____ _             ____                                       |
|      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
|     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
|    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
|   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
|                                                                                                       |
|    ____ _____ ____    ____             __                                                             |
|   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
|   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
|   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
|   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
|                                                                                                       |
|     ____ _             ____                                                                           |
|    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
|   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
|   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
|    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
|                                                                                                       |
.=======================================================================================================.

Type /help <enter> to see a list of commands



Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -U, --log-uuid                  Include UUID in log output
  -S, --log-uuid-short            Include shortened UUID in log output
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -b, --batchmode                 Batch mode
  -t, --timeout                   Timeout for API commands (in milliseconds)
  -T, --connect-timeout           Timeout for socket connection (in milliseconds)
  -n, --no-color                  Disable color

root@ip-172-31-39-151:~# fs_cli -Cluecon
fs_cli: invalid option -- 'C'
.=======================================================.
|            _____ ____     ____ _     ___              |
|           |  ___/ ___|   / ___| |   |_ _|             |
|           | |_  \___ \  | |   | |    | |              |
|           |  _|  ___) | | |___| |___ | |              |
|           |_|   |____/   \____|_____|___|             |
|                                                       |
.=======================================================.
| Anthony Minessale II, Ken Rice,                       |
| Michael Jerris, Travis Cross                          |
| FreeSWITCH (http://www.freeswitch.org)                |
| Paypal Donations Appreciated: paypal@freeswitch.org   |
| Brought to you by ClueCon http://www.cluecon.com/     |
.=======================================================.

.=======================================================================================================.
|       _                            _    ____ _             ____                                       |
|      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
|     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
|    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
|   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
|                                                                                                       |
|    ____ _____ ____    ____             __                                                             |
|   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
|   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
|   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
|   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
|                                                                                                       |
|     ____ _             ____                                                                           |
|    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
|   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
|   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
|    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
|                                                                                                       |
.=======================================================================================================.

Type /help <enter> to see a list of commands



Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -U, --log-uuid                  Include UUID in log output
  -S, --log-uuid-short            Include shortened UUID in log output
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -b, --batchmode                 Batch mode
  -t, --timeout                   Timeout for API commands (in milliseconds)
  -T, --connect-timeout           Timeout for socket connection (in milliseconds)
  -n, --no-color                  Disable color

You have new mail in /var/mail/root
root@ip-172-31-39-151:~# fs_cli -Cluecon
fs_cli: invalid option -- 'C'
.=======================================================.
|            _____ ____     ____ _     ___              |
|           |  ___/ ___|   / ___| |   |_ _|             |
|           | |_  \___ \  | |   | |    | |              |
|           |  _|  ___) | | |___| |___ | |              |
|           |_|   |____/   \____|_____|___|             |
|                                                       |
.=======================================================.
| Anthony Minessale II, Ken Rice,                       |
| Michael Jerris, Travis Cross                          |
| FreeSWITCH (http://www.freeswitch.org)                |
| Paypal Donations Appreciated: paypal@freeswitch.org   |
| Brought to you by ClueCon http://www.cluecon.com/     |
.=======================================================.

.=======================================================================================================.
|       _                            _    ____ _             ____                                       |
|      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
|     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
|    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
|   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
|                                                                                                       |
|    ____ _____ ____    ____             __                                                             |
|   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
|   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
|   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
|   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
|                                                                                                       |
|     ____ _             ____                                                                           |
|    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
|   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
|   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
|    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
|                                                                                                       |
.=======================================================================================================.

Type /help <enter> to see a list of commands



Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -U, --log-uuid                  Include UUID in log output
  -S, --log-uuid-short            Include shortened UUID in log output
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -b, --batchmode                 Batch mode
  -t, --timeout                   Timeout for API commands (in milliseconds)
  -T, --connect-timeout           Timeout for socket connection (in milliseconds)
  -n, --no-color                  Disable color

root@ip-172-31-39-151:~# fs_cli -Cluecon
fs_cli: invalid option -- 'C'
.=======================================================.
|            _____ ____     ____ _     ___              |
|           |  ___/ ___|   / ___| |   |_ _|             |
|           | |_  \___ \  | |   | |    | |              |
|           |  _|  ___) | | |___| |___ | |              |
|           |_|   |____/   \____|_____|___|             |
|                                                       |
.=======================================================.
| Anthony Minessale II, Ken Rice,                       |
| Michael Jerris, Travis Cross                          |
| FreeSWITCH (http://www.freeswitch.org)                |
| Paypal Donations Appreciated: paypal@freeswitch.org   |
| Brought to you by ClueCon http://www.cluecon.com/     |
.=======================================================.

.=======================================================================================================.
|       _                            _    ____ _             ____                                       |
|      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
|     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
|    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
|   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
|                                                                                                       |
|    ____ _____ ____    ____             __                                                             |
|   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
|   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
|   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
|   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
|                                                                                                       |
|     ____ _             ____                                                                           |
|    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
|   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
|   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
|    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
|                                                                                                       |
.=======================================================================================================.

Type /help <enter> to see a list of commands



Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -U, --log-uuid                  Include UUID in log output
  -S, --log-uuid-short            Include shortened UUID in log output
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -b, --batchmode                 Batch mode
  -t, --timeout                   Timeout for API commands (in milliseconds)
  -T, --connect-timeout           Timeout for socket connection (in milliseconds)
  -n, --no-color                  Disable color

root@ip-172-31-39-151:~# fs_cli -Cluecon
fs_cli: invalid option -- 'C'
.=======================================================.
|            _____ ____     ____ _     ___              |
|           |  ___/ ___|   / ___| |   |_ _|             |
|           | |_  \___ \  | |   | |    | |              |
|           |  _|  ___) | | |___| |___ | |              |
|           |_|   |____/   \____|_____|___|             |
|                                                       |
.=======================================================.
| Anthony Minessale II, Ken Rice,                       |
| Michael Jerris, Travis Cross                          |
| FreeSWITCH (http://www.freeswitch.org)                |
| Paypal Donations Appreciated: paypal@freeswitch.org   |
| Brought to you by ClueCon http://www.cluecon.com/     |
.=======================================================.

.=======================================================================================================.
|       _                            _    ____ _             ____                                       |
|      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
|     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
|    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
|   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
|                                                                                                       |
|    ____ _____ ____    ____             __                                                             |
|   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
|   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
|   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
|   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
|                                                                                                       |
|     ____ _             ____                                                                           |
|    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
|   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
|   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
|    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
|                                                                                                       |
.=======================================================================================================.

Type /help <enter> to see a list of commands



Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -U, --log-uuid                  Include UUID in log output
  -S, --log-uuid-short            Include shortened UUID in log output
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -b, --batchmode                 Batch mode
  -t, --timeout                   Timeout for API commands (in milliseconds)
  -T, --connect-timeout           Timeout for socket connection (in milliseconds)
  -n, --no-color                  Disable color

root@ip-172-31-39-151:~# cat /etc/freeswitch/autoload_configs/event_socket.conf.xml
<configuration name="event_socket.conf" description="Socket Client">
  <settings>
    <param name="nat-map" value="false"/>
    <param name="listen-ip" value="::"/>
    <param name="listen-port" value="8021"/>
    <param name="password" value="ClueCon"/>
    <!--<param name="apply-inbound-acl" value="loopback.auto"/>-->
    <!--<param name="stop-on-bind-error" value="true"/>-->
  </settings>
</configuration>
You have new mail in /var/mail/root
root@ip-172-31-39-151:~#
root@ip-172-31-39-151:~#
root@ip-172-31-39-151:~# fs_cli -pClueCon
.=======================================================.
|            _____ ____     ____ _     ___              |
|           |  ___/ ___|   / ___| |   |_ _|             |
|           | |_  \___ \  | |   | |    | |              |
|           |  _|  ___) | | |___| |___ | |              |
|           |_|   |____/   \____|_____|___|             |
|                                                       |
.=======================================================.
| Anthony Minessale II, Ken Rice,                       |
| Michael Jerris, Travis Cross                          |
| FreeSWITCH (http://www.freeswitch.org)                |
| Paypal Donations Appreciated: paypal@freeswitch.org   |
| Brought to you by ClueCon http://www.cluecon.com/     |
.=======================================================.

.=======================================================================================================.
|       _                            _    ____ _             ____                                       |
|      / \   _ __  _ __  _   _  __ _| |  / ___| |_   _  ___ / ___|___  _ __                             |
|     / _ \ | '_ \| '_ \| | | |/ _` | | | |   | | | | |/ _ \ |   / _ \| '_ \                            |
|    / ___ \| | | | | | | |_| | (_| | | | |___| | |_| |  __/ |__| (_) | | | |                           |
|   /_/   \_\_| |_|_| |_|\__,_|\__,_|_|  \____|_|\__,_|\___|\____\___/|_| |_|                           |
|                                                                                                       |
|    ____ _____ ____    ____             __                                                             |
|   |  _ \_   _/ ___|  / ___|___  _ __  / _| ___ _ __ ___ _ __   ___ ___                                |
|   | |_) || || |     | |   / _ \| '_ \| |_ / _ \ '__/ _ \ '_ \ / __/ _ \                               |
|   |  _ < | || |___  | |__| (_) | | | |  _|  __/ | |  __/ | | | (_|  __/                               |
|   |_| \_\|_| \____|  \____\___/|_| |_|_|  \___|_|  \___|_| |_|\___\___|                               |
|                                                                                                       |
|     ____ _             ____                                                                           |
|    / ___| |_   _  ___ / ___|___  _ __         ___ ___  _ __ ___                                       |
|   | |   | | | | |/ _ \ |   / _ \| '_ \       / __/ _ \| '_ ` _ \                                      |
|   | |___| | |_| |  __/ |__| (_) | | | |  _  | (_| (_) | | | | | |                                     |
|    \____|_|\__,_|\___|\____\___/|_| |_| (_)  \___\___/|_| |_| |_|                                     |
|                                                                                                       |
.=======================================================================================================.

Type /help <enter> to see a list of commands



+OK log level  [7]
2022-04-21 06:38:42.630282 99.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [6bd1d382-6d52-4988-a3e9-1911594580d7]
2022-04-21 06:38:42.630282 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 7)
2022-04-21 06:38:42.630282 99.77% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:38237 version: 1.10.7 -release-19-883d2cb662 64bit call-id: o__NLA1QgbAjtEBe8Ln5ww..
2022-04-21 06:38:42.630282 99.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:38:42.650295 99.77% [DEBUG] sofia.c:2419 detaching session 6bd1d382-6d52-4988-a3e9-1911594580d7
2022-04-21 06:38:42.650295 99.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1913651537@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:38:42.650295 99.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:38:42.730286 99.77% [DEBUG] sofia.c:2532 Re-attaching to session 6bd1d382-6d52-4988-a3e9-1911594580d7
2022-04-21 06:38:42.750275 99.77% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:38237 version: 1.10.7 -release-19-883d2cb662 64bit call-id: o__NLA1QgbAjtEBe8Ln5ww..
2022-04-21 06:38:42.750275 99.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:38:42.750275 99.77% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:38:42.750275 99.77% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:38:42.750275 99.77% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299668071 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 38760 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:38:42.750275 99.77% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 7)
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:38:42.750275 99.77% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 7)
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:38:42.750275 99.77% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:38:42.750275 99.77% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->1913651537 in context default
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:38:42.750275 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1913651537
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1913651537' AND status=0 limit 1
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1913651537" LIMIT 1
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="1913651537" limit 1
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="1913651537" AND A.accountid = '13' limit 1
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1913651537
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1913651537" LIMIT 1
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="1913651537" limit 1
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : local
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1913651537" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^1913651537.*' OR patterns = '^191365153.*' OR patterns = '^19136515.*' OR patterns = '^1913651.*' OR patterns = '^191365.*' OR patterns = '^19136.*' OR patterns = '^1913.*' OR patterns = '^191.*' OR patterns = '^19.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:38:42.770257 99.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1
2022-04-21 06:38:42.770257 99.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!0
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
2022-04-21 06:38:42.770257 99.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="1913651537" limit 1
2022-04-21 06:38:42.770257 99.77% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-04-21 06:38:42.770257 99.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="1913651537">
<condition field="destination_number" expression="1913651537">
<action application="set" data="effective_destination_number=1913651537"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:38:42"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=local"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:0|CODE:^1913651537.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>
<action application="set" data="effective_caller_id_name=Harvi"/>
<action application="set" data="effective_caller_id_number=6531564472"/>
<action application="set" data="calltype=LOCAL"/>
<action application="set" data="receiver_accid=13"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local"/>
<action application="bridge" data="[leg_timeout=60]user/1913651537@${domain_name}"/>
<condition field="${cond(${user_data 1913651537@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=1913651537"/>
<action application="voicemail" data="default $${domain_name} 1913651537"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->1913651537] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [1913651537] destination_number(1913651537) =~ /1913651537/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=1913651537)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:38:42)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=local)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:0|CODE:^1913651537.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=LOCAL)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(receiver_accid=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=60]user/1913651537@${domain_name})
|--- Dialplan: Processing recursive conditions level:1 [1913651537_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [1913651537_recur_1] ${cond(${user_data 1913651537@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/6704159325@65.1.109.62 Action answer()
|--- Dialplan: sofia/default/6704159325@65.1.109.62 Action export(voicemail_alternate_greet_id=1913651537)
|--- Dialplan: sofia/default/6704159325@65.1.109.62 Action voicemail(default $${domain_name} 1913651537)
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 7)
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=1913651537)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[1913651537]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:38:42)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:38:42]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=local)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[local]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:0|CODE:^1913651537.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:0|CODE:^1913651537.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_caller_id_name=Harvi)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_caller_id_number=6531564472)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=LOCAL)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[LOCAL]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(receiver_accid=13)
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [receiver_accid]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local)
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=60]user/1913651537@172.31.39.151)
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local] to event
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local] to event
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:38:42.790245 99.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1913651537@157.32.81.86:54668 [8530628e-7498-47aa-9cd8-c617ace502a5]
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_sofia.c:5121 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_NEW -> CS_INIT
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1913651537@157.32.81.86:54668 Setting leg timeout to 60
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_INIT (Cur 2 Tot 8)
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1913651537@157.32.81.86:54668) State INIT
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_sofia.c:97 sofia/default/1913651537@157.32.81.86:54668 SOFIA INIT
2022-04-21 06:38:42.790245 99.77% [DEBUG] sofia_glue.c:1620 sip:1913651537@157.32.81.86:53711;rinstance=c2b362e70c35e864;transport=tcp Setting proxy route to sofia/default/1913651537@157.32.81.86:54668
2022-04-21 06:38:42.790245 99.77% [INFO] sofia_glue.c:1651 sofia/default/1913651537@157.32.81.86:54668 sending invite call-id: (null)
2022-04-21 06:38:42.790245 99.77% [DEBUG] sofia_glue.c:1654 sofia/default/1913651537@157.32.81.86:54668 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650500122 1650500123 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 23000 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/1913651537@157.32.81.86:54668 Standard INIT
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1913651537@157.32.81.86:54668) State INIT going to sleep
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_ROUTING (Cur 2 Tot 8)
2022-04-21 06:38:42.790245 99.77% [DEBUG] sofia.c:7499 Channel sofia/default/1913651537@157.32.81.86:54668 entering state [calling][0]
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1913651537@157.32.81.86:54668) State ROUTING
2022-04-21 06:38:42.790245 99.77% [DEBUG] mod_sofia.c:158 sofia/default/1913651537@157.32.81.86:54668 SOFIA ROUTING
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1913651537@157.32.81.86:54668) State ROUTING going to sleep
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 8)
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1913651537@157.32.81.86:54668) State CONSUME_MEDIA
2022-04-21 06:38:42.790245 99.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1913651537@157.32.81.86:54668) State CONSUME_MEDIA going to sleep
2022-04-21 06:38:43.350249 99.33% [DEBUG] sofia.c:7499 Channel sofia/default/1913651537@157.32.81.86:54668 entering state [proceeding][180]
2022-04-21 06:38:43.350249 99.33% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/1913651537@157.32.81.86:54668!
2022-04-21 06:38:43.350249 99.33% [DEBUG] switch_channel.c:3494 (sofia/default/1913651537@157.32.81.86:54668) Callstate Change DOWN -> RINGING
2022-04-21 06:38:43.350249 99.33% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/6704159325@65.1.109.62!
2022-04-21 06:38:43.350249 99.33% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [early][180]
2022-04-21 06:38:43.350249 99.33% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/6704159325@65.1.109.62!
2022-04-21 06:38:45.770250 97.73% [DEBUG] sofia.c:7499 Channel sofia/default/1913651537@157.32.81.86:54668 entering state [completing][200]
2022-04-21 06:38:45.770250 97.73% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 0 2 IN IP4 157.32.81.86
s=Z
c=IN IP4 157.32.81.86
t=0 0
m=audio 51952 RTP/AVP 0 8 3 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:38:45.770250 97.73% [DEBUG] sofia.c:7499 Channel sofia/default/1913651537@157.32.81.86:54668 entering state [ready][200]
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1913651537@157.32.81.86:54668 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_codec.c:111 sofia/default/1913651537@157.32.81.86:54668 Original read codec set to PCMU:0
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:5973 sofia/default/1913651537@157.32.81.86:54668 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1913651537@157.32.81.86:54668] 172.31.39.151 port 23000 -> 157.32.81.86 port 51952 codec: 0 ms: 20
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:9089 sofia/default/1913651537@157.32.81.86:54668 Set 2833 dtmf send payload to 101
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:9096 sofia/default/1913651537@157.32.81.86:54668 Set 2833 dtmf receive payload to 101
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:9119 sofia/default/1913651537@157.32.81.86:54668 Set rtp dtmf delay to 40
2022-04-21 06:38:45.770250 97.73% [NOTICE] sofia.c:8683 Channel [sofia/default/1913651537@157.32.81.86:54668] has been answered
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_channel.c:3950 (sofia/default/1913651537@157.32.81.86:54668) Callstate Change RINGING -> ACTIVE
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/6704159325@65.1.109.62] 172.31.39.151 port 19804 -> 49.34.39.112 port 38760 codec: 0 ms: 20
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:9089 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:9096 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf receive payload to 101
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_media.c:9119 sofia/default/6704159325@65.1.109.62 Set rtp dtmf delay to 40
2022-04-21 06:38:45.770250 97.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/6704159325@65.1.109.62:
v=0
o=FreeSWITCH 1650503321 1650503322 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 19804 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:38:45.770250 97.73% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [completed][200]
2022-04-21 06:38:45.770250 97.73% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/6704159325@65.1.109.62] has been answered
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_channel.c:3950 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> ACTIVE
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1913651537@157.32.81.86:54668] Peer UUID: 8530628e-7498-47aa-9cd8-c617ace502a5
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1913651537@157.32.81.86:54668 Setting leg timeout to 60
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1913651537@157.32.81.86:54668] Peer UUID: 8530628e-7498-47aa-9cd8-c617ace502a5
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 8)
2022-04-21 06:38:45.770250 97.73% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1913651537@157.32.81.86:54668) State EXCHANGE_MEDIA
2022-04-21 06:38:45.770250 97.73% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2022-04-21 06:38:45.970249 97.73% [DEBUG] switch_ivr_bridge.c:655 sofia/default/1913651537@157.32.81.86:54668 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-04-21 06:38:45.990253 97.73% [DEBUG] switch_ivr.c:632 sofia/default/1913651537@157.32.81.86:54668 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/1913651537@157.32.81.86:54668 sched_hangup(+6000 normal_clearing)
2022-04-21 06:38:45.990253 97.73% [DEBUG] switch_scheduler.c:263 Added task 5 switch_ivr_schedule_hangup (8530628e-7498-47aa-9cd8-c617ace502a5) to run at 1650529125
2022-04-21 06:39:17.790275 98.20% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [terminating][0]
2022-04-21 06:39:17.790275 98.20% [NOTICE] sofia.c:8738 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_UNSPECIFIED]
2022-04-21 06:39:17.790275 98.20% [DEBUG] switch_ivr_bridge.c:826 sofia/default/6704159325@65.1.109.62 ending bridge by request from read function
2022-04-21 06:39:17.790275 98.20% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/6704159325@65.1.109.62]
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1913651537@157.32.81.86:54668]
2022-04-21 06:39:17.810281 98.20% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/1913651537@157.32.81.86:54668 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1913651537@157.32.81.86:54668) State EXCHANGE_MEDIA going to sleep
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_HANGUP (Cur 2 Tot 8)
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1913651537@157.32.81.86:54668) Callstate Change ACTIVE -> HANGUP
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1913651537@157.32.81.86:54668) State HANGUP
2022-04-21 06:39:17.810281 98.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/1913651537@157.32.81.86:54668 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:39:17.810281 98.20% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1913651537@157.32.81.86:54668
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/1913651537@157.32.81.86:54668 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1913651537@157.32.81.86:54668) State HANGUP going to sleep
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_REPORTING (Cur 2 Tot 8)
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1913651537@157.32.81.86:54668) State REPORTING
2022-04-21 06:39:17.810281 98.20% [INFO] mod_json_cdr.c:271 Process [8530628e-7498-47aa-9cd8-c617ace502a5.cdr.json]
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1913651537@157.32.81.86:54668 skip receive message [UNBRIDGE] (channel is hungup already)
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/6704159325@65.1.109.62 skip receive message [UNBRIDGE] (channel is hungup already)
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_session.c:2983 sofia/default/6704159325@65.1.109.62 skip receive message [PHONE_EVENT] (channel is hungup already)
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 2 Tot 8)
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change ACTIVE -> HANGUP
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:39:17.810281 98.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_UNSPECIFIED
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_UNSPECIFIED
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 2 Tot 8)
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:39:17.810281 98.20% [INFO] mod_json_cdr.c:271 Process [6bd1d382-6d52-4988-a3e9-1911594580d7.cdr.json]
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/1913651537@157.32.81.86:54668 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1913651537@157.32.81.86:54668) State REPORTING going to sleep
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_session.c:1753 Session 8 (sofia/default/1913651537@157.32.81.86:54668) Locked, Waiting on external entities
2022-04-21 06:39:17.810281 98.20% [NOTICE] switch_core_session.c:1771 Session 8 (sofia/default/1913651537@157.32.81.86:54668) Ended
2022-04-21 06:39:17.810281 98.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1913651537@157.32.81.86:54668 [CS_DESTROY]
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_DESTROY (Cur 1 Tot 8)
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1913651537@157.32.81.86:54668) State DESTROY
2022-04-21 06:39:17.810281 98.20% [DEBUG] mod_sofia.c:379 sofia/default/1913651537@157.32.81.86:54668 SOFIA DESTROY
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/1913651537@157.32.81.86:54668 Standard DESTROY
2022-04-21 06:39:17.810281 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1913651537@157.32.81.86:54668) State DESTROY going to sleep
2022-04-21 06:39:17.830248 98.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_UNSPECIFIED
2022-04-21 06:39:17.830248 98.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:39:17.830248 98.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:39:17.830248 98.20% [DEBUG] switch_core_session.c:1753 Session 7 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:39:17.830248 98.20% [NOTICE] switch_core_session.c:1771 Session 7 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:39:17.830248 98.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:39:17.830248 98.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 0 Tot 8)
2022-04-21 06:39:17.830248 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:39:17.830248 98.20% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:39:17.830248 98.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:39:17.830248 98.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:39:17.990272 97.90% [DEBUG] switch_scheduler.c:147 Deleting task 5 switch_ivr_schedule_hangup (8530628e-7498-47aa-9cd8-c617ace502a5)
2022-04-21 06:43:45.750274 99.67% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [d2e38939-974c-4fe7-bf4f-86bacc238715]
2022-04-21 06:43:45.750274 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 9)
2022-04-21 06:43:45.750274 99.67% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:38237 version: 1.10.7 -release-19-883d2cb662 64bit call-id: Cf1g6enKi2ODmfYFBwcgBg..
2022-04-21 06:43:45.750274 99.67% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:43:45.750274 99.67% [DEBUG] sofia.c:2419 detaching session d2e38939-974c-4fe7-bf4f-86bacc238715
2022-04-21 06:43:45.750274 99.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:43:45.750274 99.67% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:43:45.850249 99.67% [DEBUG] sofia.c:2532 Re-attaching to session d2e38939-974c-4fe7-bf4f-86bacc238715
2022-04-21 06:43:45.850249 99.67% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:38237 version: 1.10.7 -release-19-883d2cb662 64bit call-id: Cf1g6enKi2ODmfYFBwcgBg..
2022-04-21 06:43:45.850249 99.67% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:43:45.850249 99.67% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:43:45.850249 99.67% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:43:45.850249 99.67% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299800901 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 38760 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:43:45.850249 99.67% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 9)
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:43:45.850249 99.67% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 9)
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:43:45.850249 99.67% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:43:45.850249 99.67% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:43:45.850249 99.67% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:43:45.870256 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:43:45.870256 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:43:45.890253 99.60% [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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
2022-04-21 06:43:45.890253 99.60% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:43:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:43:45)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 9)
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:43:45.890253 99.60% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:43:45.890253 99.60% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:43:45)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:43:45]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:43:45.910340 99.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [6142ae68-e50b-40f7-925e-606534331ba9]
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 2 Tot 10)
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:43:45.910340 99.60% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:43:45.910340 99.60% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650504447 1650504448 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 18978 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 2 Tot 10)
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:43:45.910340 99.60% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 10)
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:43:45.910340 99.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:43:45.910340 99.60% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:43:46.410250 99.60% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][403]
2022-04-21 06:43:46.410250 99.60% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [CALL_REJECTED]
2022-04-21 06:43:46.410250 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 10)
2022-04-21 06:43:46.410250 99.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:43:46.410250 99.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:43:46.410250 99.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: CALL_REJECTED
2022-04-21 06:43:46.410250 99.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: CALL_REJECTED
2022-04-21 06:43:46.410250 99.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:43:46.410250 99.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:43:46.410250 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 10)
2022-04-21 06:43:46.410250 99.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:43:46.410250 99.60% [INFO] mod_json_cdr.c:271 Process [6142ae68-e50b-40f7-925e-606534331ba9.cdr.json]
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: CALL_REJECTED
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_session.c:1753 Session 10 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
2022-04-21 06:43:46.430245 99.60% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: CALL_REJECTED
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:43:46.430245 99.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [0e246921-21d4-4a57-8861-834c70cbecbd]
2022-04-21 06:43:46.430245 99.60% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:43:46.430245 99.60% [NOTICE] switch_core_session.c:1771 Session 10 (sofia/default/918320547551) Ended
2022-04-21 06:43:46.430245 99.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 2 Tot 11)
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:43:46.430245 99.60% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 2 Tot 11)
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:43:46.430245 99.60% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:43:46.430245 99.60% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:43:46.430245 99.60% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650501768 1650501769 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 21658 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 2 Tot 11)
2022-04-21 06:43:46.430245 99.60% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:43:46.430245 99.60% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 11)
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:43:46.430245 99.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:44:23.470358 98.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [b5c65b45-aa99-49ed-b80d-16a7841053d3]
2022-04-21 06:44:23.470358 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 3 Tot 12)
2022-04-21 06:44:23.470358 98.53% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:38237 version: 1.10.7 -release-19-883d2cb662 64bit call-id: t7JigXcO032IqJmMuxAwwA..
2022-04-21 06:44:23.470358 98.53% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:44:23.470358 98.53% [DEBUG] sofia.c:2419 detaching session b5c65b45-aa99-49ed-b80d-16a7841053d3
2022-04-21 06:44:23.470358 98.53% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:44:23.470358 98.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:44:23.550290 98.53% [DEBUG] sofia.c:2532 Re-attaching to session b5c65b45-aa99-49ed-b80d-16a7841053d3
2022-04-21 06:44:23.570277 98.53% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:38237 version: 1.10.7 -release-19-883d2cb662 64bit call-id: t7JigXcO032IqJmMuxAwwA..
2022-04-21 06:44:23.570277 98.53% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:44:23.570277 98.53% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:44:23.570277 98.53% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:44:23.570277 98.53% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299838623 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 38760 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:44:23.570277 98.53% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 3 Tot 12)
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:44:23.570277 98.53% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 3 Tot 12)
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:44:23.570277 98.53% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:44:23.570277 98.53% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:44:23.570277 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:44:23.590259 98.53% [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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-04-21 06:44:23.590259 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:44:23.590259 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
2022-04-21 06:44:23.610264 98.53% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:44:23"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:44:23)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 3 Tot 12)
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:44:23.610264 98.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:44:23)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:44:23]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:44:23.610264 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:44:23.630247 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:44:23.630247 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:44:23.630247 98.53% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:44:23.630247 98.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [4cd422cb-0de7-4b38-b9f8-3a4a68329c5e]
2022-04-21 06:44:23.630247 98.53% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 4 Tot 13)
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:44:23.630247 98.53% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:44:23.630247 98.53% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:44:23.630247 98.53% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650491587 1650491588 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 31876 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 4 Tot 13)
2022-04-21 06:44:23.630247 98.53% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:44:23.630247 98.53% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 13)
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:44:23.630247 98.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:44:23.810252 98.53% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][403]
2022-04-21 06:44:23.810252 98.53% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [CALL_REJECTED]
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 4 Tot 13)
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:44:23.830270 98.53% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: CALL_REJECTED
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: CALL_REJECTED
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 4 Tot 13)
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:44:23.830270 98.53% [INFO] mod_json_cdr.c:271 Process [4cd422cb-0de7-4b38-b9f8-3a4a68329c5e.cdr.json]
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
2022-04-21 06:44:23.830270 98.53% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: CALL_REJECTED
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:44:23.830270 98.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [489cc50b-2bbd-4ea0-8c72-d4dfb430aedd]
2022-04-21 06:44:23.830270 98.53% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 5 Tot 14)
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:44:23.830270 98.53% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:44:23.830270 98.53% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:44:23.830270 98.53% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650492563 1650492564 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 30900 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 5 Tot 14)
2022-04-21 06:44:23.830270 98.53% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:44:23.830270 98.53% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:44:23.830270 98.53% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:44:23.830270 98.53% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 5 Tot 14)
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:44:23.830270 98.53% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:44:39.190272 93.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [b0bad66f-ce8d-46e0-aeca-e0226ec4f321]
2022-04-21 06:44:39.190272 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 3 Tot 18)
2022-04-21 06:44:39.190272 93.97% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:44285 version: 1.10.7 -release-19-883d2cb662 64bit call-id: UkVY-0cwL-nxyiX1h0hg8Q..witch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:44:39.190272 93.97% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:44:39.190272 93.97% [DEBUG] sofia.c:2419 detaching session b0bad66f-ce8d-46e0-aeca-e0226ec4f321
2022-04-21 06:44:39.190272 93.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:44:39.190272 93.97% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:44:39.290254 93.97% [DEBUG] sofia.c:2532 Re-attaching to session b0bad66f-ce8d-46e0-aeca-e0226ec4f321
2022-04-21 06:44:39.290254 93.97% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:44285 version: 1.10.7 -release-19-883d2cb662 64bit call-id: UkVY-0cwL-nxyiX1h0hg8Q..witch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:44:39.290254 93.97% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:44:39.290254 93.97% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:44:39.290254 93.97% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:44:39.290254 93.97% [DEBUG] sofia.c:7509 Remote SDP:
v=02-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
o=Zoiper 299854339 1 IN IP4 49.34.39.112] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
s=Z2-04-21 06:44:23.830270 98.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 5 Tot 14)
c=IN IP4 49.34.39.11230270 98.53% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
t=0 004-21 06:44:23.830270 98.53% [INFO] mod_json_cdr.c:271 Process [b5c65b45-aa99-49ed-b80d-16a7841053d3.cdr.json]
m=audio 38760 RTP/AVP 0 101 8 33% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: CALL_REJECTED
a=rtpmap:101 telephone-event/8000 [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
a=fmtp:101 0-164:23.850248 98.53% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:44:23.850248 98.53% [DEBUG] switch_core_session.c:1753 Session 13 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:44:39.290254 93.97% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 3 Tot 18)
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:44:39.290254 93.97% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 3 Tot 18)
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:44:39.290254 93.97% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:44:39.290254 93.97% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:44:39.290254 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1280 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 3 Tot 15)
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 18843c83b77e
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1022-04-21 06:44:29.030252 95.77% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:44:39.310295 93.97% [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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 14000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1:44:29.030252 95.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:44:39.310295 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:44:39.310295 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1annel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc accounts.id=sip_devices.accountid AND sip_devices.username="918320547551" limit 1
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence blocked_patterns = '^918.*' OR blocked_patte
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1ser id : 13
2022-04-21 06:44:39.330273 93.97% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1 LIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>pp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054
<document type="freeswitch/xml">.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR
<section name="dialplan" description="ASTPP Dialplan">= '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY ac
<context name="default">ern) DESC,cost DESC LIMIT 1
<extension name="918320547551">7% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
<condition field="destination_number" expression="918320547551">TPP] =============== Rates Information ===================
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>tcost : 0.00000
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>: 0
<action application="set" data="callstart=2022-04-21 06:44:38"/>TPP] Cost : 1.00000
<action application="set" data="hangup_after_bridge=true"/>5 [ASTPP] comment : jio india
<action application="set" data="continue_on_fail=TRUE"/>1465 [ASTPP] Country Id : 0
<action application="set" data="account_id=13"/>cpp.cpp:1465 [ASTPP] Accid : 13
<action application="set" data="parent_id=0"/>h_cpp.cpp:1465 [ASTPP] Trunk ID: 0
<action application="set" data="entity_id=0"/>h_cpp.cpp:1465 [ASTPP] Routing type:
<action application="set" data="call_processed=internal"/>65 [ASTPP] ================================================================
<action application="set" data="call_direction=outbound"/>65 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
<action application="set" data="accountname=default"/>p:1465 [ASTPP] Call Max length duration : 100 minutes
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>UG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelis
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path
,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.inclu
<action application="set" data="calltype=STANDARD"/>t name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where statu
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/> AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pa
<action application="set" data="trunk_id=4"/> OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern =
<action application="set" data="provider_id=14"/>RDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
<action application="set" data="rate_flag=0"/>h_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
<action application="set" data="force_trunk_flag=7"/>pp:1465 [ASTPP] ID : 3
<action application="export" data="presence_data=trunk_id=4"/>ASTPP] Code : ^91.*
<action application="set" data="intcall=0"/>tch_cpp.cpp:1465 [ASTPP] Destination : india
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>:44:29.070258 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>6:44:29.070258 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
</extension>6:44:29.070258 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
</context> 06:44:29.070258 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
</section> 06:44:29.070258 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
</document>06:44:29.070258 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:44:38)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14) re_execute_bleg_app=sched_hangup"/>
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD) rocessed=internal"/>
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 3 Tot 18)
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:44:38)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:44:38]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)nt_id=13)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)109.62 Action set(calltype=STANDARD)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)UG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]ine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:44:39.330273 93.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [1f06697c-a3d1-4606-befb-5dd976d8dee9]
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 4 Tot 19)
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:44:39.330273 93.97% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:44:39.330273 93.97% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:epth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
v=02-04-21 06:44:29.070258 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
o=FreeSWITCH 1650491811 1650491812 IN IP4 172.31.39.151set(entity_id=0)
s=FreeSWITCH6:44:29.070258 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
c=IN IP4 172.31.39.151a/default/6704159325@65.1.109.62 set(call_processed=internal)
t=0 004-21 06:44:29.070258 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
m=audio 31668 RTP/AVP 0 101ault/6704159325@65.1.109.62 set(call_direction=outbound)
a=rtpmap:0 PCMU/8000070258 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
a=rtpmap:101 telephone-event/8000704159325@65.1.109.62 set(accountname=default)
a=fmtp:101 0-154:29.070258 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
a=ptime:20epth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.0
a=sendrecv0|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:44:29.070258 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECT
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 4 Tot 19)
2022-04-21 06:44:39.330273 93.97% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:44:39.330273 93.97% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 19)
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:44:39.330273 93.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:44:39.530294 93.97% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:44:39.530294 93.97% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:44:39.530294 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 4 Tot 19)
2022-04-21 06:44:39.530294 93.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:44:39.530294 93.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:44:39.530294 93.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:44:39.530294 93.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:44:39.530294 93.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:44:39.530294 93.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:44:39.530294 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 4 Tot 19)
2022-04-21 06:44:39.530294 93.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:44:39.530294 93.97% [INFO] mod_json_cdr.c:271 Process [1f06697c-a3d1-4606-befb-5dd976d8dee9.cdr.json]
2022-04-21 06:44:39.530294 93.97% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:44:39.550315 93.97% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to eventxport_vars] [presence_data]=[x|||harvi(1913651537)|||^91
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to eventxport_vars] [presence_data]=[x|||harvi(1913651537)|||^91
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:44:39.550315 93.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [1308c8db-ec6d-40fb-a35e-9b8db2138e27]
2022-04-21 06:44:39.550315 93.97% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 5 Tot 20)
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:44:39.550315 93.97% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:44:39.550315 93.97% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:44:39.550315 93.97% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP: 06:44:29.070258 95.77% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
v=0al SDP:
o=FreeSWITCH 1650492591 1650492592 IN IP4 172.31.39.151
s=FreeSWITCH 1650495181 1650495182 IN IP4 172.31.39.151
c=IN IP4 172.31.39.151
t=0 0IP4 172.31.39.151
m=audio 30888 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000P 0 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15lephone-event/8000
a=ptime:20 0-15
a=sendrecv
a=sendrecv
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 5 Tot 20)
2022-04-21 06:44:39.550315 93.97% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:44:39.550315 93.97% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:44:39.550315 93.97% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:44:39.550315 93.97% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 5 Tot 20)
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:44:39.550315 93.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 5 Tot 20)
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:44:39.550315 93.97% [INFO] mod_json_cdr.c:271 Process [1308c8db-ec6d-40fb-a35e-9b8db2138e27.cdr.json]
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:44:39.550315 93.97% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:44:39.550315 93.97% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:44:39.550315 93.97% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 5 Tot 20)
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:44:39.550315 93.97% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 503 from the other leg
2022-04-21 06:44:39.550315 93.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:44:39.550315 93.97% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 5 Tot 20)
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:44:39.550315 93.97% [INFO] mod_json_cdr.c:271 Process [b0bad66f-ce8d-46e0-aeca-e0226ec4f321.cdr.json]
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_session.c:1753 Session 19 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:44:39.550315 93.97% [NOTICE] switch_core_session.c:1771 Session 19 (sofia/default/918320547551) Ended
2022-04-21 06:44:39.550315 93.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 4 Tot 20)
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:44:39.550315 93.97% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_session.c:1753 Session 20 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:44:39.550315 93.97% [NOTICE] switch_core_session.c:1771 Session 20 (sofia/default/918320547551) Ended
2022-04-21 06:44:39.550315 93.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 3 Tot 20)
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:44:39.550315 93.97% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:44:39.550315 93.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:44:39.570254 93.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:44:39.570254 93.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:44:39.570254 93.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:44:39.570254 93.97% [DEBUG] switch_core_session.c:1753 Session 18 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:44:39.570254 93.97% [NOTICE] switch_core_session.c:1771 Session 18 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:44:39.570254 93.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:44:39.570254 93.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 2 Tot 20)
2022-04-21 06:44:39.570254 93.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:44:39.570254 93.97% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:44:39.570254 93.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:44:39.570254 93.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:44:39.730251 93.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:44:46.010277 91.03% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NO_ANSWER]
2022-04-21 06:44:46.010277 91.03% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NO_ANSWER
2022-04-21 06:44:46.010277 91.03% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:44:46.010277 91.03% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:44:46.010277 91.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:44:46.010277 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 2 Tot 20)
2022-04-21 06:44:46.010277 91.03% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:44:46.010277 91.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:44:46.010277 91.03% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 403 from the other leg
2022-04-21 06:44:46.010277 91.03% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:44:46.010277 91.03% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 403
2022-04-21 06:44:46.010277 91.03% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:44:46.010277 91.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:44:46.010277 91.03% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:44:46.010277 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 2 Tot 20)
2022-04-21 06:44:46.010277 91.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:44:46.010277 91.03% [INFO] mod_json_cdr.c:271 Process [d2e38939-974c-4fe7-bf4f-86bacc238715.cdr.json]
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 20)
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:44:46.030243 91.03% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NO_ANSWER
2022-04-21 06:44:46.030243 91.03% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/918320547551
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NO_ANSWER
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 20)
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:44:46.030243 91.03% [INFO] mod_json_cdr.c:271 Process [0e246921-21d4-4a57-8861-834c70cbecbd.cdr.json]
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NO_ANSWER
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_session.c:1753 Session 11 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:44:46.030243 91.03% [NOTICE] switch_core_session.c:1771 Session 11 (sofia/default/918320547551) Ended
2022-04-21 06:44:46.030243 91.03% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 1 Tot 20)
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:44:46.030243 91.03% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_session.c:1753 Session 9 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:44:46.030243 91.03% [NOTICE] switch_core_session.c:1771 Session 9 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:44:46.030243 91.03% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 0 Tot 20)
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:44:46.030243 91.03% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:44:46.030243 91.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:45:00.150277 96.20% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [a0067f09-e201-4a0b-9c8a-a9a5198e7c6b]
2022-04-21 06:45:00.150277 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 21)
2022-04-21 06:45:00.150277 96.20% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:39691 version: 1.10.7 -release-19-883d2cb662 64bit call-id: Z_qDXGJCmXE55pqTKnmfxQ.. sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:45:00.150277 96.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:00.150277 96.20% [DEBUG] sofia.c:2419 detaching session a0067f09-e201-4a0b-9c8a-a9a5198e7c6b
2022-04-21 06:45:00.150277 96.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1913651537@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:45:00.150277 96.20% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:45:00.250265 96.20% [DEBUG] sofia.c:2532 Re-attaching to session a0067f09-e201-4a0b-9c8a-a9a5198e7c6b
2022-04-21 06:45:00.250265 96.20% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:39691 version: 1.10.7 -release-19-883d2cb662 64bit call-id: Z_qDXGJCmXE55pqTKnmfxQ..
2022-04-21 06:45:00.250265 96.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:00.270271 96.20% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:45:00.270271 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:45:00.270271 96.20% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299875300 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 38760 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:45:00.270271 96.20% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 21)
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:45:00.270271 96.20% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 21)
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:45:00.270271 96.20% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:45:00.270271 96.20% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->1913651537 in context default
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1913651537
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1913651537' AND status=0 limit 1
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1913651537" LIMIT 1
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="1913651537" limit 1
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="1913651537" AND A.accountid = '13' limit 1
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1913651537
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1913651537" LIMIT 1
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="1913651537" limit 1
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : local
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1913651537" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^1913651537.*' OR patterns = '^191365153.*' OR patterns = '^19136515.*' OR patterns = '^1913651.*' OR patterns = '^191365.*' OR patterns = '^19136.*' OR patterns = '^1913.*' OR patterns = '^191.*' OR patterns = '^19.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:45:00.270271 96.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1
2022-04-21 06:45:00.270271 96.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!0
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
2022-04-21 06:45:00.270271 96.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="1913651537" limit 1
2022-04-21 06:45:00.270271 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-04-21 06:45:00.270271 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="1913651537">
<condition field="destination_number" expression="1913651537">
<action application="set" data="effective_destination_number=1913651537"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:44:59"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=local"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:0|CODE:^1913651537.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>
<action application="set" data="effective_caller_id_name=Harvi"/>
<action application="set" data="effective_caller_id_number=6531564472"/>
<action application="set" data="calltype=LOCAL"/>
<action application="set" data="receiver_accid=13"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local"/>
<action application="bridge" data="[leg_timeout=60]user/1913651537@${domain_name}"/>
<condition field="${cond(${user_data 1913651537@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=1913651537"/>
<action application="voicemail" data="default $${domain_name} 1913651537"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->1913651537] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [1913651537] destination_number(1913651537) =~ /1913651537/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=1913651537)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:44:59)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=local)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:0|CODE:^1913651537.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=LOCAL)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(receiver_accid=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=60]user/1913651537@${domain_name})
|--- Dialplan: Processing recursive conditions level:1 [1913651537_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [1913651537_recur_1] ${cond(${user_data 1913651537@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/6704159325@65.1.109.62 Action answer()
|--- Dialplan: sofia/default/6704159325@65.1.109.62 Action export(voicemail_alternate_greet_id=1913651537)
|--- Dialplan: sofia/default/6704159325@65.1.109.62 Action voicemail(default $${domain_name} 1913651537)
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 21)
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=1913651537)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[1913651537]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:44:59)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:44:59]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=local)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[local]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:0|CODE:^1913651537.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:0|CODE:^1913651537.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_caller_id_name=Harvi)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_caller_id_number=6531564472)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=LOCAL)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[LOCAL]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(receiver_accid=13)
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [receiver_accid]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local)
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=60]user/1913651537@172.31.39.151)
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local] to event
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^1913651537.* // Local // 0||||||Local] to event
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:45:00.290249 96.20% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1913651537@157.32.81.86:54668 [414b1067-c454-4f3e-a6d7-a3c7ffa23084]
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_sofia.c:5121 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1913651537@157.32.81.86:54668 Setting leg timeout to 60
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_INIT (Cur 2 Tot 22)
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1913651537@157.32.81.86:54668) State INIT
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_sofia.c:97 sofia/default/1913651537@157.32.81.86:54668 SOFIA INIT
2022-04-21 06:45:00.290249 96.20% [DEBUG] sofia_glue.c:1620 sip:1913651537@157.32.81.86:53711;rinstance=c2b362e70c35e864;transport=tcp Setting proxy route to sofia/default/1913651537@157.32.81.86:54668
2022-04-21 06:45:00.290249 96.20% [INFO] sofia_glue.c:1651 sofia/default/1913651537@157.32.81.86:54668 sending invite call-id: (null)
2022-04-21 06:45:00.290249 96.20% [DEBUG] sofia_glue.c:1654 sofia/default/1913651537@157.32.81.86:54668 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650499728 1650499729 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 23772 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/1913651537@157.32.81.86:54668 Standard INIT
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1913651537@157.32.81.86:54668) State INIT going to sleep
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_ROUTING (Cur 2 Tot 22)
2022-04-21 06:45:00.290249 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/1913651537@157.32.81.86:54668 entering state [calling][0]
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1913651537@157.32.81.86:54668) State ROUTING
2022-04-21 06:45:00.290249 96.20% [DEBUG] mod_sofia.c:158 sofia/default/1913651537@157.32.81.86:54668 SOFIA ROUTING
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1913651537@157.32.81.86:54668) State ROUTING going to sleep
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 22)
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1913651537@157.32.81.86:54668) State CONSUME_MEDIA
2022-04-21 06:45:00.290249 96.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1913651537@157.32.81.86:54668) State CONSUME_MEDIA going to sleep
2022-04-21 06:45:00.950254 94.93% [DEBUG] sofia.c:7499 Channel sofia/default/1913651537@157.32.81.86:54668 entering state [proceeding][180]
2022-04-21 06:45:00.950254 94.93% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/1913651537@157.32.81.86:54668!
2022-04-21 06:45:00.950254 94.93% [DEBUG] switch_channel.c:3494 (sofia/default/1913651537@157.32.81.86:54668) Callstate Change DOWN -> RINGING
2022-04-21 06:45:00.970253 94.93% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/6704159325@65.1.109.62!
2022-04-21 06:45:00.970253 94.93% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [early][180]
2022-04-21 06:45:00.970253 94.93% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/6704159325@65.1.109.62!
2022-04-21 06:45:02.670263 93.87% [DEBUG] sofia.c:7499 Channel sofia/default/1913651537@157.32.81.86:54668 entering state [terminated][486]
2022-04-21 06:45:02.670263 93.87% [NOTICE] sofia.c:8738 Hangup sofia/default/1913651537@157.32.81.86:54668 [CS_CONSUME_MEDIA] [USER_BUSY]
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_HANGUP (Cur 2 Tot 22)
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1913651537@157.32.81.86:54668) Callstate Change RINGING -> HANGUP
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1913651537@157.32.81.86:54668) State HANGUP
2022-04-21 06:45:02.670263 93.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/1913651537@157.32.81.86:54668 hanging up, cause: USER_BUSY
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/1913651537@157.32.81.86:54668 Standard HANGUP, cause: USER_BUSY
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1913651537@157.32.81.86:54668) State HANGUP going to sleep
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_REPORTING (Cur 2 Tot 22)
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1913651537@157.32.81.86:54668) State REPORTING
2022-04-21 06:45:02.670263 93.87% [INFO] mod_json_cdr.c:271 Process [414b1067-c454-4f3e-a6d7-a3c7ffa23084.cdr.json]
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/1913651537@157.32.81.86:54668 Standard REPORTING, cause: USER_BUSY
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1913651537@157.32.81.86:54668) State REPORTING going to sleep
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1913651537@157.32.81.86:54668) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:02.670263 93.87% [DEBUG] switch_core_session.c:1753 Session 22 (sofia/default/1913651537@157.32.81.86:54668) Locked, Waiting on external entities
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
2022-04-21 06:45:02.690254 93.87% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_BUSY]
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
2022-04-21 06:45:02.690254 93.87% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_BUSY
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 answer()
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/6704159325@65.1.109.62] 172.31.39.151 port 18626 -> 49.34.39.112 port 38760 codec: 0 ms: 20
2022-04-21 06:45:02.690254 93.87% [NOTICE] switch_core_session.c:1771 Session 22 (sofia/default/1913651537@157.32.81.86:54668) Ended
2022-04-21 06:45:02.690254 93.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1913651537@157.32.81.86:54668 [CS_DESTROY]
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1913651537@157.32.81.86:54668) Running State Change CS_DESTROY (Cur 1 Tot 22)
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1913651537@157.32.81.86:54668) State DESTROY
2022-04-21 06:45:02.690254 93.87% [DEBUG] mod_sofia.c:379 sofia/default/1913651537@157.32.81.86:54668 SOFIA DESTROY
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/1913651537@157.32.81.86:54668 Standard DESTROY
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1913651537@157.32.81.86:54668) State DESTROY going to sleep
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_core_media.c:9089 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_core_media.c:9096 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf receive payload to 101
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_core_media.c:9119 sofia/default/6704159325@65.1.109.62 Set rtp dtmf delay to 40
2022-04-21 06:45:02.690254 93.87% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/6704159325@65.1.109.62:
v=0
o=FreeSWITCH 1650504876 1650504877 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 18626 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:02.690254 93.87% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [completed][200]
2022-04-21 06:45:02.690254 93.87% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/6704159325@65.1.109.62] has been answered
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_channel.c:3950 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> ACTIVE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(voicemail_alternate_greet_id=1913651537)
2022-04-21 06:45:02.690254 93.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [voicemail_alternate_greet_id]=[1913651537]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 voicemail(default 172.31.39.151 1913651537)
2022-04-21 06:45:02.810274 93.87% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2022-04-21 06:45:02.810274 93.87% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
2022-04-21 06:45:02.830256 93.87% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2022-04-21 06:45:04.170274 92.77% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
2022-04-21 06:45:04.270288 92.77% [DEBUG] switch_ivr_play_say.c:250 Handle say:[1913651537] (en:en)
2022-04-21 06:45:04.270288 92.77% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2022-04-21 06:45:09.190276 92.67% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav!digits/9.wav!digits/1.wav!digits/3.wav!digits/6.wav!digits/5.wav!digits/1.wav!digits/5.wav!digits/3.wav!digits/7.wav
2022-04-21 06:45:09.310261 92.67% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-not_available.wav] (en:en)
2022-04-21 06:45:09.310261 92.67% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2022-04-21 06:45:10.290294 94.63% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-not_available.wav
2022-04-21 06:45:10.410274 94.63% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2022-04-21 06:45:10.410274 94.63% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
2022-04-21 06:45:10.410274 94.63% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2022-04-21 06:45:11.350262 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [229d2660-acdc-409f-bc7c-f19378635582]
2022-04-21 06:45:11.350262 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 2 Tot 23)
2022-04-21 06:45:11.350262 95.50% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:39691 version: 1.10.7 -release-19-883d2cb662 64bit call-id: mwpOTUipJi9Y5aZN5PZlKQ..
2022-04-21 06:45:11.350262 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:11.350262 95.50% [DEBUG] sofia.c:2419 detaching session 229d2660-acdc-409f-bc7c-f19378635582
2022-04-21 06:45:11.350262 95.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:45:11.350262 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:45:11.430294 95.50% [DEBUG] sofia.c:2532 Re-attaching to session 229d2660-acdc-409f-bc7c-f19378635582
2022-04-21 06:45:11.450302 95.50% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:39691 version: 1.10.7 -release-19-883d2cb662 64bit call-id: mwpOTUipJi9Y5aZN5PZlKQ..
2022-04-21 06:45:11.450302 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:11.450302 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:45:11.450302 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:45:11.450302 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299886509 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 38760 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:45:11.450302 95.50% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 2 Tot 23)
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:45:11.450302 95.50% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 2 Tot 23)
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:45:11.450302 95.50% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:45:11.450302 95.50% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:45:11.450302 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:45:11.470259 95.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:45:11.470259 95.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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:45:11.470259 95.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:45:11.470259 95.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 (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:45:11.470259 95.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 = 13 AND status=0 LIMIT 1
2022-04-21 06:45:11.470259 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-04-21 06:45:11.470259 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:45:11"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:45:11)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 2 Tot 23)
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:45:11)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:45:11]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:45:11.490254 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [14a65377-6092-45ac-9bcf-910b852c9b93]
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 3 Tot 24)
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:45:11.490254 95.50% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:45:11.490254 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650493765 1650493766 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 29746 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 3 Tot 24)
2022-04-21 06:45:11.490254 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:45:11.490254 95.50% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 24)
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:45:11.490254 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:45:11.690251 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [completing][200]
2022-04-21 06:45:11.690251 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 1239703122 1239703122 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 13504 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150

2022-04-21 06:45:11.690251 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [ready][200]
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/918320547551 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/918320547551 Original read codec set to PCMU:0
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/918320547551 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/918320547551] 172.31.39.151 port 29746 -> 159.203.131.36 port 13504 codec: 0 ms: 20
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/918320547551 Set 2833 dtmf send payload to 101
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/918320547551 Set 2833 dtmf receive payload to 101
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/918320547551 Set rtp dtmf delay to 40
2022-04-21 06:45:11.690251 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/918320547551] has been answered
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/918320547551) Callstate Change DOWN -> ACTIVE
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/6704159325@65.1.109.62] 172.31.39.151 port 25720 -> 49.34.39.112 port 38760 codec: 0 ms: 20
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf receive payload to 101
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/6704159325@65.1.109.62 Set rtp dtmf delay to 40
2022-04-21 06:45:11.690251 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/6704159325@65.1.109.62:
v=0
o=FreeSWITCH 1650497791 1650497792 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 25720 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:11.690251 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [completed][200]
2022-04-21 06:45:11.690251 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/6704159325@65.1.109.62] has been answered
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> ACTIVE
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/918320547551] Peer UUID: 14a65377-6092-45ac-9bcf-910b852c9b93
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/918320547551) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 24)
2022-04-21 06:45:11.690251 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/918320547551) State EXCHANGE_MEDIA
2022-04-21 06:45:11.690251 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2022-04-21 06:45:11.890251 94.10% [DEBUG] switch_ivr_bridge.c:655 sofia/default/918320547551 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-04-21 06:45:11.910250 94.10% [DEBUG] switch_ivr.c:632 sofia/default/918320547551 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/918320547551 sched_hangup(+6000 normal_clearing)
2022-04-21 06:45:11.910250 94.10% [DEBUG] switch_scheduler.c:263 Added task 6 switch_ivr_schedule_hangup (14a65377-6092-45ac-9bcf-910b852c9b93) to run at 1650529511
2022-04-21 06:45:15.010285 92.83% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
2022-04-21 06:45:16.150286 92.80% [DEBUG] switch_ivr_play_say.c:604 Raw Codec Activated, ready to waste resources!
2022-04-21 06:45:16.150286 92.80% [DEBUG] switch_ivr_play_say.c:716 Raw Codec Activated
2022-04-21 06:45:16.150286 92.80% [DEBUG] switch_core_codec.c:223 sofia/default/6704159325@65.1.109.62 Push codec L16:100
2022-04-21 06:45:18.150274 93.10% [DEBUG] switch_core_codec.c:248 sofia/default/6704159325@65.1.109.62 Restore previous codec PCMU:0.
2022-04-21 06:45:18.150274 93.10% [DEBUG] mod_voicemail.c:1247 Message is less than minimum record length: 3, discarding it.
2022-04-21 06:45:18.150274 93.10% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2022-04-21 06:45:18.150274 93.10% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-too-small.wav] (en:en)
2022-04-21 06:45:18.150274 93.10% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2022-04-21 06:45:22.210340 92.93% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-too-small.wav
2022-04-21 06:45:22.330285 92.93% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2022-04-21 06:45:22.330285 92.93% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
2022-04-21 06:45:22.330285 92.93% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2022-04-21 06:45:26.930249 92.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
2022-04-21 06:45:28.050272 93.00% [DEBUG] switch_ivr_play_say.c:604 Raw Codec Activated, ready to waste resources!
2022-04-21 06:45:28.050272 93.00% [DEBUG] switch_ivr_play_say.c:716 Raw Codec Activated
2022-04-21 06:45:28.050272 93.00% [DEBUG] switch_core_codec.c:223 sofia/default/6704159325@65.1.109.62 Push codec L16:100
2022-04-21 06:45:30.050306 92.97% [DEBUG] switch_core_codec.c:248 sofia/default/6704159325@65.1.109.62 Restore previous codec PCMU:0.
2022-04-21 06:45:30.050306 92.97% [DEBUG] mod_voicemail.c:1247 Message is less than minimum record length: 3, discarding it.
2022-04-21 06:45:30.050306 92.97% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2022-04-21 06:45:30.050306 92.97% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-too-small.wav] (en:en)
2022-04-21 06:45:30.050306 92.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2022-04-21 06:45:32.330292 95.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [2a3e6b30-b874-40aa-b9b3-6a2f55ae020c]
2022-04-21 06:45:32.330292 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 4 Tot 25)
2022-04-21 06:45:32.330292 95.30% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:39691 version: 1.10.7 -release-19-883d2cb662 64bit call-id: lQzhDRlYGZnm7iizFkNDxw..
2022-04-21 06:45:32.330292 95.30% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:32.330292 95.30% [DEBUG] sofia.c:2419 detaching session 2a3e6b30-b874-40aa-b9b3-6a2f55ae020c
2022-04-21 06:45:32.330292 95.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:45:32.330292 95.30% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:45:32.430298 95.30% [DEBUG] sofia.c:2532 Re-attaching to session 2a3e6b30-b874-40aa-b9b3-6a2f55ae020c
2022-04-21 06:45:32.430298 95.30% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:39691 version: 1.10.7 -release-19-883d2cb662 64bit call-id: lQzhDRlYGZnm7iizFkNDxw..
2022-04-21 06:45:32.430298 95.30% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:32.450255 95.30% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:45:32.450255 95.30% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:45:32.450255 95.30% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299907479 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 38760 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:45:32.450255 95.30% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 4 Tot 25)
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:45:32.450255 95.30% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 4 Tot 25)
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:45:32.450255 95.30% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:45:32.450255 95.30% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:45:32.450255 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:45:32.450255 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:45:32.450255 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:45:32.450255 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:45:32.450255 95.30% [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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:45:32.450255 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:45:32.450255 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:45:32.450255 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
2022-04-21 06:45:32.470256 95.30% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:45:32"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:45:32)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 4 Tot 25)
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:45:32)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:45:32]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:45:32.470256 95.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [2c5da14d-d19b-4055-b9ea-418109418c0d]
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 5 Tot 26)
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:45:32.470256 95.30% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:45:32.470256 95.30% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650502284 1650502285 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 21248 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 5 Tot 26)
2022-04-21 06:45:32.470256 95.30% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:45:32.470256 95.30% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 5 Tot 26)
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:45:32.470256 95.30% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:45:32.670271 95.30% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:45:32.670271 95.30% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 5 Tot 26)
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:45:32.670271 95.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 5 Tot 26)
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:45:32.670271 95.30% [INFO] mod_json_cdr.c:271 Process [2c5da14d-d19b-4055-b9ea-418109418c0d.cdr.json]
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:32.670271 95.30% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:45:32.670271 95.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [8c63ef76-cb66-4784-b519-6422ea95044e]
2022-04-21 06:45:32.670271 95.30% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 6 Tot 27)
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:45:32.670271 95.30% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:45:32.670271 95.30% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:45:32.670271 95.30% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650493610 1650493611 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 29922 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 6 Tot 27)
2022-04-21 06:45:32.670271 95.30% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:45:32.670271 95.30% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:45:32.670271 95.30% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:45:32.670271 95.30% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 6 Tot 27)
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:45:32.670271 95.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 6 Tot 27)
2022-04-21 06:45:32.670271 95.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:45:32.670271 95.30% [INFO] mod_json_cdr.c:271 Process [8c63ef76-cb66-4784-b519-6422ea95044e.cdr.json]
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:32.690299 95.30% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:32.690299 95.30% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:45:32.690299 95.30% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 6 Tot 27)
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:45:32.690299 95.30% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 503 from the other leg
2022-04-21 06:45:32.690299 95.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:45:32.690299 95.30% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 6 Tot 27)
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:45:32.690299 95.30% [INFO] mod_json_cdr.c:271 Process [2a3e6b30-b874-40aa-b9b3-6a2f55ae020c.cdr.json]
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_session.c:1753 Session 27 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:45:32.690299 95.30% [NOTICE] switch_core_session.c:1771 Session 27 (sofia/default/918320547551) Ended
2022-04-21 06:45:32.690299 95.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 5 Tot 27)
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:45:32.690299 95.30% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_session.c:1753 Session 26 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:45:32.690299 95.30% [NOTICE] switch_core_session.c:1771 Session 26 (sofia/default/918320547551) Ended
2022-04-21 06:45:32.690299 95.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 4 Tot 27)
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:45:32.690299 95.30% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:45:32.690299 95.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:45:32.710284 95.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:45:32.710284 95.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:45:32.710284 95.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:32.710284 95.30% [DEBUG] switch_core_session.c:1753 Session 25 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:45:32.710284 95.30% [NOTICE] switch_core_session.c:1771 Session 25 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:45:32.710284 95.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:45:32.710284 95.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 3 Tot 27)
2022-04-21 06:45:32.710284 95.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:45:32.710284 95.30% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:45:32.710284 95.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:45:32.710284 95.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:45:32.870254 95.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:45:34.110288 93.50% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-too-small.wav
2022-04-21 06:45:34.210299 93.50% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2022-04-21 06:45:34.210299 93.50% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
2022-04-21 06:45:34.210299 93.50% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2022-04-21 06:45:34.710263 93.50% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [terminating][0]
2022-04-21 06:45:34.710263 93.50% [NOTICE] sofia.c:8738 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_UNSPECIFIED]
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_session.c:2983 sofia/default/6704159325@65.1.109.62 skip receive message [PHONE_EVENT] (channel is hungup already)
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 3 Tot 27)
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change ACTIVE -> HANGUP
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:45:34.710263 93.50% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 486 from the other leg
2022-04-21 06:45:34.710263 93.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_UNSPECIFIED
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_UNSPECIFIED
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 3 Tot 27)
2022-04-21 06:45:34.710263 93.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:45:34.710263 93.50% [INFO] mod_json_cdr.c:271 Process [a0067f09-e201-4a0b-9c8a-a9a5198e7c6b.cdr.json]
2022-04-21 06:45:34.730267 93.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_UNSPECIFIED
2022-04-21 06:45:34.730267 93.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:45:34.730267 93.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:34.730267 93.50% [DEBUG] switch_core_session.c:1753 Session 21 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:45:34.730267 93.50% [NOTICE] switch_core_session.c:1771 Session 21 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:45:34.730267 93.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:45:34.730267 93.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 2 Tot 27)
2022-04-21 06:45:34.730267 93.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:45:34.730267 93.50% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:45:34.730267 93.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:45:34.730267 93.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:45:37.670270 93.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [c749ff9b-05d7-4981-9b04-a0580d370ade]
2022-04-21 06:45:37.670270 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 3 Tot 28)
2022-04-21 06:45:37.670270 93.27% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:47675 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MRpoNUcQjjJ9e0CUSp7jVQ..
2022-04-21 06:45:37.670270 93.27% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:37.670270 93.27% [DEBUG] sofia.c:2419 detaching session c749ff9b-05d7-4981-9b04-a0580d370ade
2022-04-21 06:45:37.670270 93.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:45:37.670270 93.27% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:45:37.790295 93.27% [DEBUG] sofia.c:2532 Re-attaching to session c749ff9b-05d7-4981-9b04-a0580d370ade
2022-04-21 06:45:37.790295 93.27% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:47675 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MRpoNUcQjjJ9e0CUSp7jVQ..
2022-04-21 06:45:37.790295 93.27% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:37.810266 93.27% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:45:37.810266 93.27% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:45:37.810266 93.27% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299912834 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 38760 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:45:37.810266 93.27% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 3 Tot 28)
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:45:37.810266 93.27% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 3 Tot 28)
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:45:37.810266 93.27% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:45:37.810266 93.27% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:45:37.810266 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:45:37.810266 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:45:37.810266 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:45:37.810266 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:45:37.810266 93.27% [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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:45:37.810266 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:45:37.810266 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:45:37.810266 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
2022-04-21 06:45:37.830256 93.27% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:45:37"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:45:37)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 3 Tot 28)
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:45:37)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:45:37]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:45:37.830256 93.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [143fffba-2ec9-40e1-957b-985819e30d1e]
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 4 Tot 29)
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:45:37.830256 93.27% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:45:37.830256 93.27% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650499917 1650499918 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 23620 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 4 Tot 29)
2022-04-21 06:45:37.830256 93.27% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:45:37.830256 93.27% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 29)
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:45:37.830256 93.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:45:38.030249 93.00% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][403]
2022-04-21 06:45:38.030249 93.00% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [CALL_REJECTED]
2022-04-21 06:45:38.030249 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 4 Tot 29)
2022-04-21 06:45:38.030249 93.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:45:38.030249 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:45:38.030249 93.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: CALL_REJECTED
2022-04-21 06:45:38.030249 93.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: CALL_REJECTED
2022-04-21 06:45:38.030249 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:45:38.030249 93.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:38.030249 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 4 Tot 29)
2022-04-21 06:45:38.030249 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:45:38.030249 93.00% [INFO] mod_json_cdr.c:271 Process [143fffba-2ec9-40e1-957b-985819e30d1e.cdr.json]
2022-04-21 06:45:38.030249 93.00% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
2022-04-21 06:45:38.030249 93.00% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: CALL_REJECTED
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:45:38.050247 93.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [494f0bdb-4c5b-4c37-933e-43e3c28fb637]
2022-04-21 06:45:38.050247 93.00% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 5 Tot 30)
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:45:38.050247 93.00% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:45:38.050247 93.00% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:45:38.050247 93.00% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650496656 1650496657 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 26882 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 5 Tot 30)
2022-04-21 06:45:38.050247 93.00% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:45:38.050247 93.00% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:45:38.050247 93.00% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:45:38.050247 93.00% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 5 Tot 30)
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:45:38.050247 93.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 5 Tot 30)
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:45:38.050247 93.00% [INFO] mod_json_cdr.c:271 Process [494f0bdb-4c5b-4c37-933e-43e3c28fb637.cdr.json]
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:38.050247 93.00% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:38.050247 93.00% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:45:38.050247 93.00% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 5 Tot 30)
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:45:38.050247 93.00% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 503 from the other leg
2022-04-21 06:45:38.050247 93.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:45:38.050247 93.00% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 5 Tot 30)
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:45:38.050247 93.00% [INFO] mod_json_cdr.c:271 Process [c749ff9b-05d7-4981-9b04-a0580d370ade.cdr.json]
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_session.c:1753 Session 30 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:45:38.050247 93.00% [NOTICE] switch_core_session.c:1771 Session 30 (sofia/default/918320547551) Ended
2022-04-21 06:45:38.050247 93.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 4 Tot 30)
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:45:38.050247 93.00% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: CALL_REJECTED
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_session.c:1753 Session 29 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:45:38.050247 93.00% [NOTICE] switch_core_session.c:1771 Session 29 (sofia/default/918320547551) Ended
2022-04-21 06:45:38.050247 93.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 3 Tot 30)
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:45:38.050247 93.00% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:45:38.050247 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:45:38.070265 93.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:45:38.070265 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:45:38.070265 93.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:38.070265 93.00% [DEBUG] switch_core_session.c:1753 Session 28 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:45:38.070265 93.00% [NOTICE] switch_core_session.c:1771 Session 28 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:45:38.070265 93.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:45:38.070265 93.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 2 Tot 30)
2022-04-21 06:45:38.070265 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:45:38.070265 93.00% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:45:38.070265 93.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:45:38.070265 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:45:38.230251 93.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:45:41.910276 91.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [98745f37-522e-49d4-b7de-b67d16d4df79]
2022-04-21 06:45:41.910276 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 3 Tot 31)
2022-04-21 06:45:41.910276 91.87% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:49843 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MFzQO4pATfUuBOQhd_geow..
2022-04-21 06:45:41.910276 91.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:41.910276 91.87% [DEBUG] sofia.c:2419 detaching session 98745f37-522e-49d4-b7de-b67d16d4df79
2022-04-21 06:45:41.910276 91.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:45:41.910276 91.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:45:42.010275 91.87% [DEBUG] sofia.c:2532 Re-attaching to session 98745f37-522e-49d4-b7de-b67d16d4df79
2022-04-21 06:45:42.010275 91.87% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:49843 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MFzQO4pATfUuBOQhd_geow..
2022-04-21 06:45:42.010275 91.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:45:42.010275 91.87% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:45:42.010275 91.87% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:45:42.010275 91.87% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299917063 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 38760 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:45:42.010275 91.87% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:45:42.030251 91.87% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 3 Tot 31)
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:45:42.030251 91.87% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 3 Tot 31)
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:45:42.030251 91.87% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:45:42.030251 91.87% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:45:42.030251 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:45:42.030251 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:45:42.030251 91.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:45:42.030251 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:45:42.030251 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:45:42.030251 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:45:42.050250 91.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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:45:42.050250 91.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:45:42.050250 91.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 (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 13 !!!
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:45:42.050250 91.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 = 13 AND status=0 LIMIT 1
2022-04-21 06:45:42.050250 91.87% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:45:41"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:45:41)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 3 Tot 31)
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:45:41)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:45:41]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:45:42.050250 91.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:45:42.050250 91.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:45:42.070246 91.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [f29e78fc-e66a-4bc9-a4df-08fee29d4bd4]
2022-04-21 06:45:42.070246 91.87% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 4 Tot 32)
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:45:42.070246 91.87% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:45:42.070246 91.87% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:45:42.070246 91.87% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650503612 1650503613 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 19930 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 4 Tot 32)
2022-04-21 06:45:42.070246 91.87% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:45:42.070246 91.87% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 32)
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:45:42.070246 91.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:45:42.250250 91.87% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:45:42.250250 91.87% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:42.250250 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 4 Tot 32)
2022-04-21 06:45:42.250250 91.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:45:42.250250 91.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:45:42.250250 91.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:42.250250 91.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:42.250250 91.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:45:42.250250 91.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:42.250250 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 4 Tot 32)
2022-04-21 06:45:42.250250 91.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:45:42.250250 91.87% [INFO] mod_json_cdr.c:271 Process [f29e78fc-e66a-4bc9-a4df-08fee29d4bd4.cdr.json]
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:42.270248 91.87% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:45:42.270248 91.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [6af467b9-48f5-4567-9733-6c8268a6004b]
2022-04-21 06:45:42.270248 91.87% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 5 Tot 33)
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:45:42.270248 91.87% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:45:42.270248 91.87% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:45:42.270248 91.87% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650500264 1650500265 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 23278 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 5 Tot 33)
2022-04-21 06:45:42.270248 91.87% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:45:42.270248 91.87% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:45:42.270248 91.87% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:45:42.270248 91.87% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 5 Tot 33)
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:45:42.270248 91.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 5 Tot 33)
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:45:42.270248 91.87% [INFO] mod_json_cdr.c:271 Process [6af467b9-48f5-4567-9733-6c8268a6004b.cdr.json]
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:45:42.270248 91.87% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:42.270248 91.87% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:45:42.270248 91.87% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 5 Tot 33)
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:45:42.270248 91.87% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 503 from the other leg
2022-04-21 06:45:42.270248 91.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:45:42.270248 91.87% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 5 Tot 33)
2022-04-21 06:45:42.270248 91.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:45:42.270248 91.87% [INFO] mod_json_cdr.c:271 Process [98745f37-522e-49d4-b7de-b67d16d4df79.cdr.json]
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_session.c:1753 Session 33 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:45:42.290260 91.87% [NOTICE] switch_core_session.c:1771 Session 33 (sofia/default/918320547551) Ended
2022-04-21 06:45:42.290260 91.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 4 Tot 33)
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_session.c:1753 Session 32 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:45:42.290260 91.87% [NOTICE] switch_core_session.c:1771 Session 32 (sofia/default/918320547551) Ended
2022-04-21 06:45:42.290260 91.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 3 Tot 33)
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_session.c:1753 Session 31 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:45:42.290260 91.87% [NOTICE] switch_core_session.c:1771 Session 31 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:45:42.290260 91.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 2 Tot 33)
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:45:42.290260 91.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:45:42.470281 91.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:45:43.710278 90.23% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [terminating][0]
2022-04-21 06:45:43.710278 90.23% [NOTICE] sofia.c:8738 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_UNSPECIFIED]
2022-04-21 06:45:43.710278 90.23% [DEBUG] switch_ivr_bridge.c:826 sofia/default/6704159325@65.1.109.62 ending bridge by request from read function
2022-04-21 06:45:43.710278 90.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/6704159325@65.1.109.62]
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/918320547551]
2022-04-21 06:45:43.730251 90.23% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/918320547551 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/918320547551) State EXCHANGE_MEDIA going to sleep
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 33)
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change ACTIVE -> HANGUP
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:45:43.730251 90.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:45:43.730251 90.23% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/918320547551
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 33)
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:45:43.730251 90.23% [INFO] mod_json_cdr.c:271 Process [14a65377-6092-45ac-9bcf-910b852c9b93.cdr.json]
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/918320547551 skip receive message [UNBRIDGE] (channel is hungup already)
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/6704159325@65.1.109.62 skip receive message [UNBRIDGE] (channel is hungup already)
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_session.c:2983 sofia/default/6704159325@65.1.109.62 skip receive message [PHONE_EVENT] (channel is hungup already)
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 2 Tot 33)
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change ACTIVE -> HANGUP
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:45:43.730251 90.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_UNSPECIFIED
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_UNSPECIFIED
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 2 Tot 33)
2022-04-21 06:45:43.730251 90.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:45:43.730251 90.23% [INFO] mod_json_cdr.c:271 Process [229d2660-acdc-409f-bc7c-f19378635582.cdr.json]
2022-04-21 06:45:43.750250 90.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:45:43.750250 90.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:45:43.750250 90.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:43.750250 90.23% [DEBUG] switch_core_session.c:1753 Session 24 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:45:43.750250 90.23% [NOTICE] switch_core_session.c:1771 Session 24 (sofia/default/918320547551) Ended
2022-04-21 06:45:43.750250 90.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:45:43.750250 90.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 1 Tot 33)
2022-04-21 06:45:43.750250 90.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:45:43.750250 90.23% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:45:43.750250 90.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:45:43.750250 90.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:45:43.770278 90.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_UNSPECIFIED
2022-04-21 06:45:43.770278 90.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:45:43.770278 90.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:45:43.770278 90.23% [DEBUG] switch_core_session.c:1753 Session 23 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:45:43.770278 90.23% [NOTICE] switch_core_session.c:1771 Session 23 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:45:43.770278 90.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:45:43.770278 90.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 0 Tot 33)
2022-04-21 06:45:43.770278 90.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:45:43.770278 90.23% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:45:43.770278 90.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:45:43.770278 90.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:45:43.910271 89.93% [DEBUG] switch_scheduler.c:147 Deleting task 6 switch_ivr_schedule_hangup (14a65377-6092-45ac-9bcf-910b852c9b93)
2022-04-21 06:46:00.450271 89.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:46:04.830271 91.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [8032130f-3e7a-4041-b5a5-55238ea4100d]
2022-04-21 06:46:04.850353 91.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 34)
2022-04-21 06:46:04.850353 91.80% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:46941 version: 1.10.7 -release-19-883d2cb662 64bit call-id: og_q0NydkxJJ_7PEy14aJQ..
2022-04-21 06:46:04.850353 91.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:46:04.850353 91.80% [DEBUG] sofia.c:2419 detaching session 8032130f-3e7a-4041-b5a5-55238ea4100d
2022-04-21 06:46:04.850353 91.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:46:04.850353 91.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:46:04.950272 92.10% [DEBUG] sofia.c:2532 Re-attaching to session 8032130f-3e7a-4041-b5a5-55238ea4100d
2022-04-21 06:46:04.970251 92.10% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:46941 version: 1.10.7 -release-19-883d2cb662 64bit call-id: og_q0NydkxJJ_7PEy14aJQ..
2022-04-21 06:46:04.970251 92.10% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:46:04.970251 92.10% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:46:04.970251 92.10% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:46:04.970251 92.10% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299939989 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 32559 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:46:04.970251 92.10% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 34)
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:46:04.970251 92.10% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 34)
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:46:04.970251 92.10% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:46:04.970251 92.10% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:46:04.970251 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:46:04.970251 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:46:04.970251 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:46:04.990257 92.10% [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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 98.5
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your98.5 balance Accountid 13 !!!
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 98.5 minutes
2022-04-21 06:46:04.990257 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:46:04.990257 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
2022-04-21 06:46:05.010254 92.10% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 98.5
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+5910 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:46:04"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:46:04)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 34)
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+5910 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:46:04)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:46:04]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:46:05.010254 92.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [e4347e1b-104d-4e5e-813a-e90566890a73]
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 2 Tot 35)
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:46:05.010254 92.10% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:46:05.010254 92.10% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650491911 1650491912 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 31654 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 2 Tot 35)
2022-04-21 06:46:05.010254 92.10% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:46:05.010254 92.10% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 35)
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:46:05.010254 92.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:46:05.210251 92.10% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:46:05.210251 92.10% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 35)
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:46:05.210251 92.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 35)
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:46:05.210251 92.10% [INFO] mod_json_cdr.c:271 Process [e4347e1b-104d-4e5e-813a-e90566890a73.cdr.json]
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:05.210251 92.10% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:46:05.210251 92.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [640e62c2-ab59-4325-99c0-ea485c74fdf8]
2022-04-21 06:46:05.210251 92.10% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 3 Tot 36)
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:46:05.210251 92.10% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:46:05.210251 92.10% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:46:05.210251 92.10% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650499495 1650499496 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 24070 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 3 Tot 36)
2022-04-21 06:46:05.210251 92.10% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:46:05.210251 92.10% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:46:05.210251 92.10% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:46:05.210251 92.10% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 3 Tot 36)
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:46:05.210251 92.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 3 Tot 36)
2022-04-21 06:46:05.210251 92.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:46:05.210251 92.10% [INFO] mod_json_cdr.c:271 Process [640e62c2-ab59-4325-99c0-ea485c74fdf8.cdr.json]
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:05.230244 92.10% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:05.230244 92.10% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:46:05.230244 92.10% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 3 Tot 36)
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:46:05.230244 92.10% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 503 from the other leg
2022-04-21 06:46:05.230244 92.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:46:05.230244 92.10% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 3 Tot 36)
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:46:05.230244 92.10% [INFO] mod_json_cdr.c:271 Process [8032130f-3e7a-4041-b5a5-55238ea4100d.cdr.json]
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_session.c:1753 Session 35 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:46:05.230244 92.10% [NOTICE] switch_core_session.c:1771 Session 35 (sofia/default/918320547551) Ended
2022-04-21 06:46:05.230244 92.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 2 Tot 36)
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_session.c:1753 Session 36 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:46:05.230244 92.10% [NOTICE] switch_core_session.c:1771 Session 36 (sofia/default/918320547551) Ended
2022-04-21 06:46:05.230244 92.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 1 Tot 36)
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_session.c:1753 Session 34 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:46:05.230244 92.10% [NOTICE] switch_core_session.c:1771 Session 34 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:46:05.230244 92.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 0 Tot 36)
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:46:05.230244 92.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:46:05.430252 92.10% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:46:09.390260 92.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [1793c3c1-8fc1-4b86-b29b-456c4d249a11]
2022-04-21 06:46:09.390260 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 37)
2022-04-21 06:46:09.390260 92.07% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:48547 version: 1.10.7 -release-19-883d2cb662 64bit call-id: byI-zomSDXWFloJF3QRErw..
2022-04-21 06:46:09.390260 92.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:46:09.390260 92.07% [DEBUG] sofia.c:2419 detaching session 1793c3c1-8fc1-4b86-b29b-456c4d249a11
2022-04-21 06:46:09.390260 92.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:46:09.390260 92.07% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:46:09.510264 92.07% [DEBUG] sofia.c:2532 Re-attaching to session 1793c3c1-8fc1-4b86-b29b-456c4d249a11
2022-04-21 06:46:09.510264 92.07% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:48547 version: 1.10.7 -release-19-883d2cb662 64bit call-id: byI-zomSDXWFloJF3QRErw..
2022-04-21 06:46:09.510264 92.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:46:09.530243 92.07% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:46:09.530243 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:46:09.530243 92.07% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299944544 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 32559 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:46:09.530243 92.07% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 37)
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:46:09.530243 92.07% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 37)
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:46:09.530243 92.07% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:46:09.530243 92.07% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:46:09.530243 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:46:09.530243 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:46:09.530243 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:46:09.530243 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:46:09.530243 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:46:09.550248 92.07% [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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 98.5
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your98.5 balance Accountid 13 !!!
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 98.5 minutes
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
2022-04-21 06:46:09.550248 92.07% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 98.5
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+5910 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:46:09"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:46:09)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:46:09.550248 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 37)
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+5910 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:46:09)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:46:09]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:46:09.570332 92.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [4250b2d2-3ef6-46b9-b6e4-dd5ddc88599e]
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 2 Tot 38)
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:46:09.570332 92.07% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:46:09.570332 92.07% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650506731 1650506732 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 16838 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 2 Tot 38)
2022-04-21 06:46:09.570332 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:46:09.570332 92.07% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 38)
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:46:09.570332 92.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:46:09.770251 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:46:09.770251 92.07% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 38)
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:46:09.770251 92.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 38)
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:46:09.770251 92.07% [INFO] mod_json_cdr.c:271 Process [4250b2d2-3ef6-46b9-b6e4-dd5ddc88599e.cdr.json]
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:09.770251 92.07% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:46:09.770251 92.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [060740d2-61b5-41e5-8e9d-9c60738c71d9]
2022-04-21 06:46:09.770251 92.07% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 3 Tot 39)
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:46:09.770251 92.07% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:46:09.770251 92.07% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:46:09.770251 92.07% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650500997 1650500998 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 22572 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 3 Tot 39)
2022-04-21 06:46:09.770251 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:46:09.770251 92.07% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:46:09.770251 92.07% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:46:09.770251 92.07% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 3 Tot 39)
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:46:09.770251 92.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 3 Tot 39)
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:46:09.770251 92.07% [INFO] mod_json_cdr.c:271 Process [060740d2-61b5-41e5-8e9d-9c60738c71d9.cdr.json]
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:09.770251 92.07% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:09.770251 92.07% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:46:09.770251 92.07% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 3 Tot 39)
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:46:09.770251 92.07% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 503 from the other leg
2022-04-21 06:46:09.770251 92.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:46:09.770251 92.07% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 3 Tot 39)
2022-04-21 06:46:09.770251 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:46:09.770251 92.07% [INFO] mod_json_cdr.c:271 Process [1793c3c1-8fc1-4b86-b29b-456c4d249a11.cdr.json]
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_session.c:1753 Session 39 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:46:09.790253 92.07% [NOTICE] switch_core_session.c:1771 Session 39 (sofia/default/918320547551) Ended
2022-04-21 06:46:09.790253 92.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 2 Tot 39)
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_session.c:1753 Session 38 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:46:09.790253 92.07% [NOTICE] switch_core_session.c:1771 Session 38 (sofia/default/918320547551) Ended
2022-04-21 06:46:09.790253 92.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 1 Tot 39)
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_session.c:1753 Session 37 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:46:09.790253 92.07% [NOTICE] switch_core_session.c:1771 Session 37 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:46:09.790253 92.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 0 Tot 39)
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:46:09.790253 92.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:46:09.990251 90.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:46:27.550280 92.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:46:31.550272 92.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [756eeee9-c902-4d18-9d7e-bf40d5247874]
2022-04-21 06:46:31.550272 92.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 40)
2022-04-21 06:46:31.550272 92.87% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:47367 version: 1.10.7 -release-19-883d2cb662 64bit call-id: IhpiyJEvFZqmo61OuRvYMQ..
2022-04-21 06:46:31.550272 92.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:46:31.550272 92.87% [DEBUG] sofia.c:2419 detaching session 756eeee9-c902-4d18-9d7e-bf40d5247874
2022-04-21 06:46:31.550272 92.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:46:31.550272 92.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:46:31.670272 92.87% [DEBUG] sofia.c:2532 Re-attaching to session 756eeee9-c902-4d18-9d7e-bf40d5247874
2022-04-21 06:46:31.690276 92.87% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:47367 version: 1.10.7 -release-19-883d2cb662 64bit call-id: IhpiyJEvFZqmo61OuRvYMQ..
2022-04-21 06:46:31.690276 92.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:46:31.690276 92.87% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:46:31.690276 92.87% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:46:31.690276 92.87% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299966688 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 59716 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:46:31.690276 92.87% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 40)
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:46:31.690276 92.87% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 40)
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:46:31.690276 92.87% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:46:31.690276 92.87% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:46:31.690276 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:46:31.710261 92.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:46:31.710261 92.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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:46:31.710261 92.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:46:31.710261 92.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 (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 98.5
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your98.5 balance Accountid 13 !!!
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 98.5 minutes
2022-04-21 06:46:31.710261 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:46:31.710261 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:46:31.730254 92.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 = 13 AND status=0 LIMIT 1
2022-04-21 06:46:31.730254 92.87% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 98.5
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+5910 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:46:31"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:46:31)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 40)
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+5910 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:46:31)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:46:31]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:46:31.730254 92.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [8c0833c5-b4bf-4c67-84d6-066d58ca2c7f]
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 2 Tot 41)
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:46:31.730254 92.87% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:46:31.730254 92.87% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650507189 1650507190 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 16402 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 2 Tot 41)
2022-04-21 06:46:31.730254 92.87% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:46:31.730254 92.87% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 41)
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:46:31.730254 92.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:46:31.930251 92.30% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:46:31.930251 92.30% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 41)
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:46:31.930251 92.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 41)
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:46:31.930251 92.30% [INFO] mod_json_cdr.c:271 Process [8c0833c5-b4bf-4c67-84d6-066d58ca2c7f.cdr.json]
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:31.930251 92.30% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:46:31.930251 92.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [c424455f-e168-4b3d-9364-3ad249cacc06]
2022-04-21 06:46:31.930251 92.30% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 3 Tot 42)
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:46:31.930251 92.30% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:46:31.930251 92.30% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:46:31.930251 92.30% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650495387 1650495388 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 28204 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 3 Tot 42)
2022-04-21 06:46:31.930251 92.30% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:46:31.930251 92.30% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:46:31.930251 92.30% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:46:31.930251 92.30% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 3 Tot 42)
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:46:31.930251 92.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 3 Tot 42)
2022-04-21 06:46:31.930251 92.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:46:31.930251 92.30% [INFO] mod_json_cdr.c:271 Process [c424455f-e168-4b3d-9364-3ad249cacc06.cdr.json]
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:31.950251 92.30% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:31.950251 92.30% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:46:31.950251 92.30% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 3 Tot 42)
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:46:31.950251 92.30% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 503 from the other leg
2022-04-21 06:46:31.950251 92.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:46:31.950251 92.30% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 3 Tot 42)
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:46:31.950251 92.30% [INFO] mod_json_cdr.c:271 Process [756eeee9-c902-4d18-9d7e-bf40d5247874.cdr.json]
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_session.c:1753 Session 42 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:46:31.950251 92.30% [NOTICE] switch_core_session.c:1771 Session 42 (sofia/default/918320547551) Ended
2022-04-21 06:46:31.950251 92.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 2 Tot 42)
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:46:31.950251 92.30% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_session.c:1753 Session 41 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:46:31.950251 92.30% [NOTICE] switch_core_session.c:1771 Session 41 (sofia/default/918320547551) Ended
2022-04-21 06:46:31.950251 92.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 1 Tot 42)
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:46:31.950251 92.30% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:46:31.950251 92.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:46:31.970250 92.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:46:31.970250 92.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:46:31.970250 92.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:31.970250 92.30% [DEBUG] switch_core_session.c:1753 Session 40 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:46:31.970250 92.30% [NOTICE] switch_core_session.c:1771 Session 40 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:46:31.970250 92.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:46:31.970250 92.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 0 Tot 42)
2022-04-21 06:46:31.970250 92.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:46:31.970250 92.30% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:46:31.970250 92.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:46:31.970250 92.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:46:32.150271 92.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:46:45.610276 96.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [e80bb841-c296-4bc9-a7ba-bbcffb50a3a7]
2022-04-21 06:46:45.610276 96.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 43)
2022-04-21 06:46:45.610276 96.73% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:42431 version: 1.10.7 -release-19-883d2cb662 64bit call-id: WFbItXmcX2IBuegfIFyrsw..
2022-04-21 06:46:45.610276 96.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:46:45.610276 96.73% [DEBUG] sofia.c:2419 detaching session e80bb841-c296-4bc9-a7ba-bbcffb50a3a7
2022-04-21 06:46:45.610276 96.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:46:45.610276 96.73% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:46:45.710279 96.73% [DEBUG] sofia.c:2532 Re-attaching to session e80bb841-c296-4bc9-a7ba-bbcffb50a3a7
2022-04-21 06:46:45.710279 96.73% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:42431 version: 1.10.7 -release-19-883d2cb662 64bit call-id: WFbItXmcX2IBuegfIFyrsw..
2022-04-21 06:46:45.710279 96.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:46:45.710279 96.73% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:46:45.710279 96.73% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:46:45.710279 96.73% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 299980764 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 59716 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:46:45.710279 96.73% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 43)
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:46:45.710279 96.73% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 43)
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:46:45.710279 96.73% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:46:45.710279 96.73% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:46:45.710279 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:46:45.730252 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:46:45.730252 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:46:45.730252 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:46:45.730252 96.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:46:45.730252 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:46:45.730252 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:46:45.730252 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:46:45.730252 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:46:45.730252 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:46:45.730252 96.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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:46:45.730252 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:46:45.730252 96.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:46:45.730252 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:46:45.730252 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:46:45.730252 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:46:45.750257 96.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 (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 98.5
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your98.5 balance Accountid 13 !!!
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 98.5 minutes
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:46:45.750257 96.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 = 13 AND status=0 LIMIT 1
2022-04-21 06:46:45.750257 96.73% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 98.5
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+5910 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:46:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:46:45)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 43)
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+5910 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:46:45)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:46:45]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:46:45.750257 96.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:46:45.750257 96.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:46:45.770248 96.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [5cff896d-2623-4792-b595-e37ddc1d096f]
2022-04-21 06:46:45.770248 96.73% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 2 Tot 44)
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:46:45.770248 96.73% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:46:45.770248 96.73% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:46:45.770248 96.73% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650498415 1650498416 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 25190 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 2 Tot 44)
2022-04-21 06:46:45.770248 96.73% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:46:45.770248 96.73% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 44)
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:46:45.770248 96.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:46:45.950252 96.17% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:46:45.950252 96.17% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:45.950252 96.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 44)
2022-04-21 06:46:45.950252 96.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:46:45.950252 96.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:46:45.950252 96.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:45.950252 96.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:45.950252 96.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:46:45.950252 96.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:45.950252 96.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 44)
2022-04-21 06:46:45.950252 96.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:46:45.950252 96.17% [INFO] mod_json_cdr.c:271 Process [5cff896d-2623-4792-b595-e37ddc1d096f.cdr.json]
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:45.970252 96.17% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:46:45.970252 96.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [13ef200c-8a3f-4e20-bc8c-421125f4297f]
2022-04-21 06:46:45.970252 96.17% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 3 Tot 45)
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:46:45.970252 96.17% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:46:45.970252 96.17% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:46:45.970252 96.17% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650499793 1650499794 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 23812 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 3 Tot 45)
2022-04-21 06:46:45.970252 96.17% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:46:45.970252 96.17% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:46:45.970252 96.17% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:46:45.970252 96.17% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 3 Tot 45)
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:46:45.970252 96.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 3 Tot 45)
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:46:45.970252 96.17% [INFO] mod_json_cdr.c:271 Process [13ef200c-8a3f-4e20-bc8c-421125f4297f.cdr.json]
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:46:45.970252 96.17% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:45.970252 96.17% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:46:45.970252 96.17% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 3 Tot 45)
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:46:45.970252 96.17% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 503 from the other leg
2022-04-21 06:46:45.970252 96.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:46:45.970252 96.17% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 3 Tot 45)
2022-04-21 06:46:45.970252 96.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:46:45.970252 96.17% [INFO] mod_json_cdr.c:271 Process [e80bb841-c296-4bc9-a7ba-bbcffb50a3a7.cdr.json]
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_session.c:1753 Session 45 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:46:45.990269 96.17% [NOTICE] switch_core_session.c:1771 Session 45 (sofia/default/918320547551) Ended
2022-04-21 06:46:45.990269 96.17% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 2 Tot 45)
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_session.c:1753 Session 44 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:46:45.990269 96.17% [NOTICE] switch_core_session.c:1771 Session 44 (sofia/default/918320547551) Ended
2022-04-21 06:46:45.990269 96.17% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 1 Tot 45)
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_session.c:1753 Session 43 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:46:45.990269 96.17% [NOTICE] switch_core_session.c:1771 Session 43 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:46:45.990269 96.17% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 0 Tot 45)
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:46:45.990269 96.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:46:46.150274 96.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:47:10.130261 95.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:47:19.730284 98.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [217cbfb2-a00e-4314-909d-2acc57286e5e]
2022-04-21 06:47:19.730284 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 46)
2022-04-21 06:47:19.730284 98.60% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:44155 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 8ci3XzNUzXrsdoJKTTINfw..
2022-04-21 06:47:19.730284 98.60% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:47:19.730284 98.60% [DEBUG] sofia.c:2419 detaching session 217cbfb2-a00e-4314-909d-2acc57286e5e
2022-04-21 06:47:19.730284 98.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:47:19.730284 98.60% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:47:19.850284 98.60% [DEBUG] sofia.c:2532 Re-attaching to session 217cbfb2-a00e-4314-909d-2acc57286e5e
2022-04-21 06:47:19.850284 98.60% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:44155 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 8ci3XzNUzXrsdoJKTTINfw..
2022-04-21 06:47:19.850284 98.60% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:47:19.870251 98.57% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:47:19.870251 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:47:19.870251 98.57% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 300014890 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 33318 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:47:19.870251 98.57% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 46)
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:47:19.870251 98.57% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 46)
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:47:19.870251 98.57% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:47:19.870251 98.57% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:47:19.870251 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:47:19.870251 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:47:19.870251 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:47:19.870251 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:47:19.870251 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:47:19.870251 98.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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:47:19.870251 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:47:19.870251 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:47:19.870251 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:47:19.870251 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:47:19.870251 98.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 (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 98.5
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your98.5 balance Accountid 13 !!!
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 98.5 minutes
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:47:19.890258 98.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 = 13 AND status=0 LIMIT 1
2022-04-21 06:47:19.890258 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 98.5
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+5910 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:47:19"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:47:19)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 46)
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+5910 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:47:19)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:47:19]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:47:19.890258 98.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [401a45e5-58c7-4575-9409-367910c7be79]
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 2 Tot 47)
2022-04-21 06:47:19.890258 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:47:19.890258 98.57% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:47:19.890258 98.57% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:47:19.890258 98.57% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650498699 1650498700 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 24940 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 2 Tot 47)
2022-04-21 06:47:19.910470 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:47:19.910470 98.57% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 47)
2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:47:19.910470 98.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:47:20.090251 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:47:20.090251 98.57% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:47:20.090251 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 47)
2022-04-21 06:47:20.090251 98.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:47:20.090251 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:47:20.090251 98.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:47:20.090251 98.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:47:20.090251 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:47:20.090251 98.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:47:20.090251 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 47)
2022-04-21 06:47:20.090251 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:47:20.090251 98.57% [INFO] mod_json_cdr.c:271 Process [401a45e5-58c7-4575-9409-367910c7be79.cdr.json]
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:47:20.110250 98.57% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:47:20.110250 98.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [768820d8-1e6c-4b00-b6b0-b428ecf51150]
2022-04-21 06:47:20.110250 98.57% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 3 Tot 48)
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:47:20.110250 98.57% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:47:20.110250 98.57% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:47:20.110250 98.57% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650493816 1650493817 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 29824 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 3 Tot 48)
2022-04-21 06:47:20.110250 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:47:20.110250 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:47:20.110250 98.57% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:47:20.110250 98.57% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 3 Tot 48)
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:47:20.110250 98.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 3 Tot 48)
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:47:20.110250 98.57% [INFO] mod_json_cdr.c:271 Process [768820d8-1e6c-4b00-b6b0-b428ecf51150.cdr.json]
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:47:20.110250 98.57% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:47:20.110250 98.57% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:47:20.110250 98.57% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 3 Tot 48)
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:47:20.110250 98.57% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 503 from the other leg
2022-04-21 06:47:20.110250 98.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:47:20.110250 98.57% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 3 Tot 48)
2022-04-21 06:47:20.110250 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:47:20.110250 98.57% [INFO] mod_json_cdr.c:271 Process [217cbfb2-a00e-4314-909d-2acc57286e5e.cdr.json]
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_session.c:1753 Session 48 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:47:20.130251 98.57% [NOTICE] switch_core_session.c:1771 Session 48 (sofia/default/918320547551) Ended
2022-04-21 06:47:20.130251 98.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 2 Tot 48)
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_session.c:1753 Session 47 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:47:20.130251 98.57% [NOTICE] switch_core_session.c:1771 Session 47 (sofia/default/918320547551) Ended
2022-04-21 06:47:20.130251 98.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 1 Tot 48)
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_session.c:1753 Session 46 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:47:20.130251 98.57% [NOTICE] switch_core_session.c:1771 Session 46 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:47:20.130251 98.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 0 Tot 48)
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:47:20.130251 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:47:20.290250 98.57% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
freeswitch@ip-172-31-39-151> reload mod_sofia
+OK Reloading XML
+OK module unloaded
+OK module loaded

2022-04-21 06:47:29.930270 95.93% [INFO] switch_stun.c:897 External ip address detected using STUN: 65.1.109.62
2022-04-21 06:47:30.190288 95.93% [INFO] switch_stun.c:897 External ip address detected using STUN: 65.1.109.62
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'sofia' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'sofia'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'rtp' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'rtp'
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_sla'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_sla' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_stir_shaken_vs'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_stir_shaken_vs' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_gateway_data'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_gateway_data' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_username_of'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_username_of' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_contact'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_contact' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_count_reg'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_count_reg' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_dig'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_dig' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_presence_data'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_presence_data' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status.info'
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status.info' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_loadable_module.c:1535 Write lock interface 'sip' to wait for existing references.
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1544 Deleting Chat interface 'sip'
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_loadable_module.c:1586 Deleting Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
2022-04-21 06:47:30.330244 95.93% [CONSOLE] switch_loadable_module.c:2349 Stopping: mod_sofia
2022-04-21 06:47:30.330244 95.93% [INFO] switch_time.c:1430 Timezone reloaded 1750 definitions
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_refer
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_watched_header
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::unregister
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::profile_start
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::reinvite
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::replaced
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferor
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferee
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::error
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::intercepted
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_state
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::sip_user_state
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_delete
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::expire
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_attempt
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_failure
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::pre_register
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_add
2022-04-21 06:47:30.330244 95.93% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::bye_response
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_IN
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_OUT
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_PROBE
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:MESSAGE_WAITING
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:ROSTER
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CONFERENCE_DATA
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:TRAP
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:NOTIFY
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PHONE_FEATURE
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_MESSAGE
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_INFO
2022-04-21 06:47:30.330244 95.93% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CUSTOM
2022-04-21 06:47:30.330244 95.93% [CONSOLE] sofia_presence.c:1664 Event Thread Ended
2022-04-21 06:47:30.530276 95.93% [DEBUG] sofia_reg.c:324 Removing gateway default::jioGateway from hash.
2022-04-21 06:47:30.530276 95.93% [NOTICE] sofia_reg.c:338 Deleted gateway jioGateway
2022-04-21 06:47:30.530276 95.93% [DEBUG] sofia_reg.c:324 Removing gateway default::testGW from hash.
2022-04-21 06:47:30.530276 95.93% [NOTICE] sofia_reg.c:338 Deleted gateway testGW
2022-04-21 06:47:30.530276 95.93% [DEBUG] sofia_reg.c:324 Removing gateway default::YourProvider from hash.
2022-04-21 06:47:30.530276 95.93% [NOTICE] sofia_reg.c:338 Deleted gateway YourProvider
2022-04-21 06:47:30.530276 95.93% [NOTICE] sofia.c:3504 Waiting for worker thread
2022-04-21 06:47:30.530276 95.93% [INFO] switch_core_sqldb.c:1876 sofia:default Destroying SQL queue.
2022-04-21 06:47:30.730285 95.93% [INFO] switch_core_sqldb.c:1827 sofia:default Stopping SQL thread.
2022-04-21 06:47:30.730285 95.93% [DEBUG] sofia.c:3576 Write lock default
2022-04-21 06:47:30.730285 95.93% [DEBUG] sofia.c:3589 Write unlock default
2022-04-21 06:47:30.730285 95.93% [WARNING] sofia.c:2308 MSG Thread Ended
2022-04-21 06:47:30.730285 95.93% [CONSOLE] switch_loadable_module.c:2369 mod_sofia unloaded.
2022-04-21 06:47:30.750254 95.93% [INFO] mod_sofia.c:6682 Starting initial message thread.
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 sip-ip [172.31.39.151]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 sip-port [5060]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 rtp-ip [172.31.39.151]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 dialplan [XML]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 debug [0]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 sip-trace [no]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 tls [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 inbound-reg-force-matching-username [true]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 disable-transcoding [true]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 all-reg-options-ping [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 unregister-on-options-fail [true]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 log-auth-failures [true]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 status [0]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 inbound-bypass-media [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 inbound-proxy-media [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 disable-transfer [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 enable-100rel [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 rtp-timeout-sec [300]
2022-04-21 06:47:30.770249 95.93% [WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 dtmf-duration [2000]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 manual-redirect [true]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 aggressive-nat-detection [true]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 enable-timer [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 minimum-session-expires [120]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 session-timeout-pt [1800]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 auth-calls [true]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 apply-inbound-acl [default]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 inbound-codec-prefs [PCMA,PCMU]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 outbound-codec-prefs [PCMA,PCMU]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 inbound-late-negotiation [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 sip-capture [no]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 forward-unsolicited-mwi-notify [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 context [default]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 rfc2833-pt [101]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 rtp-timer-name [soft]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 hold-music [local_stream://moh]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 manage-presence [true]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 presence-hosts [172.31.39.151,172.31.39.151]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 presence-privacy [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 inbound-codec-negotiation [generous]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 auth-all-packets [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 ext-rtp-ip [172.31.39.151]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 ext-sip-ip [172.31.39.151]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 rtp-hold-timeout-sec [1800]
2022-04-21 06:47:30.770249 95.93% [WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 force-register-domain [172.31.39.151]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 force-subscription-domain [172.31.39.151]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 force-register-db-domain [172.31.39.151]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 challenge-realm [auto_from]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 nonce-ttl [60]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 pass-callee-id [false]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 dtmf_type [rfc2833]
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:4720 user-agent-string [ASTPP]
2022-04-21 06:47:30.770249 95.93% [INFO] sofia.c:6189 Setting MAX Auth Validity to 0 Attempts
2022-04-21 06:47:30.770249 95.93% [NOTICE] sofia.c:6356 Started Profile default [sofia_reg_default]
2022-04-21 06:47:30.770249 95.93% [DEBUG] mod_sofia.c:6698 Waiting for profiles to start
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:3156 Creating agent for default
2022-04-21 06:47:30.770249 95.93% [WARNING] sofia.c:2290 MSG Thread 0 Started
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:3319 Created agent for default
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:3369 Set params for default
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:3416 Activated db for default
2022-04-21 06:47:30.770249 95.93% [INFO] switch_core_sqldb.c:1842 sofia:default Starting SQL thread.
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:3454 Starting thread for default
2022-04-21 06:47:30.770249 95.93% [DEBUG] sofia.c:3046 Launching worker thread for default
2022-04-21 06:47:30.790254 95.93% [NOTICE] sofia_reg.c:3735 Added gateway 'YourProvider' to profile 'default'
2022-04-21 06:47:30.790254 95.93% [NOTICE] sofia_reg.c:3735 Added gateway 'jioGateway' to profile 'default'
2022-04-21 06:47:30.790254 95.93% [NOTICE] sofia_reg.c:3735 Added gateway 'testGW' to profile 'default'
2022-04-21 06:47:31.890273 95.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1913651537@65.1.109.62] from ip 157.32.81.86
2022-04-21 06:47:31.890273 95.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:47:32.190269 95.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:47:32.210273 95.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1913651537@65.1.109.62] from ip 157.32.81.86
2022-04-21 06:47:32.270258 95.20% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_sofia]
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'sofia'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'rtp'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_sla'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_stir_shaken_vs'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_gateway_data'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_username_of'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_contact'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_count_reg'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_dig'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_presence_data'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status.info'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:621 Adding Chat interface 'sip'
2022-04-21 06:47:32.270258 95.20% [NOTICE] switch_loadable_module.c:681 Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
2022-04-21 06:47:32.270258 95.20% [CONSOLE] sofia_presence.c:1620 Event Thread Started
2022-04-21 06:47:53.550276 98.43% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [ec57a408-9d6c-4296-960c-834b975b2bec]
2022-04-21 06:47:53.550276 98.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 49)
2022-04-21 06:47:53.550276 98.43% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:38413 version: 1.10.7 -release-19-883d2cb662 64bit call-id: m9bJEa-uQvjicP9fBqpjfA..
2022-04-21 06:47:53.550276 98.43% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:47:53.550276 98.43% [DEBUG] sofia.c:2419 detaching session ec57a408-9d6c-4296-960c-834b975b2bec
2022-04-21 06:47:53.550276 98.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:47:53.550276 98.43% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:47:53.690280 98.43% [DEBUG] sofia.c:2532 Re-attaching to session ec57a408-9d6c-4296-960c-834b975b2bec
2022-04-21 06:47:53.690280 98.43% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:38413 version: 1.10.7 -release-19-883d2cb662 64bit call-id: m9bJEa-uQvjicP9fBqpjfA..
2022-04-21 06:47:53.690280 98.43% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:47:53.690280 98.43% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:47:53.690280 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:47:53.690280 98.43% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 300048693 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 33318 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:47:53.690280 98.43% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 49)
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:47:53.690280 98.43% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:47:53.690280 98.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 49)
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:47:53.710257 98.43% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:47:53.710257 98.43% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:47:53.710257 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:47:53.710257 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:47:53.710257 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:47:53.710257 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:47:53.710257 98.43% [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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:47:53.710257 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:47:53.710257 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:47:53.710257 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 98.5
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your98.5 balance Accountid 13 !!!
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 98.5 minutes
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
2022-04-21 06:47:53.730254 98.43% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 98.5
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+5910 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:47:53"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:47:53)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 49)
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+5910 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:47:53)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:47:53]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:47:53.730254 98.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:47:53.730254 98.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:47:53.750279 98.43% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [4dab49e2-0196-4992-abf9-79f664fd4b68]
2022-04-21 06:47:53.750279 98.43% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 2 Tot 50)
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:47:53.750279 98.43% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:47:53.750279 98.43% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:47:53.750279 98.43% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650506025 1650506026 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 17648 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 2 Tot 50)
2022-04-21 06:47:53.750279 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:47:53.750279 98.43% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 50)
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:47:53.750279 98.43% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:47:53.930251 97.80% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][403]
2022-04-21 06:47:53.930251 97.80% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [CALL_REJECTED]
2022-04-21 06:47:53.930251 97.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 50)
2022-04-21 06:47:53.930251 97.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:47:53.930251 97.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:47:53.930251 97.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: CALL_REJECTED
2022-04-21 06:47:53.930251 97.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: CALL_REJECTED
2022-04-21 06:47:53.930251 97.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:47:53.930251 97.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:47:53.930251 97.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 50)
2022-04-21 06:47:53.930251 97.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:47:53.930251 97.80% [INFO] mod_json_cdr.c:271 Process [4dab49e2-0196-4992-abf9-79f664fd4b68.cdr.json]
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
2022-04-21 06:47:53.950246 97.80% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: CALL_REJECTED
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:47:53.950246 97.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [956d248b-209e-434e-b35f-82dc179a25c5]
2022-04-21 06:47:53.950246 97.80% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 3 Tot 51)
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:47:53.950246 97.80% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:47:53.950246 97.80% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:47:53.950246 97.80% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650495933 1650495934 IN IP4 172.31.39.151
s=FreeSWITCH
c=IN IP4 172.31.39.151
t=0 0
m=audio 27740 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 3 Tot 51)
2022-04-21 06:47:53.950246 97.80% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:47:53.950246 97.80% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 51)
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: CALL_REJECTED
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_session.c:1753 Session 50 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:47:53.950246 97.80% [NOTICE] switch_core_session.c:1771 Session 50 (sofia/default/918320547551) Ended
2022-04-21 06:47:53.950246 97.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 2 Tot 51)
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:47:53.950246 97.80% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:47:53.950246 97.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:48:53.010281 98.90% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NO_ANSWER]
2022-04-21 06:48:53.010281 98.90% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NO_ANSWER
2022-04-21 06:48:53.010281 98.90% [NOTICE] switch_core_state_machine.c:382 sofia/default/6704159325@65.1.109.62 has executed the last dialplan instruction, hanging up.
2022-04-21 06:48:53.010281 98.90% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/6704159325@65.1.109.62 [CS_EXECUTE] [NORMAL_CLEARING]
2022-04-21 06:48:53.010281 98.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE going to sleep
2022-04-21 06:48:53.010281 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_HANGUP (Cur 2 Tot 51)
2022-04-21 06:48:53.010281 98.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6704159325@65.1.109.62) Callstate Change RINGING -> HANGUP
2022-04-21 06:48:53.010281 98.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP
2022-04-21 06:48:53.010281 98.90% [DEBUG] mod_sofia.c:462 sofia/default/6704159325@65.1.109.62 Overriding SIP cause 480 with 403 from the other leg
2022-04-21 06:48:53.010281 98.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/6704159325@65.1.109.62 hanging up, cause: NORMAL_CLEARING
2022-04-21 06:48:53.010281 98.90% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 403
2022-04-21 06:48:53.010281 98.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/6704159325@65.1.109.62 Standard HANGUP, cause: NORMAL_CLEARING
2022-04-21 06:48:53.010281 98.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6704159325@65.1.109.62) State HANGUP going to sleep
2022-04-21 06:48:53.010281 98.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6704159325@65.1.109.62) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_REPORTING (Cur 2 Tot 51)
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING
2022-04-21 06:48:53.030251 98.90% [INFO] mod_json_cdr.c:271 Process [ec57a408-9d6c-4296-960c-834b975b2bec.cdr.json]
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 51)
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:48:53.030251 98.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NO_ANSWER
2022-04-21 06:48:53.030251 98.90% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/918320547551
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NO_ANSWER
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 51)
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:48:53.030251 98.90% [INFO] mod_json_cdr.c:271 Process [956d248b-209e-434e-b35f-82dc179a25c5.cdr.json]
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NO_ANSWER
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_session.c:1753 Session 51 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:48:53.030251 98.90% [NOTICE] switch_core_session.c:1771 Session 51 (sofia/default/918320547551) Ended
2022-04-21 06:48:53.030251 98.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 1 Tot 51)
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:48:53.030251 98.90% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:48:53.030251 98.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:48:53.050257 98.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/6704159325@65.1.109.62 Standard REPORTING, cause: NORMAL_CLEARING
2022-04-21 06:48:53.050257 98.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6704159325@65.1.109.62) State REPORTING going to sleep
2022-04-21 06:48:53.050257 98.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6704159325@65.1.109.62) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:48:53.050257 98.90% [DEBUG] switch_core_session.c:1753 Session 49 (sofia/default/6704159325@65.1.109.62) Locked, Waiting on external entities
2022-04-21 06:48:53.050257 98.90% [NOTICE] switch_core_session.c:1771 Session 49 (sofia/default/6704159325@65.1.109.62) Ended
2022-04-21 06:48:53.050257 98.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6704159325@65.1.109.62 [CS_DESTROY]
2022-04-21 06:48:53.050257 98.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6704159325@65.1.109.62) Running State Change CS_DESTROY (Cur 0 Tot 51)
2022-04-21 06:48:53.050257 98.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY
2022-04-21 06:48:53.050257 98.90% [DEBUG] mod_sofia.c:379 sofia/default/6704159325@65.1.109.62 SOFIA DESTROY
2022-04-21 06:48:53.050257 98.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/6704159325@65.1.109.62 Standard DESTROY
2022-04-21 06:48:53.050257 98.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6704159325@65.1.109.62) State DESTROY going to sleep
2022-04-21 06:51:45.170254 98.07% [INFO] switch_stun.c:897 External ip address detected using STUN: 65.1.109.62
2022-04-21 06:51:45.430262 98.07% [INFO] switch_stun.c:897 External ip address detected using STUN: 65.1.109.62
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'sofia' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'sofia'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'rtp' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'rtp'
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_sla'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_sla' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_stir_shaken_vs'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_stir_shaken_vs' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_gateway_data'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_gateway_data' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_username_of'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_username_of' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_contact'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_contact' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_count_reg'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_count_reg' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_dig'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_dig' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_presence_data'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_presence_data' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status.info'
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status.info' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_loadable_module.c:1535 Write lock interface 'sip' to wait for existing references.
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1544 Deleting Chat interface 'sip'
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_loadable_module.c:1586 Deleting Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
2022-04-21 06:51:45.550250 98.07% [CONSOLE] switch_loadable_module.c:2349 Stopping: mod_sofia
2022-04-21 06:51:45.550250 98.07% [INFO] switch_time.c:1430 Timezone reloaded 1750 definitions
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_refer
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_watched_header
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::unregister
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::profile_start
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::reinvite
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::replaced
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferor
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferee
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::error
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::intercepted
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_state
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::sip_user_state
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_delete
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::expire
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_attempt
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_failure
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::pre_register
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_add
2022-04-21 06:51:45.550250 98.07% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::bye_response
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_IN
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_OUT
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_PROBE
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:MESSAGE_WAITING
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:ROSTER
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CONFERENCE_DATA
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:TRAP
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:NOTIFY
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PHONE_FEATURE
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_MESSAGE
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_INFO
2022-04-21 06:51:45.550250 98.07% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CUSTOM
2022-04-21 06:51:45.550250 98.07% [CONSOLE] sofia_presence.c:1664 Event Thread Ended
2022-04-21 06:51:46.030263 97.13% [DEBUG] sofia_reg.c:324 Removing gateway default::testGW from hash.
2022-04-21 06:51:46.030263 97.13% [NOTICE] sofia_reg.c:338 Deleted gateway testGW
2022-04-21 06:51:46.030263 97.13% [DEBUG] sofia_reg.c:324 Removing gateway default::jioGateway from hash.
2022-04-21 06:51:46.030263 97.13% [NOTICE] sofia_reg.c:338 Deleted gateway jioGateway
2022-04-21 06:51:46.030263 97.13% [DEBUG] sofia_reg.c:324 Removing gateway default::YourProvider from hash.
2022-04-21 06:51:46.030263 97.13% [NOTICE] sofia_reg.c:338 Deleted gateway YourProvider
2022-04-21 06:51:46.030263 97.13% [NOTICE] sofia.c:3504 Waiting for worker thread
2022-04-21 06:51:46.030263 97.13% [INFO] switch_core_sqldb.c:1876 sofia:default Destroying SQL queue.
2022-04-21 06:51:46.230296 97.13% [INFO] switch_core_sqldb.c:1827 sofia:default Stopping SQL thread.
2022-04-21 06:51:46.230296 97.13% [DEBUG] sofia.c:3576 Write lock default
2022-04-21 06:51:46.230296 97.13% [DEBUG] sofia.c:3589 Write unlock default
2022-04-21 06:51:46.230296 97.13% [WARNING] sofia.c:2308 MSG Thread Ended
2022-04-21 06:51:46.230296 97.13% [CONSOLE] switch_loadable_module.c:2369 mod_sofia unloaded.
2022-04-21 06:51:46.230296 97.13% [INFO] mod_sofia.c:6682 Starting initial message thread.
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 sip-ip [65.1.109.62]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 sip-port [5060]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 rtp-ip [172.31.39.151]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 dialplan [XML]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 debug [0]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 sip-trace [no]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 tls [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 inbound-reg-force-matching-username [true]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 disable-transcoding [true]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 all-reg-options-ping [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 unregister-on-options-fail [true]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 log-auth-failures [true]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 status [0]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 inbound-bypass-media [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 inbound-proxy-media [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 disable-transfer [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 enable-100rel [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 rtp-timeout-sec [300]
2022-04-21 06:51:46.250245 97.13% [WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 dtmf-duration [2000]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 manual-redirect [true]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 aggressive-nat-detection [true]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 enable-timer [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 minimum-session-expires [120]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 session-timeout-pt [1800]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 auth-calls [true]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 apply-inbound-acl [default]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 inbound-codec-prefs [PCMA,PCMU]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 outbound-codec-prefs [PCMA,PCMU]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 inbound-late-negotiation [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 sip-capture [no]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 forward-unsolicited-mwi-notify [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 context [default]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 rfc2833-pt [101]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 rtp-timer-name [soft]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 hold-music [local_stream://moh]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 manage-presence [true]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 presence-hosts [172.31.39.151,172.31.39.151]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 presence-privacy [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 inbound-codec-negotiation [generous]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 auth-all-packets [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 ext-rtp-ip [65.1.109.62]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 ext-sip-ip [65.1.109.62]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 rtp-hold-timeout-sec [1800]
2022-04-21 06:51:46.250245 97.13% [WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 force-register-domain [172.31.39.151]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 force-subscription-domain [172.31.39.151]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 force-register-db-domain [172.31.39.151]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 challenge-realm [auto_from]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 nonce-ttl [60]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 pass-callee-id [false]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 dtmf_type [rfc2833]
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:4720 user-agent-string [ASTPP]
2022-04-21 06:51:46.250245 97.13% [INFO] sofia.c:6189 Setting MAX Auth Validity to 0 Attempts
2022-04-21 06:51:46.250245 97.13% [NOTICE] sofia.c:6356 Started Profile default [sofia_reg_default]
2022-04-21 06:51:46.250245 97.13% [DEBUG] mod_sofia.c:6698 Waiting for profiles to start
2022-04-21 06:51:46.250245 97.13% [DEBUG] sofia.c:3156 Creating agent for default
2022-04-21 06:51:46.250245 97.13% [WARNING] sofia.c:2290 MSG Thread 0 Started
2022-04-21 06:51:46.250245 97.13% [ERR] sofia.c:3296 Error Creating SIP UA for profile: default (sip:mod_sofia@65.1.109.62:5060;maddr=65.1.109.62;transport=udp,tcp) ATTEMPT 1 (RETRY IN 5 SEC)
2022-04-21 06:51:47.750279 96.80% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_sofia]
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'sofia'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'rtp'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_sla'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_stir_shaken_vs'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_gateway_data'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_username_of'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_contact'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_count_reg'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_dig'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_presence_data'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status.info'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:621 Adding Chat interface 'sip'
2022-04-21 06:51:47.750279 96.80% [NOTICE] switch_loadable_module.c:681 Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
2022-04-21 06:51:51.250280 95.67% [ERR] sofia.c:3296 Error Creating SIP UA for profile: default (sip:mod_sofia@65.1.109.62:5060;maddr=65.1.109.62;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2022-04-21 06:51:56.250297 95.63% [ERR] sofia.c:3296 Error Creating SIP UA for profile: default (sip:mod_sofia@65.1.109.62:5060;maddr=65.1.109.62;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2022-04-21 06:51:56.250297 95.63% [ERR] sofia.c:3307 Error Creating SIP UA for profile: default (sip:mod_sofia@65.1.109.62:5060;maddr=65.1.109.62;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.
2022-04-21 06:51:56.250297 95.63% [DEBUG] sofia.c:3576 Write lock default
2022-04-21 06:51:56.250297 95.63% [DEBUG] sofia.c:3589 Write unlock default
2022-04-21 06:52:26.390250 94.27% [INFO] switch_stun.c:897 External ip address detected using STUN: 65.1.109.62
2022-04-21 06:52:26.650326 94.27% [INFO] switch_stun.c:897 External ip address detected using STUN: 65.1.109.62
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'sofia' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'sofia'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'rtp' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'rtp'
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_sla'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_sla' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_stir_shaken_vs'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_stir_shaken_vs' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_gateway_data'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_gateway_data' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_username_of'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_username_of' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_contact'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_contact' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_count_reg'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_count_reg' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_dig'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_dig' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_presence_data'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_presence_data' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status.info'
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status.info' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_loadable_module.c:1535 Write lock interface 'sip' to wait for existing references.
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1544 Deleting Chat interface 'sip'
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_loadable_module.c:1586 Deleting Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
2022-04-21 06:52:26.710256 94.27% [CONSOLE] switch_loadable_module.c:2349 Stopping: mod_sofia
2022-04-21 06:52:26.710256 94.27% [INFO] switch_time.c:1430 Timezone reloaded 1750 definitions
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_refer
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_watched_header
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::unregister
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::profile_start
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::reinvite
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::replaced
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferor
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferee
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::error
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::intercepted
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_state
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::sip_user_state
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_delete
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::expire
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_attempt
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_failure
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::pre_register
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_add
2022-04-21 06:52:26.710256 94.27% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::bye_response
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_IN
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_OUT
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_PROBE
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:MESSAGE_WAITING
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:ROSTER
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CONFERENCE_DATA
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:TRAP
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:NOTIFY
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PHONE_FEATURE
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_MESSAGE
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_INFO
2022-04-21 06:52:26.710256 94.27% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CUSTOM
2022-04-21 06:52:26.710256 94.27% [WARNING] sofia.c:2308 MSG Thread Ended
2022-04-21 06:52:26.710256 94.27% [CONSOLE] switch_loadable_module.c:2369 mod_sofia unloaded.
2022-04-21 06:52:26.710256 94.27% [INFO] mod_sofia.c:6682 Starting initial message thread.
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 sip-ip [172.31.39.151]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 sip-port [5060]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 rtp-ip [172.31.39.151]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 dialplan [XML]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 debug [0]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 sip-trace [no]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 tls [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 inbound-reg-force-matching-username [true]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 disable-transcoding [true]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 all-reg-options-ping [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 unregister-on-options-fail [true]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 log-auth-failures [true]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 status [0]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 inbound-bypass-media [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 inbound-proxy-media [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 disable-transfer [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 enable-100rel [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 rtp-timeout-sec [300]
2022-04-21 06:52:26.730296 94.27% [WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 dtmf-duration [2000]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 manual-redirect [true]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 aggressive-nat-detection [true]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 enable-timer [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 minimum-session-expires [120]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 session-timeout-pt [1800]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 auth-calls [true]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 apply-inbound-acl [default]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 inbound-codec-prefs [PCMA,PCMU]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 outbound-codec-prefs [PCMA,PCMU]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 inbound-late-negotiation [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 sip-capture [no]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 forward-unsolicited-mwi-notify [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 context [default]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 rfc2833-pt [101]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 rtp-timer-name [soft]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 hold-music [local_stream://moh]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 manage-presence [true]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 presence-hosts [172.31.39.151,172.31.39.151]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 presence-privacy [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 inbound-codec-negotiation [generous]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 auth-all-packets [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 ext-rtp-ip [65.1.109.62]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 ext-sip-ip [65.1.109.62]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 rtp-hold-timeout-sec [1800]
2022-04-21 06:52:26.730296 94.27% [WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 force-register-domain [172.31.39.151]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 force-subscription-domain [172.31.39.151]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 force-register-db-domain [172.31.39.151]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 challenge-realm [auto_from]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 nonce-ttl [60]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 pass-callee-id [false]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 dtmf_type [rfc2833]
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:4720 user-agent-string [ASTPP]
2022-04-21 06:52:26.730296 94.27% [INFO] sofia.c:6189 Setting MAX Auth Validity to 0 Attempts
2022-04-21 06:52:26.730296 94.27% [NOTICE] sofia.c:6356 Started Profile default [sofia_reg_default]
2022-04-21 06:52:26.730296 94.27% [DEBUG] mod_sofia.c:6698 Waiting for profiles to start
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:3156 Creating agent for default
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:3319 Created agent for default
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:3369 Set params for default
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:3416 Activated db for default
2022-04-21 06:52:26.730296 94.27% [INFO] switch_core_sqldb.c:1842 sofia:default Starting SQL thread.
2022-04-21 06:52:26.730296 94.27% [WARNING] sofia.c:2290 MSG Thread 0 Started
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:3454 Starting thread for default
2022-04-21 06:52:26.730296 94.27% [DEBUG] sofia.c:3046 Launching worker thread for default
2022-04-21 06:52:26.730296 94.27% [NOTICE] sofia_reg.c:3735 Added gateway 'YourProvider' to profile 'default'
2022-04-21 06:52:26.730296 94.27% [NOTICE] sofia_reg.c:3735 Added gateway 'jioGateway' to profile 'default'
2022-04-21 06:52:26.730296 94.27% [NOTICE] sofia_reg.c:3735 Added gateway 'testGW' to profile 'default'
2022-04-21 06:52:28.230279 93.27% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_sofia]
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'sofia'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'rtp'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_sla'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_stir_shaken_vs'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_gateway_data'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_username_of'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_contact'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_count_reg'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_dig'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_presence_data'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status.info'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:621 Adding Chat interface 'sip'
2022-04-21 06:52:28.230279 93.27% [NOTICE] switch_loadable_module.c:681 Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
freeswitch@ip-172-31-39-151> reload mod_sofia
+OK Reloading XML
+OK module unloaded
+OK module loaded

2022-04-21 06:52:36.670271 92.07% [INFO] switch_stun.c:897 External ip address detected using STUN: 65.1.109.62
2022-04-21 06:52:36.930283 92.03% [INFO] switch_stun.c:897 External ip address detected using STUN: 65.1.109.62
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'sofia' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'sofia'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1115 Write lock interface 'rtp' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1123 Deleting Endpoint 'rtp'
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_sla'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_sla' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1228 Deleting Application 'sofia_stir_shaken_vs'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1230 Write lock interface 'sofia_stir_shaken_vs' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_gateway_data'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_gateway_data' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_username_of'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_username_of' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_contact'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_contact' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_count_reg'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_count_reg' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_dig'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_dig' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1283 Deleting API Function 'sofia_presence_data'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1285 Write lock interface 'sofia_presence_data' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1315 Deleting API Function 'sofia.status.info'
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1317 Write lock interface 'sofia.status.info' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_loadable_module.c:1535 Write lock interface 'sip' to wait for existing references.
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1544 Deleting Chat interface 'sip'
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_loadable_module.c:1586 Deleting Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
2022-04-21 06:52:36.990256 92.03% [CONSOLE] switch_loadable_module.c:2349 Stopping: mod_sofia
2022-04-21 06:52:36.990256 92.03% [INFO] switch_time.c:1430 Timezone reloaded 1750 definitions
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_refer
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::notify_watched_header
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::unregister
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::profile_start
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::reinvite
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::replaced
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferor
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::transferee
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::error
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::intercepted
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_state
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::sip_user_state
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_delete
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::expire
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_attempt
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register_failure
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::pre_register
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::register
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::gateway_add
2022-04-21 06:52:36.990256 92.03% [NOTICE] switch_event.c:467 Subclass reservation deleted for mod_sofia.c:sofia::bye_response
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_IN
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_OUT
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PRESENCE_PROBE
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:MESSAGE_WAITING
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:ROSTER
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CONFERENCE_DATA
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:TRAP
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:NOTIFY
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:PHONE_FEATURE
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_MESSAGE
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:SEND_INFO
2022-04-21 06:52:36.990256 92.03% [DEBUG] switch_event.c:2138 Event Binding deleted for mod_sofia:CUSTOM
2022-04-21 06:52:37.850278 92.03% [DEBUG] sofia_reg.c:324 Removing gateway default::testGW from hash.
2022-04-21 06:52:37.850278 92.03% [NOTICE] sofia_reg.c:338 Deleted gateway testGW
2022-04-21 06:52:37.850278 92.03% [DEBUG] sofia_reg.c:324 Removing gateway default::jioGateway from hash.
2022-04-21 06:52:37.850278 92.03% [NOTICE] sofia_reg.c:338 Deleted gateway jioGateway
2022-04-21 06:52:37.850278 92.03% [DEBUG] sofia_reg.c:324 Removing gateway default::YourProvider from hash.
2022-04-21 06:52:37.850278 92.03% [NOTICE] sofia_reg.c:338 Deleted gateway YourProvider
2022-04-21 06:52:37.850278 92.03% [NOTICE] sofia.c:3504 Waiting for worker thread
2022-04-21 06:52:37.850278 92.03% [INFO] switch_core_sqldb.c:1876 sofia:default Destroying SQL queue.
2022-04-21 06:52:38.050258 91.60% [INFO] switch_core_sqldb.c:1827 sofia:default Stopping SQL thread.
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:3576 Write lock default
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:3589 Write unlock default
2022-04-21 06:52:38.050258 91.60% [WARNING] sofia.c:2308 MSG Thread Ended
2022-04-21 06:52:38.050258 91.60% [CONSOLE] switch_loadable_module.c:2369 mod_sofia unloaded.
2022-04-21 06:52:38.050258 91.60% [INFO] mod_sofia.c:6682 Starting initial message thread.
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 sip-ip [172.31.39.151]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 sip-port [5060]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 rtp-ip [172.31.39.151]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 dialplan [XML]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 debug [0]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 sip-trace [no]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 tls [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 inbound-reg-force-matching-username [true]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 disable-transcoding [true]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 all-reg-options-ping [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 unregister-on-options-fail [true]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 log-auth-failures [true]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 status [0]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 inbound-bypass-media [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 inbound-proxy-media [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 disable-transfer [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 enable-100rel [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 rtp-timeout-sec [300]
2022-04-21 06:52:38.050258 91.60% [WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 dtmf-duration [2000]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 manual-redirect [true]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 aggressive-nat-detection [true]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 enable-timer [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 minimum-session-expires [120]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 session-timeout-pt [1800]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 auth-calls [true]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 apply-inbound-acl [default]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 inbound-codec-prefs [PCMA,PCMU]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 outbound-codec-prefs [PCMA,PCMU]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 inbound-late-negotiation [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 sip-capture [no]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 forward-unsolicited-mwi-notify [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 context [default]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 rfc2833-pt [101]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 rtp-timer-name [soft]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 hold-music [local_stream://moh]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 manage-presence [true]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 presence-hosts [172.31.39.151,172.31.39.151]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 presence-privacy [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 inbound-codec-negotiation [generous]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 auth-all-packets [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 ext-rtp-ip [65.1.109.62]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 ext-sip-ip [65.1.109.62]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 rtp-hold-timeout-sec [1800]
2022-04-21 06:52:38.050258 91.60% [WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 force-register-domain [172.31.39.151]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 force-subscription-domain [172.31.39.151]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 force-register-db-domain [172.31.39.151]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 challenge-realm [auto_from]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 nonce-ttl [60]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 pass-callee-id [false]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 dtmf_type [rfc2833]
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:4720 user-agent-string [ASTPP]
2022-04-21 06:52:38.050258 91.60% [INFO] sofia.c:6189 Setting MAX Auth Validity to 0 Attempts
2022-04-21 06:52:38.050258 91.60% [NOTICE] sofia.c:6356 Started Profile default [sofia_reg_default]
2022-04-21 06:52:38.050258 91.60% [DEBUG] mod_sofia.c:6698 Waiting for profiles to start
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:3156 Creating agent for default
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:3319 Created agent for default
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:3369 Set params for default
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:3416 Activated db for default
2022-04-21 06:52:38.050258 91.60% [INFO] switch_core_sqldb.c:1842 sofia:default Starting SQL thread.
2022-04-21 06:52:38.050258 91.60% [WARNING] sofia.c:2290 MSG Thread 0 Started
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:3454 Starting thread for default
2022-04-21 06:52:38.050258 91.60% [DEBUG] sofia.c:3046 Launching worker thread for default
2022-04-21 06:52:38.070253 91.60% [NOTICE] sofia_reg.c:3735 Added gateway 'YourProvider' to profile 'default'
2022-04-21 06:52:38.070253 91.60% [NOTICE] sofia_reg.c:3735 Added gateway 'jioGateway' to profile 'default'
2022-04-21 06:52:38.070253 91.60% [NOTICE] sofia_reg.c:3735 Added gateway 'testGW' to profile 'default'
2022-04-21 06:52:39.550261 91.67% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_sofia]
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'sofia'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:172 Adding Endpoint 'rtp'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_sla'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:329 Adding Application 'sofia_stir_shaken_vs'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_gateway_data'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_username_of'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_contact'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_count_reg'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_dig'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:389 Adding API Function 'sofia_presence_data'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:419 Adding JSON API Function 'sofia.status.info'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:621 Adding Chat interface 'sip'
2022-04-21 06:52:39.550261 91.67% [NOTICE] switch_loadable_module.c:681 Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
2022-04-21 06:52:41.150320 92.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6704159325@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:52:41.330295 92.50% [CONSOLE] sofia_presence.c:1620 Event Thread Started
2022-04-21 06:52:45.630276 93.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6704159325@65.1.109.62 [3a1955cb-dfcf-4350-8aac-94860f02f60f]
2022-04-21 06:52:45.630276 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_NEW (Cur 1 Tot 52)
2022-04-21 06:52:45.630276 93.47% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:40395 version: 1.10.7 -release-19-883d2cb662 64bit call-id: VdGqRBQ5scC8uXZ1xk7Hbg..
2022-04-21 06:52:45.630276 93.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:52:45.630276 93.47% [DEBUG] sofia.c:2419 detaching session 3a1955cb-dfcf-4350-8aac-94860f02f60f
2022-04-21 06:52:45.630276 93.47% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [918320547551@65.1.109.62] from ip 49.34.39.112
2022-04-21 06:52:45.630276 93.47% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6704159325@65.1.109.62) State NEW
2022-04-21 06:52:45.750262 93.47% [DEBUG] sofia.c:2532 Re-attaching to session 3a1955cb-dfcf-4350-8aac-94860f02f60f
2022-04-21 06:52:45.750262 93.47% [INFO] sofia.c:10462 sofia/default/6704159325@65.1.109.62 receiving invite from 49.34.39.112:40395 version: 1.10.7 -release-19-883d2cb662 64bit call-id: VdGqRBQ5scC8uXZ1xk7Hbg..
2022-04-21 06:52:45.750262 93.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.34.39.112:0.
2022-04-21 06:52:45.750262 93.47% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-04-21 06:52:45.750262 93.47% [DEBUG] sofia.c:7499 Channel sofia/default/6704159325@65.1.109.62 entering state [received][100]
2022-04-21 06:52:45.750262 93.47% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 300187892 1 IN IP4 49.34.39.112
s=Z
c=IN IP4 49.34.39.112
t=0 0
m=audio 33318 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6704159325@65.1.109.62 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_codec.c:111 sofia/default/6704159325@65.1.109.62 Original read codec set to PCMU:0
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_media.c:5973 sofia/default/6704159325@65.1.109.62 Set 2833 dtmf send payload to 101 recv payload to 101
2022-04-21 06:52:45.750262 93.47% [DEBUG] sofia.c:7933 (sofia/default/6704159325@65.1.109.62) State Change CS_NEW -> CS_INIT
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_INIT (Cur 1 Tot 52)
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT
2022-04-21 06:52:45.750262 93.47% [DEBUG] mod_sofia.c:97 sofia/default/6704159325@65.1.109.62 SOFIA INIT
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/6704159325@65.1.109.62 Standard INIT
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6704159325@65.1.109.62) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6704159325@65.1.109.62) State INIT going to sleep
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_ROUTING (Cur 1 Tot 52)
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_channel.c:2380 (sofia/default/6704159325@65.1.109.62) Callstate Change DOWN -> RINGING
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING
2022-04-21 06:52:45.750262 93.47% [DEBUG] mod_sofia.c:158 sofia/default/6704159325@65.1.109.62 SOFIA ROUTING
2022-04-21 06:52:45.750262 93.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/6704159325@65.1.109.62 Standard ROUTING
2022-04-21 06:52:45.750262 93.47% [INFO] mod_dialplan_xml.c:639 Processing 6704159325 <6704159325>->918320547551 in context default
2022-04-21 06:52:45.770254 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-04-21 06:52:45.770254 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-04-21 06:52:45.770254 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 918320547551
2022-04-21 06:52:45.770254 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '918320547551' AND status=0 limit 1
2022-04-21 06:52:45.770254 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Harvi / 6531564472
2022-04-21 06:52:45.770254 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:52:45.770254 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:52:45.770254 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-04-21 06:52:45.770254 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1913651537]
2022-04-21 06:52:45.770254 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1913651537" AND deleted = 0 limit 1
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^918320547551.*' OR blocked_patterns = '^91832054755.*' OR blocked_patterns = '^9183205475.*' OR blocked_patterns = '^918320547.*' OR blocked_patterns = '^91832054.*' OR blocked_patterns = '^9183205.*' OR blocked_patterns = '^918320.*' OR blocked_patterns = '^91832.*' OR blocked_patterns = '^9183.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2022-04-21 06:52:45.790257 93.47% [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 ="918320547551" AND A.accountid = '13' limit 1
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 918320547551
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="918320547551" LIMIT 1
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="918320547551" limit 1
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="918320547551" AND (accountid = 0 OR status = 1) LIMIT 1
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^918320547551.*' OR patterns = '^91832054755.*' OR patterns = '^9183205475.*' OR patterns = '^918320547.*' OR patterns = '^91832054.*' OR patterns = '^9183205.*' OR patterns = '^918320.*' OR patterns = '^91832.*' OR patterns = '^9183.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1913651537
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 98.5
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : jio india
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your98.5 balance Accountid 13 !!!
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 98.5 minutes
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=5 ORDER by id asc
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^918320547551.*' OR pattern = '^91832054755.*' OR pattern = '^9183205475.*' OR pattern = '^918320547.*' OR pattern = '^91832054.*' OR pattern = '^9183205.*' OR pattern = '^918320.*' OR pattern = '^91832.*' OR pattern = '^9183.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : jioGateway
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : jioGateway
2022-04-21 06:52:45.790257 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-04-21 06:52:45.790257 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
2022-04-21 06:52:45.810256 93.47% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 98.5
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 14) AND status=0 limit 1
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="918320547551">
<condition field="destination_number" expression="918320547551">
<action application="set" data="effective_destination_number=918320547551"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+5910 normal_clearing"/>
<action application="set" data="callstart=2022-04-21 06:52:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=Harvi"/>
<action application="set" data="original_caller_id_number=6531564472"/>

<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=14"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=7"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/jioGateway/918320547551"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/YourProvider/918320547551"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/6704159325@65.1.109.62 parsing [default->918320547551] continue=false
Dialplan: sofia/default/6704159325@65.1.109.62 Regex (PASS) [918320547551] destination_number(918320547551) =~ /918320547551/ break=on-false
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(effective_destination_number=918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(callstart=2022-04-21 06:52:45)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(account_id=13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(parent_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(entity_id=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_processed=internal)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(call_direction=outbound)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(accountname=default)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_name=Harvi)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(original_caller_id_number=6531564472)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(calltype=STANDARD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(provider_id=14)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(rate_flag=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(force_trunk_flag=7)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/6704159325@65.1.109.62 Action set(intcall=0)
Dialplan: sofia/default/6704159325@65.1.109.62 Action export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
Dialplan: sofia/default/6704159325@65.1.109.62 Action bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6704159325@65.1.109.62) State Change CS_ROUTING -> CS_EXECUTE
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6704159325@65.1.109.62) State ROUTING going to sleep
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6704159325@65.1.109.62) Running State Change CS_EXECUTE (Cur 1 Tot 52)
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6704159325@65.1.109.62) State EXECUTE
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_sofia.c:213 sofia/default/6704159325@65.1.109.62 SOFIA EXECUTE
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/6704159325@65.1.109.62 Standard EXECUTE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(effective_destination_number=918320547551)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [effective_destination_number]=[918320547551]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(bridge_pre_execute_bleg_data=+5910 normal_clearing)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [bridge_pre_execute_bleg_data]=[+5910 normal_clearing]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(callstart=2022-04-21 06:52:45)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [callstart]=[2022-04-21 06:52:45]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(hangup_after_bridge=true)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(continue_on_fail=TRUE)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(account_id=13)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [account_id]=[13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(parent_id=0)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(entity_id=0)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_processed=internal)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(call_direction=outbound)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(accountname=default)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [accountname]=[default]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(origination_rates=ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [origination_rates]=[ID:7|CODE:^91.*|DESTINATION:jio india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:30|RATEGROUP:5|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_name=Harvi)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_name]=[Harvi]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(original_caller_id_number=6531564472)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [original_caller_id_number]=[6531564472]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(calltype=STANDARD)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(termination_rates=ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [termination_rates]=[ID:3|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:30|TRUNK:4|PROVIDER:14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(trunk_id=4)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(provider_id=14)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [provider_id]=[14]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(rate_flag=0)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(force_trunk_flag=7)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [force_trunk_flag]=[7]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=trunk_id=4)
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 set(intcall=0)
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/6704159325@65.1.109.62 [intcall]=[0]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 export(presence_data=x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD)
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD]
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/jioGateway/918320547551)
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:52:45.810256 93.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [8cf23ea4-b778-4ff3-9248-c6ab3d15c0c1]
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 2 Tot 53)
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:52:45.810256 93.47% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:52:45.810256 93.47% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650506477 1650506478 IN IP4 65.1.109.62
s=FreeSWITCH
c=IN IP4 65.1.109.62
t=0 0
m=audio 17488 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 2 Tot 53)
2022-04-21 06:52:45.810256 93.47% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:52:45.810256 93.47% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 53)
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:52:45.810256 93.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:52:46.310252 92.97% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [terminated][503]
2022-04-21 06:52:46.310252 92.97% [NOTICE] sofia.c:8738 Hangup sofia/default/918320547551 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_HANGUP (Cur 2 Tot 53)
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/918320547551) Callstate Change DOWN -> HANGUP
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP
2022-04-21 06:52:46.310252 92.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/918320547551 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/918320547551 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/918320547551) State HANGUP going to sleep
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/918320547551) State Change CS_HANGUP -> CS_REPORTING
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_REPORTING (Cur 2 Tot 53)
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING
2022-04-21 06:52:46.310252 92.97% [INFO] mod_json_cdr.c:271 Process [8cf23ea4-b778-4ff3-9248-c6ab3d15c0c1.cdr.json]
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-04-21 06:52:46.310252 92.97% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/6704159325@65.1.109.62 bridge([leg_timeout=0]sofia/gateway/YourProvider/918320547551)
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_channel.c:1269 sofia/default/6704159325@65.1.109.62 EXPORTING[export_vars] [presence_data]=[x|||harvi(1913651537)|||^91.* // jio india // 1.00000 // trunk_id=0|||jioGateway // ^91.* // india // 1.00000 // trunk_id=4|||STD] to event
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-04-21 06:52:46.310252 92.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/918320547551 [8c1db7e2-259e-4922-883d-0a31a5e71ba0]
2022-04-21 06:52:46.310252 92.97% [DEBUG] mod_sofia.c:5121 (sofia/default/918320547551) State Change CS_NEW -> CS_INIT
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_INIT (Cur 3 Tot 54)
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT
2022-04-21 06:52:46.310252 92.97% [DEBUG] mod_sofia.c:97 sofia/default/918320547551 SOFIA INIT
2022-04-21 06:52:46.310252 92.97% [INFO] sofia_glue.c:1651 sofia/default/918320547551 sending invite call-id: (null)
2022-04-21 06:52:46.310252 92.97% [DEBUG] sofia_glue.c:1654 sofia/default/918320547551 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1650492290 1650492291 IN IP4 65.1.109.62
s=FreeSWITCH
c=IN IP4 65.1.109.62
t=0 0
m=audio 31676 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/918320547551 Standard INIT
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/918320547551) State Change CS_INIT -> CS_ROUTING
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/918320547551) State INIT going to sleep
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_ROUTING (Cur 3 Tot 54)
2022-04-21 06:52:46.310252 92.97% [DEBUG] sofia.c:7499 Channel sofia/default/918320547551 entering state [calling][0]
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING
2022-04-21 06:52:46.310252 92.97% [DEBUG] mod_sofia.c:158 sofia/default/918320547551 SOFIA ROUTING
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_ivr_originate.c:67 (sofia/default/918320547551) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/918320547551) State ROUTING going to sleep
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/918320547551) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 54)
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/918320547551) State CONSUME_MEDIA going to sleep
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/918320547551 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/918320547551) State REPORTING going to sleep
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/918320547551) State Change CS_REPORTING -> CS_DESTROY
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_session.c:1753 Session 53 (sofia/default/918320547551) Locked, Waiting on external entities
2022-04-21 06:52:46.310252 92.97% [NOTICE] switch_core_session.c:1771 Session 53 (sofia/default/918320547551) Ended
2022-04-21 06:52:46.310252 92.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/918320547551 [CS_DESTROY]
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/918320547551) Running State Change CS_DESTROY (Cur 2 Tot 54)
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY
2022-04-21 06:52:46.310252 92.97% [DEBUG] mod_sofia.c:379 sofia/default/918320547551 SOFIA DESTROY
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/918320547551 Standard DESTROY
2022-04-21 06:52:46.310252 92.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/918320547551) State DESTROY going to sleep
2022-04-21 06:53:46.010272 96.
captcha