[Asterisk-Users] 2 cards
Altus Snyman
altus at stormcorp.co.za
Tue Jul 27 06:48:25 MST 2004
Ya but the one is zaptel nd one voicetronix so it uses vpb.conf for
example sales
On Tue, 2004-07-27 at 15:39, Seth Remington wrote:
> On Tue, 2004-07-27 at 06:07, Altus Snyman wrote:
> > My question is,can I configure each
> > card for different departments,for example,all calls coming in on zaptel
> > will say "welcome to sales dep" and calls going out from 100+ will go
> > out on the vpb channels.And the same for the zaptel,calls coming in line
> > on zap will say "welcome to ADFAG admen dep" and calls made by admin(sip
> > 200+) will go out on zap channels?
>
>
> You can assign each Zap channel to a different context in zapata.conf.
> Once you have them separated into different contexts you have each line
> do completely different things in your dial plan on incoming calls. For
> example...
>
> In zapata.conf:
>
> ...
> context=sales
> channel=1
> ...
> context=admin
> channel=2
> ...
>
> Then in extensions.conf:
>
> ...
> [sales]
> exten => s,1,Answer
> exten => s,2,Background(welcome-sales)
> ...
> [admin]
> exten => s,1,Answer
> exten => s,2,Background(welcome-admin)
> ...
>
> -Seth
More information about the asterisk-users
mailing list