<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> P, UL, OL, DL, DIR,
MENU, PRE { margin: 0 auto;}</STYLE>
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY leftMargin=1 topMargin=1 rightMargin=1><FONT
face=Tahoma size=2>
<DIV>Hi</DIV>
<DIV> </DIV>
<DIV>Newbie asterisk guy here and forgive
this slightly long mail, but I'm stuck on
this for a week.</DIV>
<DIV> </DIV>
<DIV>I'm having major problems getting a
Fritz card to dial out in the UK (or indeed
answer, but I've been concentrating on dialing
out). I'm getting the 0x3301 or 0x3302 error.</DIV>
<DIV>My capi.conf file is:<BR>--------------</DIV>
<DIV>[general]<BR>nationalprefix=0<BR>internationalprefix=00<BR>rxgain=0.8<BR>txgain=0.8</DIV>
<DIV>[interfaces]<BR>msn=1580XXXXXX
(the x's are replaced with our full msn)<BR>incomingmsn=*<BR>controller=1<BR>softdtmf=1<BR>accountcode=<BR>context=bodiam
(and the bodiam context includes bodiam-out)<BR>;echosquelch=1<BR>;echocancel=yes<BR>;echotail=64<BR>;callgroup=1<BR>;deflect=12345678<BR>devices=2</DIV>
<DIV><BR>The significant part of my extensions.conf
is:<BR>------------------------------<BR>[bodiam-out]<BR>exten
=> _9.,1,StripMSD,1<BR>exten => _.,2,NoOp("Test1")<BR>exten
=> _.,3,Dial,CAPI/1580xxxxxx:BYEXTENSION,30,r
(x's replaced with full msn)<BR>exten =>
_.,4 NoOp("test2")<BR>exten => _.,5,Congestion</DIV>
<DIV> </DIV>
<DIV>The output when enabling CAPI is</DIV>
<DIV>-----------------------------------------<BR>
-- Executing StripMSD("SIP/202-5a30", "1")
in new stack<BR> -- Executing
NoOp("SIP/202-5a30", ""Test1"") in new stack<BR>
-- Executing Dial("SIP/202-5a30", "CAPI/1580xxxxxx:BYEXTENSION")
in new stack<BR> -- data
= 1580xxxxxx:01580yyyyyy<BR>
-- capi request omsn = 1580xxxxxx<BR>
== found capi with omsn = 1580xxxxxx<BR>
== CAPI Call CAPI[contr1/1580xxxxxx]/0
-- Called 1580xxxxxx:01580yyyyyy
(01580xxxxxx has msn; 01580yyyyyy is number
being called)<BR> -- CONNECT_CONF
ID=001 #0x0004 LEN=0014<BR> Controller/PLCI/NCCI
= 0x101<BR> Info
= 0x0</DIV>
<DIV> == received CONNECT_CONF PLCI
= 0x101 INFO = 0<BR> --
DISCONNECT_IND ID=001 #0x0005 LEN=0014<BR>
Controller/PLCI/NCCI
= 0x101<BR> Reason
= 0x3301</DIV>
<DIV> == DISCONNECT_IND PLCI=0x101
REASON=0x3301<BR> == No one is available
to answer at this time<BR>Apr 6 07:51:34
WARNING[576]: pbx.c:1291 pbx_extension_helper:
No application '' for extension (bodiam,
01580yyyyyy, 4)<BR> == Spawn extension
(bodiam, 01580830902, 4) exited non-zero
on 'SIP/202-5a30'</DIV>
<DIV><BR>------------------------<BR>Sometimes
I get 0x3302.</DIV>
<DIV>The ISDN line being used is one normally
used by our conventional PABX so we know
it works - we just plug it into the Fritz
card instead.</DIV>
<DIV>capi info shows the channels are recognised
and free in Asterisk.</DIV>
<DIV>capiinfo in command prompt shows:</DIV>
<DIV>Controller 1:<BR>Manufacturer: AVM GmbH<BR>CAPI
Version: 2.0<BR>Manufacturer Version: 3.17-02
(49.18)<BR>Serial Number: 1000001<BR>BChannels:
2<BR>Global Options: 0x00000039<BR>
internal controller supported<BR>
DTMF supported<BR> Supplementary
Services supported<BR> channel
allocation supported (leased lines)<BR>B1
protocols support: 0x4000011f<BR>
64 kbit/s with HDLC framing<BR>
64 kbit/s bit-transparent operation<BR>
V.110 asynconous operation with start/stop
byte framing<BR> V.110 synconous
operation with HDLC framing<BR>
T.30 modem for fax group 3<BR>
Modem asyncronous operation with start/stop
byte framing<BR>B2 protocols support: 0x00000b1b<BR>
ISO 7776 (X.75 SLP)<BR> Transparent<BR>
LAPD with Q.921 for D channel X.25 (SAPI
16)<BR> T.30 fro fax group 3<BR>
ISO 7776 (X.75 SLP) with V.42bis compression<BR>
V.120 asyncronous mode<BR> V.120
bit-transparent mode<BR>B3 protocols support:
0x800000bf<BR> Transparent<BR>
T.90NL, T.70NL, T.90<BR> ISO
8208 (X.25 DTE-DTE)<BR> X.25
DCE<BR> T.30 for fax group 3<BR>
reserved</DIV>
<DIV> 0100<BR> 0200<BR>
39000000<BR> 1f010040<BR> 1b0b0000<BR>
bf000080<BR> 00000000 00000000 00000000
00000000 00000000 00000000<BR> 01000001
00020000 00000000 00000000 00000000</DIV>
<DIV>Supplementary services support: 0x000003ff<BR>
Hold / Retrieve<BR> Terminal
Portability<BR> ECT<BR>
3PTY<BR> Call Forwarding<BR>
Call Deflection<BR> MCID<BR>
CCBS<BR>----------------------<BR>The 0x3301
and 3302 errors seem to be protocol ones
and it 'feels' like some sort of country
configuration issue or something like that.
Can any one give me any advice/help on this
as I'm been stuck on this for a week.</DIV>
<DIV>Many thanks<BR><BR>Paul<BR></DIV></FONT>
<DIV></DIV></BODY></HTML>