<div dir="ltr">Not on the latest code are you?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 6, 2014 at 3:14 PM, Mike <span dir="ltr">&lt;<a href="mailto:empx@gmx.de" target="_blank">empx@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
I&#39;m trying Freeswitch on a small home box on a dynamic IP address.<br>
However, after i reconnect with a new address, the external<br>
profile/gateway fails to restart. I have included the logs below, and it<br>
seems Sofia is trying to bind to the old IP address instead of the new one?<br>
With a &quot;sofia profile external start&quot; the profile loads fine again.<br>
Might this be a bug? Any help is appreciated.<br>
<br>
Logs:<br>
<br>
2014-10-06 05:52:53.295903 [INFO] mod_sofia.c:5299 EVENT_TRAP: IP change<br>
detected<br>
2014-10-06 05:52:53.295903 [INFO] mod_sofia.c:5300 IP change detected<br>
[84.157.91.77]-&gt;[84.157.97.195] []-&gt;[]<br>
2014-10-06 05:52:53.975902 [NOTICE] sofia_reg.c:135 UN-Registering sipgate<br>
tport.c:3636 tport_send_fatal() tport_vsend(0x7fe960004500): Invalid<br>
argument with (s=27 udp/<a href="http://217.10.79.9:5060" target="_blank">217.10.79.9:5060</a>)<br>
nta.c:10225 outgoing_graylist() nta: reduced priority of 1<br>
_sip._<a href="http://udp.sipgate.de" target="_blank">udp.sipgate.de</a> SRV records (increase value to 1)<br>
tport.c:3636 tport_send_fatal() tport_vsend(0x7fe960004500): Invalid<br>
argument with (s=27 udp/<a href="http://217.10.79.9:5060" target="_blank">217.10.79.9:5060</a>)<br>
nta.c:8494 outgoing_print_tport_error() nta: REGISTER (65916545):<br>
Invalid argument (22) with udp/[217.10.79.9]:5060<br>
2014-10-06 05:52:54.975902 [NOTICE] sofia.c:3009 Waiting for worker thread<br>
2014-10-06 05:52:54.995903 [INFO] switch_core_sqldb.c:1684<br>
sofia:external Destroying SQL queue.<br>
2014-10-06 05:52:55.195901 [INFO] switch_core_sqldb.c:1647<br>
sofia:external Stopping SQL thread.<br>
2014-10-06 05:52:55.195901 [NOTICE] sofia_glue.c:1806 deleted gateway<br>
sipgate from profile external<br>
2014-10-06 05:52:55.215905 [NOTICE] sofia.c:5495 Started Profile<br>
external [sofia_reg_external]<br>
nta.c:2240 nta_agent_add_tport() nta:<br>
bind(84.157.91.77:5080;transport=*): Cannot assign requested address<br>
nua_stack.c:195 nua_stack_init() nua: initializing SIP stack failed<br>
2014-10-06 05:52:55.215905 [ERR] sofia.c:2820 Error Creating SIP UA for<br>
profile: external (sip:mod_sofia@84.157.91.77:5080;transport=udp,tcp)<br>
ATTEMPT 1 (RETRY IN 5 SEC)<br>
nta.c:2240 nta_agent_add_tport() nta:<br>
bind(84.157.91.77:5080;transport=*): Cannot assign requested address<br>
nua_stack.c:195 nua_stack_init() nua: initializing SIP stack failed<br>
2014-10-06 05:53:00.215902 [ERR] sofia.c:2820 Error Creating SIP UA for<br>
profile: external (sip:mod_sofia@84.157.91.77:5080;transport=udp,tcp)<br>
ATTEMPT 2 (RETRY IN 5 SEC)<br>
nta.c:2240 nta_agent_add_tport() nta:<br>
bind(84.157.91.77:5080;transport=*): Cannot assign requested address<br>
nua_stack.c:195 nua_stack_init() nua: initializing SIP stack failed<br>
2014-10-06 05:53:05.215903 [ERR] sofia.c:2820 Error Creating SIP UA for<br>
profile: external (sip:mod_sofia@84.157.91.77:5080;transport=udp,tcp)<br>
ATTEMPT 3 (RETRY IN 5 SEC)<br>
2014-10-06 05:53:05.215903 [ERR] sofia.c:2830 Error Creating SIP UA for<br>
profile: external (sip:mod_sofia@84.157.91.77:5080;transport=udp,tcp)<br>
The likely causes for this are:<br>
1) Another application is already listening on the specified address.<br>
2) The IP the profile is attempting to bind to is not local to this system.<br>
<br>
<br>
Regards,<br>
Mike<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://bkw.org/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div>
</div>