I’ve got a T1 card configured correctly, how do i do under extensions.conf so it will dial out though the card, and also how do i do so it dials one number first, then after 30 secs it dials another number, and if neither picks up it dials another two numbers simultaneously, thanks a million!!
depends…if your telco is sending calls to your T1 in ascending order (ie, dial from trunk 1 upwards), you would want to initiate calls in a descending order…
in zapata.conf, you should have your channel defs, something like this:
…
group=1
channel=1-24
to dial out, you would want to use Zap/G1, which indicates Group 1, DEscending order (ie, dial from trunk 24 downwards)
so, in extensions.conf, dialing 9 to reach an outside line, you need the following:
also, in case you were wondering about if you have multiple people dialing at the same time, that is what Zap groups are for.
in the Dial command, when you indicate the channel as G1 or g1, you’re saying to the Dial command “Dial on GROUP 1” - this will hunt for the first available trunk in whatever direction you have chosen (G1 means descending order, g1 means ascending order, R1 means descending round-robin, r1 means ascending round-robin). So, if two people dial out at the exact same time, whichever call hits the server first gets routed out first, and the second call will be routed over a different trunk in the same group - it just depends on which group definition you use.
now, if you want to dial two numbers from one phone (ie dial your home and cell at the same time), then baconbuttie’s method is exactly what you need to do.
read up on the wiki, all of this is covered there in detail. have fun.
i meant my brain … every post i have made i’ve had to go edit it at least twice. perhaps i should get back to some work instead [/quote]
lol, i know the feeling…i’m not doing much better myself - last night was the first night without pain pills in a while - made for some interesting dreams…