[Asterisk-Users] Multi companies
Troy Settle
troy at psknet.com
Sat Jul 24 16:51:18 MST 2004
Sure, you can assign different contexts to different zap channels, but how
does this help? Normally, the telco will send each call on the first
available channel in a given trunk group, sometimes, they will come in on
random channels.
When a call rings in on Zap/1-1, the only way to know what to do with it, is
by the DNIS information.
exten => 2200,1,NoOp,Company A - main line
exten => 2201,1,NoOp,Company A - Fax
exten => 2211,1,noOp,Company A - CEO Direct Line
exten => 3000,1,NoOp,Company B - main line
exten => 3001,1,NoOp,Company B - Fax
exten => 3022,1,NoOp,Company B - Sales
exten => 3023,1,NoOp,Company B - Customer Service
Any of these calls might come in on any of your lines, so how does setting a
different context for different zap channels help?
--
Troy Settle
Pulaski Networks
http://www.psknet.com
866.477.5638
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Chris Shaw
> Sent: Friday, July 23, 2004 7:15 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] Multi companies
>
> Can't you just assign a context to a Zap channel or Group of
> Zap channels in
> zapata.conf just like you do with SIP? (e.g.
> Context=company1) If so, you
> don't need any of that, just create separate IVR contexts for
> each company
> and assign those contexts to specific Zap channels or channel
> groups you
> want...
>
> I might be wrong but that would seem to be the logical way to do it...
>
>
> ----- Original Message -----
> From: "Joshua McClintock" <joshm at singlestep.com>
> To: <asterisk-users at lists.digium.com>
> Sent: Friday, July 23, 2004 3:50 PM
> Subject: Re: [Asterisk-Users] Multi companies
>
>
> > You don't need the _ on the front of those extensions since those
> > particular examples aren't patterns. My mistake.
> >
> > Check out www.voip-info.org for MANY good examples.
> >
> > On Fri, 2004-07-23 at 15:21, Joshua McClintock wrote:
> > > Depending on the context that your 'incoming' lines are
> on, you can do
> > > something like this:
> > >
> > > [incoming-lines]
> > > exten => _1235551212,Macro(autoatt-company1)
> > > exten => _1235551213,Macro(autoatt-company2)
> > >
> > >
> > > [macro-autoatt-company1]
> > > Do some junk, dial some peeps
> > >
> > > [macro-autoatt-company2]
> > > Do some junk, dial some peeps
> > >
> > >
> > >
> > > On Fri, 2004-07-23 at 14:57, Martin Keding wrote:
> > > > I am fairly new to Asterisk and I want to do some testing with
> > > > multi-companies on the same box. I have two inbound lines and I
> basically
> > > > want one to trigger auto-att. for company 1, the other
> line to trigger
> > > > auto-attend for company 2. Could somebody point me to a
> sample conf.
> or
> > > > documentation.
> > > >
> > > > Thanks
> > > > Martin
> > > >
> > > > _______________________________________________
> > > > Asterisk-Users mailing list
> > > > Asterisk-Users at lists.digium.com
> > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > To UNSUBSCRIBE or update options visit:
> > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > >
> > >
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at lists.digium.com
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list