[Asterisk-Users] Problem with Capi Channel

Scannachiappolo scannachiappolo76 at swissinfo.org
Mon Jul 12 08:28:20 MST 2004


Hi all,
I have installed a test machine with asterisk in order to try it. I have a
problem with capi channel (chan_capi 0.3.4a). When an external call directed
to an internal Ip phone is not answered I obtain this warning repeated many
times:
....
....
Jul 12 16:13:43 WARNING[1209214400]: app_dial.c:302 wait_for_answer: Unable
to forward frame
Jul 12 16:13:43 WARNING[1209214400]: app_dial.c:302 wait_for_answer: Unable
to forward frame
Jul 12 16:13:43 WARNING[1209214400]: app_dial.c:302 wait_for_answer: Unable
to forward frame
Jul 12 16:13:43 WARNING[1209214400]: app_dial.c:302 wait_for_answer: Unable
to forward frame
-- CAPI Hangingup
== No one is available to answer at this time
-- Executing Busy("CAPI[contr1/492]/1", "") in new stack

Sometimes instead the error is the following:

Jul 12 16:10:38 NOTICE[1217602880]: chan_capi.c:1172 capi_request: didn't
find capi device with outgoing msn = 460. you should check your config!
Jul 12 16:10:38 NOTICE[1217602880]: app_dial.c:536 dial_exec: Unable to
create channel of type 'CAPI'

If the call is answered no problem occurs. Any suggestion?

My configuration files are as follow:

CAPI.CONF

[general]
nationalprefix=0
internationalprefix=00
rxgain=1
txgain=1

[interfaces]
msn=460
incomingmsn=*
controller=1
softdtmf=0
context=sisge
echosquelch=1
isdnmode=ptp
devices=2

msn=492
incomingmsn=*
controller=1
softdtmf=0
context=sisge
echosquelch=1
isdnmode=ptp
devices=2

SIP.CONF

[general]
port = 5060
bindaddr = 0.0.0.0
context = sisge
tos = lowdelay
disallow = all
allow = ulaw
allow = alaw
allow = gsm
localnet = 192.168.1.0
localmask = 255.255.255.0
language = it
canreinvite= no

[492]
context=sisge
username=492
type=friend
secret=492
host=dynamic
qualify=yes
callerid=492
dtmfmode=rfc2833

EXTENSIONS.CONF

[general]
static=yes
writeprotect=no
TRUNK=CAPI

[globals]

[sisge]
exten => 492,1,Dial(SIP/492,60,tr)
exten => 492,2,Hangup
exten => 492,102,Hangup

exten => _.,1,Dial,CAPI/460:bBYEXTENSION
exten => _.,2,Hangup






More information about the asterisk-users mailing list