Hi Gustavo,
if you have fixed content, it's even simpler. Use the textops module to
add the headers. See the append_hf() function:
Hi Bogdan, thx for your response
I need to put two fixed route headers, like these:
Route: user(a)as.domain.com
Route: user(a)cscf.domain.com
Can I do that with AVPops module? I think is not suitable for this task.
BR,
G.
-----Mensaje original-----
De: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
Enviado el: jueves, 10 de noviembre de 2005 0:28
Para: Gustavo García Bernardo
CC: users(a)openser.org
Asunto: Re: [Users] How to add Route headers?
Hi Gustavo,
you can generate the body of the Route header(s) into AVP(s) be loading
them from database of by building them via avpops functions (like
avp_printf()).
then just set the AVP(s) into Route header(s) via the avp_pushto() function:
http://www.voice-system.ro/docs/avpops/ar01s06.html#avp_pushto
mostly depends of the content you want to push into the headers.
regards,
bogdan
Gustavo García Bernardo wrote:
Hi,
Is posible to add more route headers to a request before relaying it?
I’m trying to implement the IMS mechanism before relaying a request to
an application server, which consists in adding two route headers.
Thx in advance.
G.
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users