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

Vincent Delporte udc91pk02 at sneakemail.com
Wed Jun 28 15:38:31 MST 2006


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





More information about the asterisk-users mailing list