[Freeswitch-users] External profile fails to restart after IP change, Sofia trying to bind to old IP?
Brian West
brian at freeswitch.org
Tue Oct 7 00:27:01 MSD 2014
Not on the latest code are you?
On Mon, Oct 6, 2014 at 3:14 PM, Mike <empx at gmx.de> wrote:
> Hello,
> I'm trying Freeswitch on a small home box on a dynamic IP address.
> However, after i reconnect with a new address, the external
> profile/gateway fails to restart. I have included the logs below, and it
> seems Sofia is trying to bind to the old IP address instead of the new one?
> With a "sofia profile external start" the profile loads fine again.
> Might this be a bug? Any help is appreciated.
>
> Logs:
>
> 2014-10-06 05:52:53.295903 [INFO] mod_sofia.c:5299 EVENT_TRAP: IP change
> detected
> 2014-10-06 05:52:53.295903 [INFO] mod_sofia.c:5300 IP change detected
> [84.157.91.77]->[84.157.97.195] []->[]
> 2014-10-06 05:52:53.975902 [NOTICE] sofia_reg.c:135 UN-Registering sipgate
> tport.c:3636 tport_send_fatal() tport_vsend(0x7fe960004500): Invalid
> argument with (s=27 udp/217.10.79.9:5060)
> nta.c:10225 outgoing_graylist() nta: reduced priority of 1
> _sip._udp.sipgate.de SRV records (increase value to 1)
> tport.c:3636 tport_send_fatal() tport_vsend(0x7fe960004500): Invalid
> argument with (s=27 udp/217.10.79.9:5060)
> nta.c:8494 outgoing_print_tport_error() nta: REGISTER (65916545):
> Invalid argument (22) with udp/[217.10.79.9]:5060
> 2014-10-06 05:52:54.975902 [NOTICE] sofia.c:3009 Waiting for worker thread
> 2014-10-06 05:52:54.995903 [INFO] switch_core_sqldb.c:1684
> sofia:external Destroying SQL queue.
> 2014-10-06 05:52:55.195901 [INFO] switch_core_sqldb.c:1647
> sofia:external Stopping SQL thread.
> 2014-10-06 05:52:55.195901 [NOTICE] sofia_glue.c:1806 deleted gateway
> sipgate from profile external
> 2014-10-06 05:52:55.215905 [NOTICE] sofia.c:5495 Started Profile
> external [sofia_reg_external]
> nta.c:2240 nta_agent_add_tport() nta:
> bind(84.157.91.77:5080;transport=*): Cannot assign requested address
> nua_stack.c:195 nua_stack_init() nua: initializing SIP stack failed
> 2014-10-06 05:52:55.215905 [ERR] sofia.c:2820 Error Creating SIP UA for
> profile: external (sip:mod_sofia at 84.157.91.77:5080;transport=udp,tcp)
> ATTEMPT 1 (RETRY IN 5 SEC)
> nta.c:2240 nta_agent_add_tport() nta:
> bind(84.157.91.77:5080;transport=*): Cannot assign requested address
> nua_stack.c:195 nua_stack_init() nua: initializing SIP stack failed
> 2014-10-06 05:53:00.215902 [ERR] sofia.c:2820 Error Creating SIP UA for
> profile: external (sip:mod_sofia at 84.157.91.77:5080;transport=udp,tcp)
> ATTEMPT 2 (RETRY IN 5 SEC)
> nta.c:2240 nta_agent_add_tport() nta:
> bind(84.157.91.77:5080;transport=*): Cannot assign requested address
> nua_stack.c:195 nua_stack_init() nua: initializing SIP stack failed
> 2014-10-06 05:53:05.215903 [ERR] sofia.c:2820 Error Creating SIP UA for
> profile: external (sip:mod_sofia at 84.157.91.77:5080;transport=udp,tcp)
> ATTEMPT 3 (RETRY IN 5 SEC)
> 2014-10-06 05:53:05.215903 [ERR] sofia.c:2830 Error Creating SIP UA for
> profile: external (sip:mod_sofia at 84.157.91.77:5080;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.
>
>
> Regards,
> Mike
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
*Brian West*
brian at freeswitch.org
*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141006/a744fa9d/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list