[Serusers] 200 ok without contact header field
Francisco Talavera
francisco.talavera at conexiongroup.com
Tue Aug 9 18:43:49 CEST 2005
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 at iptel.org [mailto:serusers-bounces at lists.iptel.org] En nombre
de Daniel-Constantin Mierla
Enviado el: Tuesday, August 09, 2005 9:47 AM
Para: Francisco Talavera
CC: serusers at 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 doesn’t have the contact header field. And my UA
> needs this header field.
>
> I don’t want to use save(“location”) function. Is there some function
> that adds the contact header in the response?
>
> Ing. Francisco Talavera
>
> Email: francisco.talavera at conexiongroup.com
>
> Conexión S.A.
>
> Asunción, Paraguay
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list