* Update deprecated sip profile params
Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files
When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
Updating the parameters fixes the issue.
* Update external.xml.noload
Co-authored-by: FusionPBX <markjcrane@gmail.com>
* Update deprecated sip profile params
Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files
When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
Updating the parameters fixes the issue.
* Update external-ipv6.xml.noload
Co-authored-by: FusionPBX <markjcrane@gmail.com>
* Update deprecated sip profile params
Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files
When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
Updating the parameters fixes the issue.
* Update internal-ipv6.xml.noload
Co-authored-by: FusionPBX <markjcrane@gmail.com>
* Update deprecated sip profile params
Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files
When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.
Updating the parameters fixes the issue.
* Update internal.xml.noload
Co-authored-by: FusionPBX <markjcrane@gmail.com>
The accountcode variable is used in a dialstring later on and if it comes back nil for any reason, then the following error is thrown:
2022-07-22 16:19:11.524674 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/app/follow_me/index.lua:396: attempt to concatenate global 'accountcode' (a nil value)
stack traceback:
/usr/share/freeswitch/scripts/app/follow_me/index.lua:396: in main chunk
/usr/share/freeswitch/scripts/app.lua:48: in main chunk
This completely breaks follow-me.
This code sets the accountcode variable to the domain name if it comes back nil during script execution, thus protecting the script from failing with an empty accountcode value in the db or query.