[Freeswitch-users] Best practices question about SIP registration

Michael Collins msc at freeswitch.org
Wed Jan 9 03:29:10 MSK 2013


Done!
Thanks,
MC

On Tue, Jan 8, 2013 at 3:35 PM, Lawrence Conroy <lconroy at insensate.co.uk>wrote:

> Hi Michael, folks,
>  if you're going to codify it, I did slightly simplify things:
> (full disclosure -- I disagreed with it at the time which is probably why
> I forgot to mention it -- honest).
>
> There IS a wrinkle to this special case: If you have a URL of the form <
> sip:user at example.com:5055> the client should NOT look for a NAPTR or SRV,
> but instead go straight to looking for an A or AAAA for the host
> example.com (i.e., there's a machine called example.com, and it is
> handling SIP traffic for that domainpart).
> Basically, if you see a colon in the domainpart, you're looking for a
> machine -- otherwise you're looking for a NAPTR (and/or a SRV at
> _sip._udp.<sipdomain>).
>
> I'd put that before the paragraph starting "However, relying on ..."
>
> Curiously enough, the old 2543-compliant servers did hunt the SRV rather
> than giving up and looking for an A, so this was a change. Such fun was had
> re-writing implementations (plural) and testing them yet again. Sigh.
>
> all the best,
>   Lawrence
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130108/c6a0a9ad/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list