[Asterisk-Users] AVM B1

2005-10-17 Thread Steve Foy
Hi,

I'm trying to get Asterisk working with the AVM B1 card. I've tried every
instruction set I can find, but to no avail.

I think I'm getting mixed up as to what Zaptel/CAPI configuration to use.

If someone is currently using one of these cards, would it be possible to
mail me a few bits of the important config files?

Sorry if I should have included something else too, but let me know and I'll
provide it!

Steve


My capi.conf is as follows:

# card  fileproto   io  irq mem cardnr  options
#b1isa  b1.t4   DSS10x150   7   -   -   P2P
b1pci   b1.t4   DSS1-   -   -   -
c4  c4.bin  DSS1-   -   -   -
c4  -   DSS1-   -   -   -
c4  -   DSS1-   -   -   -   P2P
c4  -   DSS1-   -   -   -   P2P
#c2 c2.bin  DSS1-   -   -   -
#c2 -   DSS1-   -   -   -
#t1isa  t1.t4   DSS10x340   9   -   0
#t1pci  t1.t4   DSS1-   -   -   -
#fcpci  -   -   -   -   -   -
#fcclassic  -   -   0x150   10  -   -


CAPI seems to be installed correctly:

talky:/home/steve# capiinfo
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.101-03  (49.19)
Serial Number: 3904932
BChannels: 2
Global Options: 0x0039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x401f
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 asynconous operation with start/stop byte framing
   V.110 synconous operation with HDLC framing
   T.30 modem for fax group 3
B2 protocols support: 0x0b1b
   ISO 7776 (X.75 SLP)
   Transparent
   LAPD with Q.921 for D channel X.25 (SAPI 16)
   T.30 for fax group 3
   ISO 7776 (X.75 SLP) with V.42bis compression
   V.120 asyncronous mode
   V.120 bit-transparent mode
B3 protocols support: 0x803f
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   X.25 DCE
   T.30 for fax group 3
   T.30 for fax group 3 with extensions

  0100
  0200
  3900
  1f40
  1b0b
  3f80
       
  0101 0002   

Supplementary services support: 0x03ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] AVM B1

2005-10-17 Thread Peer Oliver Schmidt

Steve Foy schrieb:

Hi,

I'm trying to get Asterisk working with the AVM B1 card. I've tried every
instruction set I can find, but to no avail.


You should use the chan_capi or chan_capi-cm. I used to use an old B1 
ISA card, which worked without much trouble, after I got the CAPI itself 
running. Asterisk ontop of CAPI worked just fine.


You don't need to configure anything for the Zaptel, except if you want 
to use Asterisk functionality that needs a timing source. But that 
should be the second step.

--
Best regards

Peer Oliver Schmidt
PGP Key ID: 0x83E1C2EA

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] AVM B1, chan_capi, Kernel 2.6

2004-08-10 Thread Stefan Tichy
On a SuSE 9.1 installation I have severe problems using asterisk
with the active AVM B1. Just making some outgoing call works without
problems, but if both isdn channels are used asterisk or the
complete server may hang or start showing very strange behavior.
It might not even be possible to reboot.

Kernel (SuSE) 2.6.5-7.104
AVM B1 3.09
asterisk 04-08-08
chan_capi 0.3.4b

Using active AVM cards in connection with kernel 2.6 seems to be a
bad idea.


-- 
Stefan Tichy   [EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] AVM B1 and PTP mode

2004-06-08 Thread Holger Schurig
 Dont use modprobe, use capiinit start

Doing that :-)

 Get latest Firmware from:
 ftp://ftp.in-berlin.de/pub/capi4linux/firmware/b1/3-11-03/

Done that now. I've also put this link into the wiki.



  With some debugging statements I found out that it hangs right here
  in chan_capi.c:
 
  if (Listen(ALL_SERVICES) != 0) {
  ast_log(LOG_NOTICE,unable to listen!\n);
  return -1;
  }
 

Unfortunately, it is still hanging. I traced it a little bit and it hangs 
in this loop after the //HS debug output:

unsigned ListenOnController(unsigned long CIPmask,unsigned controller) {
MESSAGE_EXCHANGE_ERROR  error;
_cmsg   CMSG,CMSG2;

LISTEN_REQ_HEADER(CMSG, ast_capi_ApplID, ast_capi_MessageNumber++, 
controller);
#ifdef NEVER_EVER_EARLY_B3_CONNECTS
LISTEN_REQ_INFOMASK(CMSG) = 0x00ff; // lots of info ;)
#else
LISTEN_REQ_INFOMASK(CMSG) = 0x03ff; // lots of info ;) + early B3 
connect
#endif
LISTEN_REQ_CIPMASK(CMSG) = CIPmask;
if ((error = _capi_put_cmsg(CMSG)) != 0) {
return error;
}
ast_log(LOG_NOTICE,//HS\n);
while (!IS_LISTEN_CONF(CMSG2)) {
error = check_wait_get_cmsg(CMSG2);
}
return 0;
}

If it is of any interest: the variable CIPmask is 0x1fff03ff.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] AVM B1 and PTP mode

