[Users] check displayname with proxy-authorizationname

Hakan YASTI hakanyasti at gmail.com
Thu Aug 17 16:56:16 CEST 2006


Hi All,

The below is  solving my problem. ( check_from())
Best Regards,
Hakan.

if (!allow_trusted()) {

        if (!proxy_authorize("","subscriber")) {
                proxy_challenge("","0");
                return;
        } else if (!check_from()) {
                sl_send_reply("403", "Use From=ID");
                return;
        };


----- Original Message ----- 
From: "Juha Heinanen" <jh at tutpro.com>
To: "Hakan YASTI" <hakanyasti at gmail.com>
Cc: <users at openser.org>
Sent: Thursday, August 17, 2006 4:55 PM
Subject: [Users] check displayname with proxy-authorizationname


> Hakan YASTI writes:
>
> > I want to check the "AUTHORIZATION_USERNAME" at proxy-authorization with 
> > the "DISPLAY_NAME" of the user agent.( I want them to be same ).
> > How can I do this ?
>
> check if there exists pseudo variables for both and use avpops to make
> the comparison.  if not, make a feature request.
>
> -- juha 





More information about the Users mailing list