[Asterisk-Users] CAPI call fails
Andreas Meyer
anmeyer at gmx.net
Thu Mar 31 01:01:52 MST 2005
Hi!
Can someone help me with a problem I have with CAPI and dialing out
or in? Installed is a B1ISA from AVM.
I have installed chan_capi-0.3.5. In modem.conf I have this entries:
[interfaces]
driver=chan_capi
type=autodetect
dialtype=tone
mode=immediate
msn=144673
device => /dev/ttyI0
device => /dev/ttyI1
in modules.conf:
[modules]
...
load => chan_capi.so
[global]
chan_capi.so=yes
in capi.conf:
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
[interfaces]
msn=144673
incomingmsn=*
outgoingmsn=144673
controller=1
softdtmf=1
accountcode=
context=ausgehend
echosquelch=1
echocancel=yes
echotail=64
;callgroup=1
deflect=144673
devices=2
and in extensions.conf:
exten => _3X.,1,Dial,CAPI/144673:${EXTEN:1}
with asterisk -r I get:
Connected to Asterisk 1.0.7 currently running on delta (pid = 1213)
Verbosity is at least 5
delta*CLI> capi debug
CAPI Debugging Enabled
-- parse_srv: SRV mapped to host proxy.de.sipgate.net, port 5060
-- Registered SIP 'andreas' at 192.168.1.3 port 5060 expires 1800
-- Saved useragent "X-Lite release 1105d" for peer andreas
-- Executing Dial("SIP/andreas-7ed4", "CAPI/144673:0634187482") in new stack
-- data = 144673:0634187482
-- capi request omsn = 144673
== found capi with omsn = 144673
== CAPI Call CAPI[contr1/144673]/3 -- creating pipe for PLCI=-1
-- Called 144673:0634187482
-- CONNECT_CONF ID=002 #0x0007 LEN=0014
Controller/PLCI/NCCI = 0x101
Info = 0x0
-- CONNECT_CONF ID=002 #0x0007 LEN=0014
Controller/PLCI/NCCI = 0x101
Info = 0x0
== received CONNECT_CONF PLCI = 0x101 INFO = 0
-- DISCONNECT_IND ID=002 #0x0005 LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x3302
== DISCONNECT_IND PLCI=0x101 REASON=0x3302
-- CAPI Hangingup
-- removed pipe for PLCI = 0x101
== No one is available to answer at this time
-- Timeout on SIP/andreas-7ed4
== CDR updated on SIP/andreas-7ed4
-- Executing Hangup("SIP/andreas-7ed4", "") in new stack
== Spawn extension (ausgehend, t, 1) exited non-zero on 'SIP/andreas-7ed4'
X-lite tells me: Call failed: 403 Forbidden
I have no clue what is going wrong.
capi info tells me this:
delta*CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
and cat /proc/capi/controllers/1:
name b1isa-340
io 0x340
irq 7
type B1 ISA
ver_driver 3.11-03
ver_cardtype B1
ver_serial 02081722
protocol DSS1
linetype point to multipoint
cardname B1
I tried a lot different settings with no success. Can someone help
me with this? Is the B1 defective or is it the cable?
Thanks in advance!
--
Andreas Meyer
More information about the asterisk-users
mailing list