Hello,
I just installed freepbx 2.2.1 in a centos 4.4 following the steps given at: http://powerontech.com/FreePBX-Production-Install-Guide.htm
I have an X101P card with an FXO port. I have created a new incoming route that tells the asterisk to route incomings calls to a specific sip extension. However this is not working.
In the zapata.con I have the following:
[trunkgroups]
; define any trunk groups
[channels]
; hardware channels
; default
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
busydetect=yes
busycount=6
echocancelwhenbridged=yes
echocancel=yes
echotraining=yes
rxgain=1.2
txgain=1.2
; define channels
context=from-zaptel; Incoming calls go to [from-zaptel] in extensions.conf
signalling=fxs_ks ; Use FXS signalling for an FXO channel
channel => 1 ; PSTN attached to port 1
This is what I see at the asterisk console when arrives to it an incoming call:
-- Starting simple switch on 'Zap/1-1'
-- Executing NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new stack
-- Executing Ringing("Zap/1-1", "") in new stack
-- Executing Set("Zap/1-1", "DID=s") in new stack
-- Executing NoOp("Zap/1-1", "DID is now s") in new stack
-- Executing GotoIf("Zap/1-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,8)
-- Executing NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack
-- Executing Set("Zap/1-1", "CHAN=1-1") in new stack
-- Executing Set("Zap/1-1", "CHAN=1") in new stack
-- Executing Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack
-- Executing NoOp("Zap/1-1", "Returned from Macro from-zaptel-1") in new stack
-- Executing Goto("Zap/1-1", "from-pstn|s|1") in new stack
-- Goto (from-pstn,s,1)
-- Hungup 'Zap/1-1'
-- Starting simple switch on 'Zap/1-1'
-- Executing NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new stack
-- Executing Ringing("Zap/1-1", "") in new stack
-- Executing Set("Zap/1-1", "DID=s") in new stack
-- Executing NoOp("Zap/1-1", "DID is now s") in new stack
-- Executing GotoIf("Zap/1-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,8)
-- Executing NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack
-- Executing Set("Zap/1-1", "CHAN=1-1") in new stack
-- Executing Set("Zap/1-1", "CHAN=1") in new stack
-- Executing Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack
-- Executing NoOp("Zap/1-1", "Returned from Macro from-zaptel-1") in new stack
-- Executing Goto("Zap/1-1", "from-pstn|s|1") in new stack
-- Goto (from-pstn,s,1)
-- Hungup 'Zap/1-1'
.
.
I can not either call from any sip extension to another one.
What must be done after a freepbx installation to put it to work ?
Thanks in advanced