On Wed, Mar 15, 2017 at 11:02:22AM +0100, Daniel-Constantin Mierla wrote: > I haven't followed closely the entire discussion, but for proper > clarification, if one needs to add a header to a received SIP response > that is forwarded, then it has to use append_hf(...) inside on/reply_route. > > The append_to_reply() should be used for SIP responses to be generated > by Kamailio.
This is absolutely true, and entirely the result of poor memory on my part. For some reason I misremembered that the OP was trying to generate a synthetic reply internally with attributes of the received reply. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users