I believe I have got it going down the right path now ... I have a few users that don¹t auth, as I have them listed as static entries in the location table as well as in the trusted table. I was testing with one of those PBX¹s that don¹t auth, so it was throwing me off. Since its just a few hardcoded trusted, I am doing an if/else on $si and assigning $var(blah) that way, and everyone else has $aU assigned to $var(blah).
ThIs all ties into my previous thread form which I am using $var(blah) on my get_profile_size for my quota/call-limit checks for my outbound call tracking. $rU works across the board for the inbound. I am now back to determine what is the best way to store the call-limit values ... In the subscriber table as a new column or in the quota table that I was using before. Thank you again Alex for all the pointers; indeed the dialog module is the best way to handle this. -graham On 10/1/11 1:45 PM, "Alex Balashov" <abalas...@evaristesys.com> wrote: > Alternately, if you dislike any of these paradigms or find the order of > operations inconvenient, just roll your own. That's what sqlops is for. > > -- > 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/ <http://www.evaristesys.com/> > > On Oct 1, 2011, at 10:43 AM, "gra...@g-rock.net" <gra...@g-rock.net> wrote: > >> 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" <abalas...@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@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 <http://www.evaristesys.com> / >> >> On Oct 1, 2011, at 9:24 AM, Graham Wooden <gra...@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@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> >>> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >>> <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users