[OpenSER-Users] Is it possible to add a header to a reply?

Ramona Modroiu ramona at rosdev.ro
Tue Feb 5 23:11:26 CET 2008


Hi,

check append_to_reply() from textops module.
http://www.openser.org/docs/modules/devel/textops.html#AEN276

Regards,
Ramona

Iñaki Baz Castillo wrote:
> Hi, it could be nice the possibility of adding headers in OpenSer replies. I 
> mean replies generated by OpenSer with "t_reply()" or "sl_reply()".
>
> For example it could be cool adding a header:
>   "Success:  User offline, message stored"
> when using MSILO before:
>    if (m_store("$ru"))
>             t_reply("202", "Accepted"))
>
> AFAIK this is not possible, is it?
> If not, maybe I'd report it as feature request, what's your opinion about it?
>
> Thanks.
>
>
>   





More information about the Users mailing list