[OpenSIPS-Users] proxy_authorize : credentials with given realm not found

Liviu Chircu liviu at opensips.org
Tue Jun 22 21:26:58 EST 2021


On 03.06.2021 17:11, BASSAGET Cédric wrote:
> proxy_authorize(realm, table)
> Realm is an opaque string that the user agent should present to the 
> user so it can decide what username and password to use. Usually this 
> is domain of the host the server is running on.
> If an empty string “” is used then the server will generate it from 
> the request. From header field domain will be used as realm.

Hi,

Since you are dealing with a REGISTER, I would expect proxy_authorize() 
to grab the realm from the To header and not the From, as it does with 
all other requests.  The docs have been fixed on newer versions than 2.2 
to suggest this...

Best,

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS Summit 2021 Distributed | www.opensips.org/events




More information about the Users mailing list