[OpenSIPS-Users] b2b preserve header.
Jorge Henrique Pinho
jorge-h-pinho at ext.ptinovacao.pt
Wed Sep 12 12:26:27 CEST 2012
Hi all
In b2b, is there a way to preserve headers added in opensips routine when the second leg is generated? Here is an example
route
{
append_hf("Orig-User-Agent: $hdr(User-Agent)\r\n");
b2b_init_request("top hiding");
}
local_route {
if(is_present_hf("Orig-User-Agent"))
{
do stuff....
}
}
My goal is to preserve headers that b2b modules changes. Like User Agent header and To header.
Kind regards,
Jorge Pinho
Analyst/Developer
Network Platforms and Multimedia Solutions
Multimedia Division
More information about the Users
mailing list