[Freeswitch-users] registration fails after several hours - FS problem?
Mario G
mario_fs at mgtech.com
Tue Oct 26 10:34:20 PDT 2010
I made the change. I had no idea the settings for the inside phones effected nat for the outside sip accounts. I was looking into aggressive-nat- detection since the internal profile status always shows the right external static IP but the nat_ap status always shows the dynamic ip. Crossing fingers/etc since this problem is 85% of time (weeks!) into FS changeover. Thanks!
Mario
On Oct 26, 2010, at 10:15 AM, Anthony Minessale wrote:
> add
>
> <variable name="sip-force-expires" value="30"/>
>
> to the <variables> section of your <user>
>
> you have it at 600 and the nat mapping is timing out while the 600
> seconds is ticking away
>
>
>
> On Tue, Oct 26, 2010 at 12:01 PM, Mario G <mario_fs at mgtech.com> wrote:
>> From the TSP:
>> "I have enabled the SIP trace on your account. We are not currently seeing
>> any registration attempts to your account within the last 15 minutes. Please
>> restart FreeSwitch so that registration attempts begin again. Thank you. ".
>> So FS is not getting past router.
>> On Oct 26, 2010, at 9:09 AM, Mario G wrote:
>>
>> I ran the global trace during the problem and it is
>> at http://pastebin.freeswitch.org/14324 . You can find "rnktel", "acctone",
>> "accttwo", "acct3". The trace includes phones since it was global. I am
>> using:
>> <param name="ext-rtp-ip" value="autonat:my-static.ip"/>
>> <param name="ext-sip-ip" value="autonat:my-static.ip"/>
>> I tried dumping nat and removing the autonat: above and using -nonat but
>> that did not work, registration proceeded but no calls inbound.
>> On Oct 25, 2010, at 4:11 PM, Mario G wrote:
>>
>> Whoops, I am using an IP address for at least one gateway so that is not the
>> problem:
>> They look outbound to me and I am using dns for 2 and an IP for one so that
>> is not the issue. I was able to get FS to clear this up by doing "nat_map
>> reinit" which is why I think this is a nat problem. I will do the trace you
>> mentioned. I will plug an ip address into one of the gateways to see what
>> happens, they all fail at once. Thanks for responding!
>> Mario
>>
>> On Oct 25, 2010, at 3:26 PM, Mario wrote:
>>
>> I really need help on this as I have weeks into this problem. I thought I
>> had it nailed but I guess not. After 5.5 hours I get:
>>
>> 2010-10-25 15:05:43.407272 [WARNING] sofia_reg.c:387 mguuid Failed
>> Registration, setting retry to 15 seconds.
>>
>> 2010-10-25 15:05:49.557478 [NOTICE] sofia_reg.c:342 Registering mvuuid
>>
>> 2010-10-25 15:05:59.206273 [NOTICE] sofia_reg.c:342 Registering mguuid
>>
>> 2010-10-25 15:06:04.923157 [WARNING] sofia_reg.c:387 mynum777 Failed
>> Registration, setting retry to 30 seconds.
>>
>> 2010-10-25 15:06:05.358321 [WARNING] sofia_reg.c:387 mvuuid Failed
>> Registration, setting retry to 15 seconds.
>>
>> 2010-10-25 15:06:16.125060 [WARNING] sofia_reg.c:387 mguuid Failed
>> Registration, setting retry to 15 seconds.
>>
>> 2010-10-25 15:06:21.151240 [NOTICE] sofia_reg.c:342 Registering mvuuid
>>
>> 2010-10-25 15:06:33.060421 [NOTICE] sofia_reg.c:342 Registering mguuid
>>
>> 2010-10-25 15:06:35.392655 [NOTICE] sofia_reg.c:342 Registering mynum777
>>
>> and no way to make/get calls until I restart FS. I did this:
>>
>> 1. log 7
>>
>> 2. sofia profile xxxx siptrace on for each profile/gateway
>>
>> 3. restarted router
>>
>> All three did not solve the problem. The trace and log produced no
>> additional lines which is why I am wondering if FS has a problem since the
>> trace shows no SIP activity.
>>
>> 3 gateways with 2 ITSPs
>>
>> 2 DSL/WAN lines, 1 static and 1 dynamic
>>
>> I am using autonat:1.2.3.4 in internal and external profiles. 1.2.3.4 is the
>> external static ip.
>>
>> sofia status profile ... has the right ext ip
>>
>> nat_map status shows the dynamic (wrong) IP
>>
>> I tried starting with -nonat but that was worse
>>
>> the only way to fix is restart FS.
>>
>> I read the wiki on external nat, auto_nat and everything else many times.
>>
>> Thanks Mario
>>
>>
>> _______________________________________________
>>
>> 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
>>
>>
>> _______________________________________________
>> 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
>>
>> _______________________________________________
>> 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
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> 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
More information about the FreeSWITCH-users
mailing list