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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 > > > [EMAIL PROTECTED] > > > 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 > > [EMAIL PROTECTED] > > 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 > [EMAIL PROTECTED] > 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