2004-06-07 Thread Holger Schurig
Hi !

I've fetched a spare AVM B1 card from the cellar, and installed it. After 
modprobe b1pci I did capiinit and capiinit moaned about a missing 
t1.b4.

So I search the web and found one at 
http://www.avm.de/ftp/cardware/b1/x_misc/ddi/. When I now look at the 
controller, I finally see p2p-mode:

 # cat /proc/capi/controllers/1
 name b1pciv4-a400
 io   0xa400
 irq  5
 membase  0xf180
 type B1 PCI
 ver_driver   3.09-10
 ver_cardtype B1
 ver_serial   39032287
 protocol DSS1
 linetype point to point
 cardname B1
 csr (cached) 0x30004000
 csr  0x30004000
 txoff4
 txlen0
 rxoff0
 rxlen4

Now, I compiled chan_capi-0.3.3 against Asterisk CVS head (of course with 
CFLAGS+=-DUNSTABLE_CVS). And when I start now asterisk,  it hangs.

With some debugging statements I found out that it hangs right here in 
chan_capi.c:

if (Listen(ALL_SERVICES) != 0) {
ast_log(LOG_NOTICE,unable to listen!\n);
return -1;
}

Any ideas?

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] AVM B1 and PTP mode

2004-06-07 Thread Thomas Niesel
Hallo Holger Schurig
On Mon, 7 Jun 2004 17:08:53 +0200 you wrote:

 Hi !
 
 I've fetched a spare AVM B1 card from the cellar, and installed it.
 After modprobe b1pci I did capiinit and capiinit moaned about a
 missing t1.b4.
Dont use modprobe, use capiinit start !
Configure the card via /etc/isdn/capi.conf
The capiinit will do all the rest :)
 
 So I search the web and found one at 
 http://www.avm.de/ftp/cardware/b1/x_misc/ddi/. When I now look at the 
 controller, I finally see p2p-mode:

Get latest Firmware from:
ftp://ftp.in-berlin.de/pub/capi4linux/firmware/b1/3-11-03/

 
  # cat /proc/capi/controllers/1
  name b1pciv4-a400
  io   0xa400
  irq  5
  membase  0xf180
  type B1 PCI
  ver_driver   3.09-10
  ver_cardtype B1
  ver_serial   39032287
  protocol DSS1
  linetype point to point
  cardname B1
  csr (cached) 0x30004000
  csr  0x30004000
  txoff4
  txlen0
  rxoff0
  rxlen4
 
 Now, I compiled chan_capi-0.3.3 against Asterisk CVS head (of course
 with CFLAGS+=-DUNSTABLE_CVS). And when I start now asterisk,  it
 hangs.
 
 With some debugging statements I found out that it hangs right here in 
 chan_capi.c:
 
 if (Listen(ALL_SERVICES) != 0) {
 ast_log(LOG_NOTICE,unable to listen!\n);
 return -1;
 }
 
 Any ideas?
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 


-- 
Tho/\/\as
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] AVM B1 ISDN Call forwarding

2004-05-08 Thread nicolas
Hi,

i want forward a call witch is comming over isdn (avm b1 witch i have) out to isdn 
(same card 2. b channel).

The call is comming (one b channel open one is free) the forwarding is processed (snom 
200) all seems correctly.
Then the message that the b channels all busy, but so is it not.
Forwarding to a sip phone works.

Can anyone help me with that ?
nicolas

SNIPS:
--

  == DISCONNECT_IND PLCI=0x201 REASON=0x34a2
-- CAPI[contr1/outgoingmsn]/78 is busy
-- CAPI Hangingup
-- removed pipe for PLCI = 0x201
  == Everyone is busy at this time
-- Executing Congestion(Local/nummer to forward@default-f1df,2, ) in new 
stack
-- Local/nummer to forward@default-f1df,1 is circuit-busy
  == Spawn extension (default, nummer to forward, 2) exited non-zero on 
'Local/nummer to forward@default-f1df,2'
  == Everyone is busy at this time
-- Executing DigitTimeout(CAPI[contr1/outgoingmsn]/77, 5) in new stack
-- Set Digit Timeout to 5
-- Executing ResponseTimeout(CAPI[contr1/outgoingmsn]/77, 10) in new stack
-- Set Response Timeout to 10



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users