Tks Daniel
1) I am trying this:
avp_write("hdr[Contact]","s:test"); avp_pushto("$Contact/reply","s:test");
It's works, but in the Replay 200 Ok, the Contact header I have Hdr[Contact].
2) If I try this
avp_write("$hdr[Contact]","s:test"); avp_pushto("$Contact/reply","s:test");
I have this error
0(0) fixing /usr/local/lib/ser/modules/avpops.so avp_write 0(0) ERROR:avpops:fixup_write_avp: source "hdr[Contact]" unknown! ERROR: error -1 while trying to fix configuration
Tanks in advance
Francisco Talavera
-----Mensaje original----- De: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] En nombre de Daniel-Constantin Mierla Enviado el: Tuesday, August 09, 2005 9:47 AM Para: Francisco Talavera CC: serusers@lists.iptel.org Asunto: Re: [Serusers] 200 ok without contact header field
If you want to take the Contact header from register and add it to reply, use avpops module -- avp_write() and avp_pushto() -- http://www.voice-system.ro/docs/avpops/.
Daniel
On 08/09/05 16:18, Francisco Talavera wrote:
Hello,
I had some problems with this scenario.
UA SER
--------------------------------Register--------------------------à
ß-----------------------200 ok without contact-------------
The 200 ok response doesnt have the contact header field. And my UA needs this header field.
I dont want to use save(location) function. Is there some function that adds the contact header in the response?
Ing. Francisco Talavera
Email: francisco.talavera@conexiongroup.com
Conexión S.A.
Asunción, Paraguay
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers