[SR-Users] usage of the select function

Олег Першин pershin88 at gmail.com
Mon Jan 26 18:16:49 CET 2015


Hi!
Please help me to figure out how to use "@select" or "$sel" in routes.

For example: there is a sip message at the entrance of kamailo. This
message contains an authorization header.

Authorization: Digest username="oleg.pershin", realm="178.62.221.112",
nonce="VMT1cVTE9EVT/6/MLuDZR8dA4g1Mfir4", uri="sip:178.62.221.112",
response="6eb5427433ef0b51832829f9fd4340ea", algorithm=MD5

           Authentication Scheme: Digest
            username="oleg.pershin"
            realm="178.62.220.111"
            nonce="VMT1cVTE9EVT/6/MLuDZR7dA4g1Mfir4"
            uri="sip:178.62.220.111"
            response="6eb5327433ef0b51832829f9fd4340ea"
            algorithm=MD5

So I want to get a value from the "nonce"  with  "@select" or "$sel"
functions .

How will it look like?

Best regards, Oleg Pershin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150126/10191f53/attachment.html>


More information about the sr-users mailing list