[Asterisk-Users] Dialplan help - Can dial any user but not the PSTN
Chad Brown
chad.brown at identitymine.com
Sun Dec 19 20:43:57 MST 2004
What is the most efficient way to allow inbound callers to dial internal
users yet restrict them from outbound PSTN calls? Today I have a basic
greeting that after a welcome message allows inbound callers the ability
to dial any of my users. However, it seems that since I transfer the
inbound caller to a context that allows them the ability to call my
internal users they have the same rights as internal users and therefore
can place outbound calls.
To work around this I have 2 contexts... [Default] where all my users
live but has an "include => outbound " statement. I also have a second
context named [nooutbound] where I have the exact same users minus the
include statement. Needless to say, I transfer my inbound callers into
the [nooutbound] so they can call all my users but don't have a path to
the outbound context.
Works great! However, there must be a more eloquent solution without the
duplication. Thoughts?
Chad Brown - IdentityMine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041219/ff08e72f/attachment.htm
More information about the asterisk-users
mailing list