[solved] extensions.conf with Mutiple inboud #s - Newbie

I have looked in several books on * and could not find an example.on this.

Maybe the answer is so obvious no “example” was needed ?

Anyway, here goes

  • If I have a T1 with with 3 Different 800 #s coming in on it
    and on ALL channel definitions I direct them to a starting context of
    "incoming"

  • If in “extensions.conf” can I do the following

[incoming]
18006666666,1,Application-1-For-666
18006666666,2,Application-2-For-666
18007777777,1,Application-1-For-777
18007777777,2,Application-2-For-777
18008888888,1,Application-1-For-888
18008888888,2,Application-1-For-888

OR

am I missing how “extensions.conf” works ?

I am trying to conrol what happens on EACH 800 in a seperate
customized way so that each 800 seem to be in its own dedicated server.

Thx In Advance for any

you have the right idea exactly, just the syntax is wrong and I’d do it differently. Remember you need exten => for each line.

Also Goto() is your friend because you can have large scripts without typing the DID 50 zillion times

try this for a sample-

[your-incoming-context] ; put the PRI here

exten => 18001112222,1,Goto(ivr1,s,1)
exten => 18003334444,1,Goto(ivr2,s,1)
exten => 18005556666,1,Goto(ivr3,s,1)

[ivr1]
exten => s,1,first thing to do
exten => s,2,second thing to do

[ivr2]
exten => s,1,first thing to do
exten => s,2,second thing to do

[ivr3]
exten => s,1,first thing to do
exten => s,2,second thing to do

a bunch !!!