[SR-Users] usage of the select function

Pavel Eremin eremina.net at gmail.com
Tue Jan 27 06:10:29 CET 2015


Hi, man!

Why you don't want to parsing Header "Authorization" with texops module?


2015-01-26 22:16 GMT+05:00 Олег Першин <pershin88 at gmail.com>:

> 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.
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150127/c0e1b879/attachment.html>


More information about the sr-users mailing list