Do you have any packet traces to the gateway during that time? If not, are you able to reproduce the problem?<br><br>It would be useful to see the SIP traces to see what FS was sending to check whether it was valid, and if not to see what was wrong.<br>
<br>You can do that by running 'sofia profile profilename siptrace on' from the CLI, the SIP packets will then show in your logfile. Same command with off instead of on will turn it back off once you're done.<br>
<br>-Steve<br><br><br><div class="gmail_quote">On 10 August 2010 04:02, Roman_ <span dir="ltr"><<a href="mailto:lists@ione.ch">lists@ione.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi all,<br>
<br>
I experienced an issue with gateway registration yesterday, where the<br>
registration first failed with a "Request Timeout (408)" error and after<br>
that it kept failing with "Bad Request (400)". It kept retrying periodically<br>
with increasing delays in between, but even after almost 24 hours the<br>
registration still failed (and with delays of about 40 minutes between<br>
attempts).<br>
Only then did I notice that the gateway had failed, and restarting the<br>
gateway ("killgw" then "rescan") immediately solved the problem and the<br>
gateway registered successfully.<br>
<br>
This is part of the log:<br>
<br>
2010-08-08 16:31:30.464055 [ERR] sofia_reg.c:1502 <a href="http://gateyway.com" target="_blank">gateyway.com</a> Registration<br>
Failed with status Request Timeout [408]. failure #1<br>
2010-08-08 16:31:35.444058 [WARNING] sofia_reg.c:387 <a href="http://gateway.com" target="_blank">gateway.com</a> Failed<br>
Registration, setting retry to 60 seconds.<br>
2010-08-08 16:32:54.674056 [NOTICE] sofia_reg.c:342 Registering <a href="http://gateway.com" target="_blank">gateway.com</a><br>
2010-08-08 16:32:54.744052 [ERR] sofia_reg.c:1502 <a href="http://gateway.com" target="_blank">gateway.com</a> Registration<br>
Failed with status Bad Request [400]. failure #2<br>
2010-08-08 16:33:04.614052 [WARNING] sofia_reg.c:387 <a href="http://gateway.com" target="_blank">gateway.com</a> Failed<br>
Registration, setting retry to 90 seconds.<br>
<br>
this then continued for almost 24 hours before I noticed it, always with<br>
error code 400.<br>
<br>
Now, what worries me about this is that the gateway stopped working, but was<br>
not able to recover from the problem by itself. Only manual intervention by<br>
restarting the gateway solved the issue.<br>
<br>
Is there any way I can make sure that the gateway does not get stuck like<br>
this and can recover by itself? Does the fact that it did not recover by<br>
itself not suggest that there might be a bug in Freeswitch when registration<br>
fails, which prevents a successful registration until one manually kills and<br>
restarts the gateway?<br>
<br>
I am using the Freeswitch version from the master branch of the git<br>
repository, compiled on July 19.<br>
<br>
Any help is appreciated, thanks.<br>
<br>
Best regards,<br>
<br>
Roman<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Gateway-registration-issue-can-only-be-solved-through-killgw-tp5391507p5391507.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Gateway-registration-issue-can-only-be-solved-through-killgw-tp5391507p5391507.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<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>