[Asterisk-Users] Incoming calls
Rich Adamson
radamson at routers.com
Wed Feb 2 13:20:19 MST 2005
> OK I have 12 phone lines connected to 3 digium TDM04B cards on the same
> server. I must do the following thing :
>
> The first 10 lines will be use by one company and the 2 left by another
> one. For outgoing calls it's quite easy I just create 2 different group
> and let them dial on a different one. But for incoming calls how can I
> setup asterisk to answer on the first 10 lines with one message and on
> line 11 and 12 with another one?
>
> If I put the s,1, Answer thing it will answer all 12 lines with the same
> message...
>
> I'm sure it's easy but I just don't know how to do it.
In zapata.conf, do something like this:
context=CompanyA
signaling=fxs_ks
<any other channel specific parameters needed)
channel => 1-10
context=CompanyB
<any channel specific parameters needed)
channel => 11-12
With the above, all calls arriving on zap channels 1-10 are directed to
the CompanyA context in extensions.conf, while channels 11-12 are directed
to CompanyB context in extensions.conf.
In extensions.conf, do whatever the customer needs for each incoming
call on a "per context" basis.
More information about the asterisk-users
mailing list