On 23/02/2017 12:18, Daniel Tryba wrote:
On Thu, Feb 23, 2017 at 12:54:17PM +0530,
vivek(a)advaitamtech.com wrote:
It dint solve my problem. Am not able to get the
proxy authenticate
header values using the module you mentioned too. Does this allow to
fetch the SIP header individually?
Yes, it use it to extract (part of) the contact header on a 302 redirect
reply:
$(T_rpl($ct){nameaddr.uri})
or some custom headers I inject in the redirector:
$T_rpl($hdr(X-fax))
Maybe it worth saying that these variables can be used inside the
failure_route.
If you need to get the header in [on]reply_route, then just use the
$hdr(Proxy-Authenticate) and it will return the header body. Then look
at transformations to extract parts of it.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) -
www.asipto.com
Kamailio World Conference - May 8-10, 2017 -
www.kamailioworld.com