<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=371590209-14072009><FONT face=Arial
color=#0000ff size=2>Hi Anthony,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=371590209-14072009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=371590209-14072009><FONT face=Arial
color=#0000ff size=2>Thanks for your reply. The trace of the ping request looks
like this. Any clues?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=371590209-14072009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=371590209-14072009><FONT face=Arial
color=#0000ff size=2>send 674 bytes to udp/[77.240.48.94]:5060 at
09:07:25.479313:<BR>
------------------------------------------------------------------------<BR>
OPTIONS sip:voiptalk.org;transport=udp SIP/2.0<BR> Via: SIP/2.0/UDP
77.86.49.249;rport;branch=z9hG4bK8rBQ4a33Ny02K<BR> Max-Forwards:
70<BR> From:
<sip:77.86.49.249>;tag=a8U21NNZ23tBB<BR> To:
<sip:voiptalk.org><BR> Call-ID:
96da25e1-eaf8-122c-02ae-0019d15ec7e1<BR> CSeq: 117662779
OPTIONS<BR> Contact:
<sip:mod_sofia@77.86.49.249:5060><BR> User-Agent:
FreeSWITCH-mod_sofia/1.0.trunk-13850<BR> Allow: INVITE, ACK, BYE,
CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER,
INFO, PUBLISH<BR> Supported: timer, precondition, path,
replaces<BR> Allow-Events: talk, presence, dialog, call-info, sla,
include-session-description, presence.winfo, message-summary,
refer<BR> Content-Length: 0<BR> <BR>
------------------------------------------------------------------------<BR>recv
352 bytes from udp/[77.240.48.94]:5060 at 09:07:25.486124:<BR>
------------------------------------------------------------------------<BR>
SIP/2.0 484 Address Incomplete<BR> Via: SIP/2.0/UDP
77.86.49.249;rport=5060;branch=z9hG4bK8rBQ4a33Ny02K<BR> From:
<sip:77.86.49.249>;tag=a8U21NNZ23tBB<BR> To:
<sip:voiptalk.org>;tag=fd79486175647ed1617969929fdaad02.f21c<BR>
Call-ID: 96da25e1-eaf8-122c-02ae-0019d15ec7e1<BR> CSeq: 117662779
OPTIONS<BR> Server: OpenSIPS (1.5.1-notls
(x86_64/linux))<BR> Content-Length: 0</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=371590209-14072009><FONT face=Arial
color=#0000ff size=2>
------------------------------------------------------------------------<BR>2009-07-14
10:07:25.483507 [WARNING] sofia.c:2810 Ping failed voiptalk.org<BR>2009-07-14
10:07:25.483507 [WARNING] sofia.c:2813 Unregister
voiptalk.org</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=371590209-14072009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=371590209-14072009>Andy</SPAN></FONT></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <B>On Behalf Of
</B>Anthony Minessale<BR><B>Sent:</B> 13 July 2009 16:59<BR><B>To:</B>
freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> Re: [Freeswitch-users]
Problems with Ping and re-registering brokengateways<BR></FONT><BR></DIV>
<DIV></DIV>Are they ignoring the options packet we send them or are they maybe
getting lost behind NAT?<BR>we send an OPTIONS and even if we get a error back
we consider that a successful reply.<BR> <BR>We did have a patch into SVN
very recently to correct a problem with OPTIONS ping in a NAT
situation.<BR><BR>Maybe try latest trunk first then capture the console log with
sip traffic in place if it still does not work so we can have a look.<BR><BR>to
capture the log use these 2 commands from the cli.<BR><BR>sofia profile internal
siptrace on<BR>console loglevel debug<BR><BR><BR><BR><BR>
<DIV class=gmail_quote>On Mon, Jul 13, 2009 at 7:59 AM, Andy <SPAN
dir=ltr><<A
href="mailto:andy@fabulous4.co.uk">andy@fabulous4.co.uk</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV>
<DIV align=left><FONT face=Verdana size=1>
<DIV align=left><FONT face=Arial size=2><SPAN>Hi,</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>I'm fairly sure my problem lies
with my voip provider VoipTalk but wonder if you could help me understand a
couple of things. My config is very simple, I'm using freeswitch to accept
incoming calls via a voip gateway and record messages. Here's the
problem:</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>- When freeswitch starts the
gateways are all created and register correctly</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>- I have the ping parameter set
to make sure the gateway stays alive.</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>- The first time freeswitch
pings the gateway it fails even though the registration appears intact as
calls are still coming through to freeswitch</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>- Freeswitch then tries to
re-register the gateway but this fails. The SIP trace shows an Unauthorized
message and the actual log entry is 'Registration Failed with status Operation
has no matching challenge [904]'</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>- eventually the registration
times out with my provider and all is lost.</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>- if I call 'sofia profile
external restart' or restart the software this fixes the
problem</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>My questions
are:</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>1) Why would the ping fail when
the registration appears to be intact?</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>2) Whay would the auto
re-register not work but a restart would?</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>This ones driving me nuts so any
help greatly appreciated.</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN>regards</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial
size=2><SPAN>Andy</SPAN></FONT></DIV></FONT></DIV></DIV></DIV><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><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Anthony Minessale II<BR><BR>FreeSWITCH <A
href="http://www.freeswitch.org/">http://www.freeswitch.org/</A><BR>ClueCon <A
href="http://www.cluecon.com/">http://www.cluecon.com/</A><BR>Twitter: <A
href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</A><BR><BR>AIM:
anthm<BR><A
href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</A><BR>GTALK/JABBER/<A
href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</A><BR>IRC:
<A href="http://irc.freenode.net">irc.freenode.net</A>
#freeswitch<BR><BR>FreeSWITCH Developer Conference<BR><A
href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</A><BR><A
href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</A><BR><A
href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</A><BR>pstn:213-799-1400<BR></BODY></HTML>