yes this was plenty of information<br>try r14242 <br><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 4:07 AM, Andy <span dir="ltr">&lt;<a href="mailto:andy@fabulous4.co.uk">andy@fabulous4.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Hi Anthony,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" 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><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">send 674 bytes to udp/[77.240.48.94]:5060 at 
09:07:25.479313:<br>   
------------------------------------------------------------------------<br>   
OPTIONS sip:<a href="http://voiptalk.org" target="_blank">voiptalk.org</a>;transport=udp SIP/2.0<br>   Via: SIP/2.0/UDP 
77.86.49.249;rport;branch=z9hG4bK8rBQ4a33Ny02K<br>   Max-Forwards: 
70<br>   From: 
&lt;sip:77.86.49.249&gt;;tag=a8U21NNZ23tBB<br>   To: 
&lt;sip:<a href="http://voiptalk.org" target="_blank">voiptalk.org</a>&gt;<br>   Call-ID: 
96da25e1-eaf8-122c-02ae-0019d15ec7e1<br>   CSeq: 117662779 
OPTIONS<br>   Contact: 
&lt;<a href="http://sip:mod_sofia@77.86.49.249:5060" target="_blank">sip:mod_sofia@77.86.49.249:5060</a>&gt;<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: 
&lt;sip:77.86.49.249&gt;;tag=a8U21NNZ23tBB<br>   To: 
&lt;sip:<a href="http://voiptalk.org" target="_blank">voiptalk.org</a>&gt;;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><font color="#0000ff" face="Arial" size="2">   
------------------------------------------------------------------------<br>2009-07-14 
10:07:25.483507 [WARNING] sofia.c:2810 Ping failed <a href="http://voiptalk.org" target="_blank">voiptalk.org</a><br>2009-07-14 
10:07:25.483507 [WARNING] sofia.c:2813 Unregister 
<a href="http://voiptalk.org" target="_blank">voiptalk.org</a></font></span></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span>Andy</span></font></div>
<div><br></div>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> 
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> 
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of 
</b>Anthony Minessale<br><b>Sent:</b> 13 July 2009 16:59<br><b>To:</b> 
<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b> Re: [Freeswitch-users] 
Problems with Ping and re-registering brokengateways<br></font><br></div><div><div></div><div class="h5">
<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">&lt;<a href="mailto:andy@fabulous4.co.uk" target="_blank">andy@fabulous4.co.uk</a>&gt;</span> 
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
  <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&#39;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&#39;m using freeswitch to accept 
  incoming calls via a voip gateway and record messages. Here&#39;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 &#39;Registration Failed with status Operation 
  has no matching challenge  [904]&#39;</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 &#39;sofia profile 
  external restart&#39; 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" target="_blank">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/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: 
anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: 
<a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> 
#freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br></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>