[Freeswitch-users] FS not detecting public IP address change

Mark Campbell-Smith mcampbellsmith at gmail.com
Sat Oct 23 15:36:54 PDT 2010


Hi!

The router is a ASUS router but it is running the tomato firmware which runs
miniupnd.

In the debug I see the message: 2010-10-24 08:02:59.178918 [DEBUG]
sofia.c:956 nua_i_outbound: unknown event 8: 101 NAT detected

This is what I see below. I hope I enabled all debug messages.  I thought I
saw some xml type messages earlier, but not sure how I enabled them.

nta_outgoing: RTT is 67.958 ms
outbound(0xb6e07c00): NAT binding changed: [210.xx.xxx.xx]:5080 !=
[58.xxx.xx.xx]:5080
nua(0xb6e07c00): event i_outbound 102 NAT binding changed
nua: nua_application_event: entering
2010-10-24 09:05:08.849525 [DEBUG] sofia.c:956 nua_i_outbound: unknown event
8: 102 NAT binding changed


On Sun, Oct 24, 2010 at 1:08 AM, Rupa Schomaker <rupa at rupa.com> wrote:

> btw: what router are you using?
>
>
> On Sat, Oct 23, 2010 at 9:06 AM, Rupa Schomaker <rupa at rupa.com> wrote:
>
>> In a upnp config, FS is depending on the router to notify it of the ip
>> address change.  It is possible the upnp message(s) aren't formatted as
>> expected.  If you turn on debug logging you'll get the upnp messages on the
>> console.  If you can pastebin the capture of those while dropping and
>> restarting the dsl connection I can maybe see if there is something obvious
>> going on.  The debug should also have messages related to the processing of
>> those upnp messages.
>>
>> On Sat, Oct 23, 2010 at 7:04 AM, Mark Campbell-Smith <
>> mcampbellsmith at gmail.com> wrote:
>>
>>> HI!
>>>
>>> I know this question must have been answered 100's of times....
>>>
>>> My adsl is a bit dodgy at the moment and tends to go up and down; which
>>> means I get assigned a new ip address from my ISP.  FS is nat'd behind a
>>> upnp capable router.
>>>
>>> The problem is that FS does not seem to be detecting the change.   For
>>> both the internal and external profile, I have auto-nat setup, and I have
>>> tried stun and host settings in vars.conf.  When I issue a nat_map status I
>>> see my old IP address, and if I then issue a nat_map reinit, I see the new
>>> public IP address.  How can I get this to be automatic?
>>>
>>> Also the public IP address shown in the nat_map status is not the same as
>>> shown in the sofia profile internal/external printouts.  Why is this?
>>>
>>> I'm sure this is configuration, just not sure what to change.
>>>
>>> Thanks!
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> -Rupa
>>
>
>
>
> --
> -Rupa
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101024/4a401230/attachment.html 


More information about the FreeSWITCH-users mailing list