[sr-dev] accessing nonce, response, cnonce in auth digest header

Luis Azedo luis at 2600hz.com
Sat Jul 4 08:07:31 CEST 2015


Hi List,

i'm trying to access nonce, cnonce and response params inside auth digest header
but i'm failing miserably. any suggestions i can do this in the script ?

tried to use @hf_value2.authorization.nonce but it returns the full header (maybe i didn't understood how it works?)

so i was thinking, if there isn't an easy way to get this, i could extend the pv module to add
$an, $acn, $ar (or better names, suggestion welcomed)  to get these values.

thoughts ?

Best
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150704/bce36a39/attachment.html>


More information about the sr-dev mailing list