[Serusers] best way to allow outbound calls from multiple SEMS serves
Martin Hoffmann
hn at nvnc.de
Sun Jun 15 12:11:38 CEST 2008
x-ser at sidell.org wrote:
>
> # Gateways are usually not able to authenticate for their requests.
> # You have to trust them base on some other information such as the
> # source IP address.
> # WARNING: If at all this is only safe in a local network!
> if (@src.ip == $gw_ip) {
> break;
> }
>
> I suppose I could perform the test multiple times, once for each SEMS
> server. But, I wonder if there is a nice 2.0-style database-oriented
> way to allow invites from multiple trusted sources?
Please have a look at the permissions module. I have never used it
myself, but it appears to be exactly what you are looking for.
Regards,
Martin
More information about the sr-users
mailing list