-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Julian Varanini wrote: > Hi, > > Does anyone have a good example of how to restrict International calls > to only certain users? I have been messing around with contexts in the > extensions.conf file with no success. > > Thanks > > Julian
Have you tried: [international] exten => _00.,1,...etc [national] exten => _0[12].,1,...etc [local] exten => _NXXXXX,1,...etc [mobiles] exten => _07Z.,1,...etc [default] include => emergency ;actual extensions here ; anyone can dial the emergency services ; always include this context [trusted_users] include => default include => international include => national include => local include => mobiles [national_local] include => default include => national include => local [local_only] include => default include => local Then register your users in the appropriate context. - -- Ron Wellsted [EMAIL PROTECTED] http://www.wellsted.org.uk N 52.567623, W 2.137621 Linux Counter No. 202120 FWD:519961 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRaabEktP/KMNOfRbAQLowwf/YS8U3HtnpBqp/iOx2k+MYYWdTiNk6/iy YENRD3V7wwuSpoLA1w9MKDwGJ6UD0v0Pc2taLde9FOFZTg3fGNxntFRGlgu0dgxb nm24sjvHfLP+MIqIdhfs3lxc37bHwZImGBy0veQxcb9ufKr/BZ175hU6gewl5ZBR dIF3L6tM7ri5UxcQe2GbzuZkPcjUr598OWbXx1Wg1KPz2LMz/tFEqgR0ctmhf8w1 aWycELWTyDWhXm1L06kgpjThlsjjWQWshN1unDVvcr8pO/O9Bwr3V5XWWRmeKTTi K56ZJUaf7hEP+uDVYVIdt7S4fJRgdgqueRIw1AEwxfr0Vko7N/j0Kg== =jocx -----END PGP SIGNATURE----- _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
