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(a)tutpro.com>
To: "Hakan YASTI" <hakanyasti(a)gmail.com>
Cc: <users(a)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