[SR-Users] Setting avp from load_credentials

graham@g-rock.net graham at g-rock.net
Sat Oct 1 16:43:31 CEST 2011


I know I am Auth'ing users, but apparently need to confirm the location of www_authorize. Thanks for the pointers Alex. 

Sent from my HTC on the Now Network from Sprint!

----- Reply message -----
From: "Alex Balashov" <abalashov at evaristesys.com>
Date: Sat, Oct 1, 2011 9:07 am
Subject: [SR-Users] Setting avp from load_credentials
To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users	Mailing List" <sr-users at lists.sip-router.org>

Sure it is, but credentials only get loaded if you are doing proxy/www_authorize() beforehand.  Are you?

--
This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness.

Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

On Oct 1, 2011, at 9:24 AM, Graham Wooden <graham at g-rock.net> wrote:

> Hi there,
> 
> Just doing a quick test and this doesn’t appear to be working. Kamailio
> 1.5.5-notls.  Snippet of code:
> 
> modparam("auth_db", "load_credentials", "username")
> .
> .
> .
> xlog("username is $avp(s:username)\n");
> 
> 
> The result is '<null>'. Is this not available in the route{} ?
> 
> Thanks,
> 
> -graham
> 
> 
> 
> 
> 
> _______________________________________________
> 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

_______________________________________________
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/20111001/0a5827ec/attachment.htm>


More information about the sr-users mailing list