[OpenSIPS-Users] Retrieve headers from negative reply

Ovidiu Sas osas at voipembedded.com
Fri Mar 13 22:36:07 CET 2009


Or in 1.5 using the new T_rpl pv:
http://www.kamailio.net/dokuwiki/doku.php/pseudovariables:devel#t_rpl_pv

In your example: $T_rpl($ct) (inside the failure route).


Regards,
Ovidiu Sas

On Fri, Mar 13, 2009 at 5:06 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> El Viernes, 13 de Marzo de 2009, Jeff Pyle escribió:
>> Is there any way to retrieve headers from a response, rather than the
>> request?  I need the Contact header out of a 302 response.  Both
>> $hdr(Contact) and $ct give me the contact of the request, not the response.
>
> You must get them into a on_reply_route block.
>
> --
> Iñaki Baz Castillo
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list