On 07/29/2010 02:51 PM, Daniel-Constantin Mierla wrote:
Hello,
On 7/29/10 4:41 PM, Alex Balashov wrote:
I know failure routes operate relative to the
request that failed,
rather than the final reply received per se.
Nevertheless, is there any way provided by Kamailio/SR at this time to
modify a final reply (say, append a header, or something else
theoretically permissible) prior to its being passed to the
originating UAC?
if you need, you can force your own reply with t_reply() from
failure
route, overwriting any received reply. To that reply you can add headers
with append_to_reply()
Aha, thank you - it is append_to_reply() that I was looking for, as I
am used to failure routes operating on the request, not on the actual
reply message.
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web:
http://www.evaristesys.com/