[SR-Users] Store auth username in registrations

Spencer Thomason spencer at 5ninesolutions.com
Wed Feb 8 02:59:35 CET 2012


Can I replace the To: username and then call save():


On Feb 7, 2012, at 5:56 PM, Alex Balashov wrote:

> Spencer,
> 
> With registrations, it is the To URI, not the From URI, that determines the AOR stored.  The From URI is only used as the asserted identity for requests like INVITE.
> 
> Not sure if that helps.
> 
> --
> This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors.
> 
> 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.alexbalashov.com
> 
> On Feb 7, 2012, at 8:48 PM, Spencer Thomason <spencer at 5ninesolutions.com> wrote:
> 
>> Hello,
>> I have clients which register to Kamailio using an auth username.  The from username is used for caller id on an INVITE.  This causes a problem if the client does not use the auth username in the from for the REGISTER.  The caller id number is then saved as the AOR username which doesn't correspond to a valid account.  Is there a way I can store the authorized username instead of the From username in the AOR?
>> 
>> Thanks,
>> Spencer
>> 
>> 
>> _______________________________________________
>> 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
> 




More information about the sr-users mailing list