[Asterisk-Users] More switch => stuff

Steven Critchfield critch at basesys.com
Wed Jul 2 08:47:48 MST 2003


On Wed, 2003-07-02 at 10:36, Eric Wieling wrote:
> I have a two remote PBXs.  I use the switch => statement on each PBX to
> point to the other PBX.
> 
> Now I want extensions on PBX-1 to dial extensions and PSTN numbers that
> are local to PBX-2.
> 
> However, I ALSO want people to be able to dial into a Zap channel on
> PBX-1 and be able to dial extensions on PBX-2, but NOT the PSTN numbers
> that are local to PBX-2.
> 
> What would be the best way to do this?  Do I have to set up separate
> users in iax.conf, one for using with a switch statement in the context
> calls to the Zap channel lands in and one user for calls from extensions
> land in?

I believe you can specify contexts with the switch command. If so you
can include a switch to an extensions context on the remote pbx in your
inbound context while using a more full featured context for calls
originating from inside. Look into that, if I am, then yes, you will
need to create the second IAX user in each direction. 
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list