[Users] check displayname with proxy-authorizationname
Klaus Darilion
klaus.mailinglists at pernau.at
Mon Aug 21 12:11:57 CEST 2006
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