[Serusers] Re: How Do I Check ACLs When Caller ID Blocking Is Enabled?

Java Rockx javarockx at gmail.com
Thu Mar 31 21:53:34 CEST 2005


I found the answer.

For those interested, you call proxy_authorize() to have the SIP
client include digest credentials. Then you can use is_user_in() like
this:


if (is_user_in("credentials", "free-pstn")) {
    # do something
};


Regards,
Paul


On Thu, 31 Mar 2005 14:09:26 -0500, Java Rockx <javarockx at gmail.com> wrote:
> Hi All.
> 
> How do I effectively use is_user_in() to check group permissions when
> the SIP client has caller-id blocking enabled?
> 
> In other words, how can I determine if a caller has "free-pstn" access
> when they enable caller-id blocking on their SIP phone?
> 
> Here is what I'm doing:
> 
>                         if (is_user_in("From", "free-pstn")) {
>                                 setflag(30);
>                         };
> 
> Regards,
> Paul
>




More information about the sr-users mailing list