[Asterisk-Users] Re: Two FXO: How to dial a number when a RINGcomes in?

Ioan Indreias ioan.indreias at modulo.ro
Thu Jun 29 03:41:20 MST 2006


Hi,

I have tried and here it works fine (asterisk 1.2.1), with the following
configuration:

zapata.conf
....
context=testing
channel => 5

extensions.conf
....
[testing]
exten => s,1,Dial(ZAP/1/07XXXXXX)


from CLI:
    -- Starting simple switch on 'Zap/5-1'
    -- Executing Dial("Zap/5-1", "ZAP/1/07XXXXXX") in new stack
    -- Called 1/07XXXXXX
    -- Zap/1-1 answered Zap/5-1
    -- Attempting native bridge of Zap/5-1 and Zap/1-1
And the calls are bridged.


So, as others sugest, double check ZAP/2 channel.

BR,
Ioan - www.modulo.ro




-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Vincent
Delporte
Sent: Thursday, June 29, 2006 1:39 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Re: Two FXO: How to dial a number when a RINGcomes
in?

Hi

From: "Noah Miller" <noahisaacmiller at gmail.com>

>Sorry for the long delay in responding.  I didn't see you message until 
>now due to the postfix problems on the mailing list.

No problem. I've decided to dump the rPath PoundKey linux distro because it 
was still using Asterisk 1.2.5 and it was pointless to try to solve this 
issue using older versions. Incidently, at least two people tried to do 
what I'd like to do... but failed.

I'm beginning to think no one at Asterisk ever had the idea that maybe 
someone would want to use Asterisk just as a simple bridget between two 
POTS lines, with no IVR...

>I think Eric Wieling is right.  You have another problem not related to 
>what you are trying to do in the dialplan.  It sounds like one of your fxo 
>cards or one of your phone lines is not working properly (or maybe 
>both).  Test both phone lines and both interfaces by dialing into both of 
>them (make sure they are pointed to a context in the extensions.conf, and 
>make sure they have something to do there when you try to dial).  Can you 
>get in to the asterisk box at all?  Then
>try swapping the phone lines with the fxo interfaces.  Can you dial in
then?

I'll finish installing Asterisk tomorrow (got an error when compiling 
Zaptel on Fedora 5, but found the probable reason why on the web forum). 
Once it's up and running, I'll go through the tests, including setting up 
an SIP softphone on a Windows host and trying to call out or be called in 
through both FXO cards.

In the mean time, the config files are really basic:

------------- FILES ---------------------

ZAPTEL.CONF
fxsks=1,2
loadzone=fr
defaultzone=fr

ZAPATA.CONF
[channels]
context=cherbourg
signalling=fxs_ks
usecallerid=yes
echocancel=yes
channel=>1,2

EXTENSIONS.CONF
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

[globals]
TRUNK=Zap/2                                     ; Trunk interface

[cherbourg]
;If RING on Zap/1, just dial remote through through Zap/2
exten => s,1,NoOp(Before Dialing out through ${TRUNK})
exten => s,n,Dial(${TRUNK}/01XXXXXX)
exten => s,n,NoOp(After Dialing out through ${TRUNK})

------------- FILES ---------------------

Your help is much appreciated :-)
VD.


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.9.5/377 - Release Date: 27/06/2006


_______________________________________________
--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




More information about the asterisk-users mailing list