Hi Anthony, Thanks for your reply. The trace of the ping request looks like this. Any clues? send 674 bytes to udp/[77.240.48.94]:5060 at 09:07:25.479313: ------------------------------------------------------------------------ OPTIONS sip:voiptalk.org;transport=udp SIP/2.0 Via: SIP/2.0/UDP 77.86.49.249;rport;branch=z9hG4bK8rBQ4a33Ny02K Max-Forwards: 70 From: <sip:77.86.49.249>;tag=a8U21NNZ23tBB To: <sip:voiptalk.org> Call-ID: 96da25e1-eaf8-122c-02ae-0019d15ec7e1 CSeq: 117662779 OPTIONS Contact: <sip:[email protected]:5060> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13850 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH Supported: timer, precondition, path, replaces Allow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Length: 0 ------------------------------------------------------------------------ recv 352 bytes from udp/[77.240.48.94]:5060 at 09:07:25.486124: ------------------------------------------------------------------------ SIP/2.0 484 Address Incomplete Via: SIP/2.0/UDP 77.86.49.249;rport=5060;branch=z9hG4bK8rBQ4a33Ny02K From: <sip:77.86.49.249>;tag=a8U21NNZ23tBB To: <sip:voiptalk.org>;tag=fd79486175647ed1617969929fdaad02.f21c Call-ID: 96da25e1-eaf8-122c-02ae-0019d15ec7e1 CSeq: 117662779 OPTIONS Server: OpenSIPS (1.5.1-notls (x86_64/linux)) Content-Length: 0 ------------------------------------------------------------------------ 2009-07-14 10:07:25.483507 [WARNING] sofia.c:2810 Ping failed voiptalk.org 2009-07-14 10:07:25.483507 [WARNING] sofia.c:2813 Unregister voiptalk.org Andy
_____ From: [email protected] [mailto:[email protected]] On Behalf Of Anthony Minessale Sent: 13 July 2009 16:59 To: [email protected] Subject: Re: [Freeswitch-users] Problems with Ping and re-registering brokengateways Are they ignoring the options packet we send them or are they maybe getting lost behind NAT? we send an OPTIONS and even if we get a error back we consider that a successful reply. We did have a patch into SVN very recently to correct a problem with OPTIONS ping in a NAT situation. 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. to capture the log use these 2 commands from the cli. sofia profile internal siptrace on console loglevel debug On Mon, Jul 13, 2009 at 7:59 AM, Andy <[email protected]> wrote: Hi, 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: - When freeswitch starts the gateways are all created and register correctly - I have the ping parameter set to make sure the gateway stays alive. - The first time freeswitch pings the gateway it fails even though the registration appears intact as calls are still coming through to freeswitch - 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]' - eventually the registration times out with my provider and all is lost. - if I call 'sofia profile external restart' or restart the software this fixes the problem My questions are: 1) Why would the ping fail when the registration appears to be intact? 2) Whay would the auto re-register not work but a restart would? This ones driving me nuts so any help greatly appreciated. regards Andy _______________________________________________ Freeswitch-users mailing list [email protected] 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:[email protected] <mailto:msn%[email protected]> GTALK/JABBER/PAYPAL:[email protected] <mailto:paypal%[email protected]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[email protected] <mailto:sip%[email protected]> iax:[email protected]/888 googletalk:[email protected] <mailto:googletalk%3aconf%[email protected]> pstn:213-799-1400
_______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
