SIP Profile go Down
Hi, I face some issue, I have one FS instance that has been running for long time, today I was not able to connect and when I run “sofia status “ I get below Name Type Data State ================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) Which means that my lan IPV4 profile was not running I’m not sure about the reason but when I reload mod_sofia and run “sofia status” I get the below: Name Type Data State ================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) internal_lan profile sip:mod_sofia@192.168.1.7:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) I’m not sure what could let a profile go down? your kind help will be appreciated. Thanks, Ahmed Habiba,
it can happen if it failed to bind and startup or if the interface it's bound to goes away for some reason. On Wednesday, July 13, 2016, Ahmed habiba <ahabiba@gmail.com> wrote:
Hi,
I face some issue, I have one FS instance that has been running for long time, today I was not able to connect and when I run “sofia status “ I get below
Name Type Data State
================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0)
Which means that my lan IPV4 profile was not running I’m not sure about the reason but when I reload mod_sofia and run “sofia status” I get the below:
Name Type Data State
================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) internal_lan profile sip:mod_sofia@192.168.1.7:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0)
I’m not sure what could let a profile go down? your kind help will be appreciated.
Thanks,
Ahmed Habiba,
If FreeSWITCH detects your network config has changed then FS will detect this and might try to restart the profile. It might fail to start it after stopping it making it disappear. You should have some log messages associated with both detecting the network has changed and stopping/starting the profile. You can disable this behaviour with <param name="auto-restart" value="false"/> on the profile. Since you bind to the IP the profile will stop working however unless your server still has the same IP assigned. If your IP is statically assigned but FS is detecting the network has changed anyway then this option may be a good way to force FS to ignore that event and continue listening on the IP. Steve On 13 July 2016 at 23:47, Ahmed habiba <ahabiba@gmail.com> wrote:
Hi,
I face some issue, I have one FS instance that has been running for long time, today I was not able to connect and when I run “sofia status “ I get below
Name Type Data State
================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0)
Which means that my lan IPV4 profile was not running I’m not sure about the reason but when I reload mod_sofia and run “sofia status” I get the below:
Name Type Data State
================================================================================================= external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0) internal_lan profile sip:mod_sofia@192.168.1.7:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0)
I’m not sure what could let a profile go down? your kind help will be appreciated.
Thanks,
Ahmed Habiba,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Ahmed habiba
-
Michael Jerris
-
Steven Ayre