[SR-Users] sip response not handled by kamailio

Camille Oudot camille.oudot at orange.com
Fri Oct 24 13:32:04 CEST 2014


Le Fri, 24 Oct 2014 10:51:57 +0200,
Marko Seidenglanz <marko.seidenglanz at gmail.com> a écrit :

> I have a xlog call as the first statement in kamailio routing script.
> I can see the request, which get's handled correctly but the response
> does not appear in kamailio log, though it arrives at the machine.

Hi Marko,

the SIP replies don't fall into the same routing block as the requests.
You have to declare an explicit onreply_route to be able to catch
replies and do something with them, like logging for example. See
http://www.kamailio.org/wiki/cookbooks/4.2.x/core#onreply_route for
details.

Cheers,

-- 
Camille



More information about the sr-users mailing list