[Serusers] More on call control
Alessio Focardi
alessiof at interconnessioni.it
Tue Feb 10 17:36:57 CET 2004
HI,
I rewrote the pstn transfer script:
if (uri=~"0*@DOMAINNAME") {
if (!www_authorize("DOMAINNAME", "subscriber")) {
www_challenge("DOMAINNAME", "0");
break;
};
rewritehostport("IP:5090");
t_relay_to_udp("IP", "5090");
break;
};
now only call that are really coming from an user I have authorized are
trasfered to telco gw, right ?
But now ... how can I select this privilege just for some users ? I already
have assigned a "local" permission to some of them ....
Tnx !
Alessio Focardi
More information about the sr-users
mailing list