[SR-Users] modify Proxy-Authenticate header parameter

David Villasmil david.villasmil.work at gmail.com
Fri Oct 9 00:27:27 CEST 2020


Hello guys,

I'm receiving a Proxy-Authenticate header with a special parameter, call if
"myparam", something like:

Proxy-Authenticate: Digest realm="sip.mydomain.com", nonce="...",
algorithm=MD5, qop="auth", opaque="XXXX/YYYY"

I can get the parameter like so:

$var(myparam) = @proxy_authorization["sip.mydomain.com"].myparam;

And this is great!

But i need to replace part of the parameter "myparam"m and I can't figure
out how to do it...

Can anyone help me with this?

Thanks!,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201008/3b3b8486/attachment.htm>


More information about the sr-users mailing list