When you dial a zap interface you have to reference the channel.   

So:
exten => 190,1,Dial(ZAP/g1/8001112222) ; Cell Phone

Using the above, would dial out on GROUP 1.  When you setup your zaptel
hardware you assign the channels to a group.  You can then reference
that group and * will dial out using an available channel.  Using the
lowercase g will tell * to dial out using channels with a lower number.
Using an uppercaes G will tell * to dial out using the highest channel
number available.

You could also create a variable called TRUNK=ZAP/G1 in your [globals]
section.

Then you could do this:
exten => 190,1,Dial(${TRUNK}/8001112222) ; Cell Phone


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 3:11 PM
To: [email protected]
Subject: [Asterisk-Users] Dumb Dialout Question

I'm still trying to learn some parts of Asterisk, so sorry in advance
for the dumb question!

How do I set up an extension to dial out to the PSTN through my ZAP
interfaces?  I want the ability to have a ring group that will ring all
of the phones in an office and then ring cell phones if nobody answers.
I'm sure this is simple to do but I'm at a loss.

I have tried the following configs in extensions.conf to no avail:

exten => 190,1,Dial(ZAP/[EMAIL PROTECTED]) ; Cell Phone

exten => 190,1,Dial(ZAP/8001112222) ; Cell Phone

exten => 190,1,Dial(SIP/[EMAIL PROTECTED]) ; Cell Phone

exten => 190,1,Dial(ZAP/8001112222) ; Cell Phone

Thank you in advance!





___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to