[SR-Users] Send reply with Reason header

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 19 19:24:49 CET 2012


On 12/19/12 7:12 PM, Andreas Granig wrote:
> Hi,
>
> On 12/19/2012 05:49 PM, Mino Haluz wrote:
>> I know how to use sl_send_reply, but I would like to add "Reason:"
>> header to the reply generated. Is there any command or variable for 
>> that?
>
> You can use append_to_reply() from textops module: 
> http://kamailio.org/docs/modules/1.3.x/textops.html#AEN276
:-) I couldn't go over not to remark your good spot on the docs of the 
7th older release by now - the 1.3.x - which is the same content for 
this functions as for latest version (3.3.x).

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list