[Users] check displayname with proxy-authorizationname
Hakan YASTI
hakanyasti at gmail.com
Mon Aug 21 12:20:53 CEST 2006
Hi Klaus,
Yes, I noticed that. What I was looking for, when the ip is not trusted, I
want user, to authorize with the username which is the same with CLI of it.
Thanks for your interest.
Hakan.
----- Original Message -----
From: "Klaus Darilion" <klaus.mailinglists at pernau.at>
To: "Hakan YASTI" <hakanyasti at gmail.com>
Cc: "Juha Heinanen" <jh at tutpro.com>; <users at openser.org>
Sent: Monday, August 21, 2006 1:11 PM
Subject: Re: [Users] check displayname with proxy-authorizationname
> Hakan YASTI wrote:
>> 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;
>> };
>
> Hi Hakan!
>
> AFAIK this does check the username in the URI in the from header, but not
> in the display part, e.g:
>
> From: "George Bush" <sip:user at domain.com>
> ^^^ ^^^^
> not checked checked
>
> regards
> klaus
>
>
>>
>>
>> ----- 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
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the sr-users
mailing list