[SR-Users] Append to reply in default action of failure_route

Efelin Novak efelin.novak at gmail.com
Mon Nov 18 10:00:45 CET 2013


Hi,

I would like to append a header to a 'winning' negative reply in
failure_route and let the Kamailio do the default action (state fully
forward the winning reply).

When I use append_to_reply("Foo: bar\r\n"); and then call exit; in
failure_route nothing is appended.
When I use same append_to_reply then t_relay("505","Error"); and exit; the
header is appended.
When I use append and t_reply with dialog modul turned on I got a bug I'm
solving here '[SR-Users] t_reply in failure route with dialog module'.

So my question is how to put a header into a reply when I don't want to
alter its code or text?

I'm using Kamilio 4.0.4 on Debian 7.1

Thanks for an answer

Efelin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131118/745ab6b0/attachment.html>


More information about the sr-users mailing list