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/[EMAIL PROTECTED])
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