Binding to external IP address during system boot
I am running FreeSWITCH under Debian, with ppp0 (an ADSL connection) as the external interface. Often, FreeSWITCH successfully starts and binds to the (dynamically assigned) external IPv4 address during the system boot process. Sometimes, however, this fails and I get (from sofia status profile external): sip:mod_sofia@127.0.0.1:5080 Clearly, it has bound to the loopback interface. Restarting the sip profile doesn't fix it, but restarting FreeSWITCH does. Is there a command that I can place in a networking script that will force the binding to be dropped and a new binding to be created, without restarting FreeSWITCH entirely?
One if these would do it: sofia reload sofia profile <name> restart Note you might (probably will) get dropped calls if you do it while calls are in progress. Steve on iPhone On 16 Oct 2010, at 02:17, Jason White <jason@jasonjgw.net> wrote:
I am running FreeSWITCH under Debian, with ppp0 (an ADSL connection) as the external interface. Often, FreeSWITCH successfully starts and binds to the (dynamically assigned) external IPv4 address during the system boot process. Sometimes, however, this fails and I get (from sofia status profile external): sip:mod_sofia@127.0.0.1:5080
Clearly, it has bound to the loopback interface. Restarting the sip profile doesn't fix it, but restarting FreeSWITCH does.
Is there a command that I can place in a networking script that will force the binding to be dropped and a new binding to be created, without restarting FreeSWITCH entirely?
_______________________________________________ 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
Steven Ayre <steveayre@gmail.com> writes:
One if these would do it: sofia reload sofia profile <name> restart
The latter doesn't solve it, as I noted in my original post, but thank you for suggesting "sofia reload", which I'll try when next it happens.
Are you on the latest FS GIT? /b On Oct 15, 2010, at 8:17 PM, Jason White wrote:
Clearly, it has bound to the loopback interface. Restarting the sip profile doesn't fix it, but restarting FreeSWITCH does.
Brian West <brian@freeswitch.org> writes:
Are you on the latest FS GIT?
It's several weeks old, but I'll upgrade and continue the thread if the problem persists. Restarting the SIP profile didn't help, and (at least in my version) there's no other sofia reload command besides reloadxml, which obviously isn't relevant here.
participants (3)
-
Brian West
-
Jason White
-
Steven Ayre