[Asterisk-Users] More switch => stuff

Eric Wieling eric at fnords.org
Wed Jul 2 09:02:00 MST 2003


If you have to set up different users for the different contexts what'
the usefulness of having a /context on the switch => statement?

On Wed, 2003-07-02 at 10:47, Steven Critchfield wrote:
> 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. 
-- 
BTEL Consulting
850-484-4535 x2111 (Office)
504-595-3916 x2111 (Experimental)
877-552-0838 (Backup Phone)




More information about the asterisk-users mailing list