[SR-Users] PUBLISH request receives 404 response, and loops on loopback interface

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 22 08:39:26 CET 2016


Hello,


On 22/02/16 07:54, Marrold wrote:
>
>
> On 22 Feb 2016 6:48 am, "Daniel-Constantin Mierla" <miconda at gmail.com
> <mailto:miconda at gmail.com>> wrote:
> >
> >
> > Hello,
> >
> >
> > for handling publish you have to enable presence services.
> >
>
> Currently I don't want to enable location services. I can drop the
> PUBLISH requests but first I'd like to under stand the reason for the
> loop.
>
> > The looping happens when the domain in the R-URI is pointing to same
> server, but it is not listed as local domain for kamailio. You have to
> add it as alias or use it with domain module.
> >
> > For adding it as alias, add:
> >
> > alias=kamailio.marrold.co.uk <http://kamailio.marrold.co.uk>
>
> This is already in the original configuration I posted.
>
>
The capture the traffic on the server and paste it to the mailing list
to see routing addresses:

ngrep -d any -qt -W byline "sip" port 5060

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160222/1a1c4cf2/attachment.html>


More information about the sr-users mailing list