[Serusers] Proxy_authorize, www_authorize

Lasse Jansson lasse at solstiernan.nu
Mon Mar 3 00:11:21 CET 2003


Hi Michael,

This is exactly what I would like to achieve.

I understand the meaning of your pseudo code below, but alas I have not enough 
knowledge and skills to transform your pseudo code below into a working 
script.

Could you please provide a real example ?

Lasse

Michael_Graff at isc.org wrote:
> Nils Ohlmeier <nils at ohlmeier.de> writes:
> > A proxy can challenge Invites and Byes, but should not do this with
> > external Invites to your local user. Otherwise your your user
> > wouldn't be reachable  from outside.
>
> I implemented something much like this:
>
> if (to me):
>         if register
>
>                 www_authorize or fail if not a valid register
>
>                 done
>
>         if claiming to be "From" one of the domains I accept
>         registrations for
>
>                 proxy_authorize
>
>                 done
>
> if not to me (I'm relaying for a local phone to an external address)
>
>         proxy_authorize (once again, based on from address)
>
>         done
>
> --Michael




More information about the sr-users mailing list