Hello!
I'm looking for a way to add custom header to self-generated replies. For example I have an $avp(s:test) and want to send 4xx with header Custom: $avp(s:test).
Is it possible?
I didn't find a way to add headers to sl_send_reply or t_replay.
--
Best Regards,
Alex Massover
VoIP Development Manager
Jajah Inc.
Hi Alex,
Check the append_to_reply() function from textops module: http://www.openser.org/docs/modules/1.3.x/textops.html#AEN276
Regards, Bogdan
Alex Massover wrote:
Hello!
I'm looking for a way to add custom header to self-generated replies. For example I have an $avp(s:test) and want to send 4xx with header Custom: $avp(s:test).
Is it possible?
I didn't find a way to add headers to sl_send_reply or t_replay.
--
Best Regards,
Alex Massover
VoIP Development Manager
Jajah Inc.
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Hi!
Thanks! That's exactly what I need.
-----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] Sent: Tuesday, March 25, 2008 5:33 PM To: Alex Massover Cc: users@openser.org Subject: Re: [OpenSER-Users] Adding header to self-generated reply (sl_send_reply)
Hi Alex,
Check the append_to_reply() function from textops module: http://www.openser.org/docs/modules/1.3.x/textops.html#AEN276
Regards, Bogdan