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

Matthew Harrold matthew at marrold.co.uk
Sun Feb 21 00:55:19 CET 2016


Hi all,

I am new to Kamailio but have previous experience with Asterisk, Freeswitch
and SIP.

I am using a fairly default config file with some sections removed (E.G
NAT) to simplify things, and some extra logging so I can see the way
packets traverse the configuration.

Config here - http://pastebin.com/raw/CCgT0C78

I have noticed that when a UAC sends a PUBLISH request, Kamailio
immediately responds '404 Not Found' and more worryingly the logs and a
packet capture running on the lo interface indicate it's sending the
PUBLISH request to itself in a loop until it hits the Max-Forwards limit.

Publish URI is PUBLISH sip:201 at kamailio.marrold.co.uk;transport=UDP SIP/2.0

I have two questions,

1) Why is this request being sent a 404, when the UAC is in the USRLOC
table?
2) Why is the request looping until Max Forwards is exhausted?

Any help appreciated,

Marrold
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160220/7101a890/attachment.html>


More information about the sr-users mailing list