[asterisk-users] Distinct call permissions for each user

Ricardo Carvalho rjcarvalho at reit.up.pt
Mon Feb 19 03:10:01 MST 2007


Thanks Luki, that's exactly what I was looking for, I'll give it a try...
Regards,
Ricardo.




Luki wrote:
>> someone please give me one example?
>
> [locals]
> exten => _NXXXXXX,1,Macro(outcall,${EXTEN})
>
> [longdistance]
> exten => _1NXXNXXXXXX,1,Macro(outcall,${EXTEN})
>
> [macro-outcall]
> exten => s,1,Dial(SIP/${ARG1}@...)
> exten => s,2,Dial(Zap/.../${ARG1})
>
> [fullaccess]
> include => locals
> include => longdistance
> include => ...
>
> [restricted]
> include => locals
> include => ...
>
> Put user A into the restricted context, and user B into the fullaccess
> context. You can include other extension (i.e. services) and implement
> roll-over onto a backup trunks in macro-outcall.
>
> You can of course also simply it and only have two contexts and no 
> macro, etc.
>
> --Luki
> _______________________________________________
> --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
>



More information about the asterisk-users mailing list