[Asterisk-Users] 2 cards

Seth Remington sremington at saberlogic.com
Tue Jul 27 06:39:11 MST 2004


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

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559




More information about the asterisk-users mailing list