Re: [asterisk-users] Strange ISDN Troubles

2007-07-31 Thread Florian Arthofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ahoy

Jared Smith wrote:
 On Mon, 2007-07-30 at 16:46 +0200, Florian Arthofer wrote:
 Shouldn't i see _something_ on the console, even if
 the DID which is dialed isn't configured yet?

 Unfortunately, I don't think so.  You might want to add a pattern match
 to your dialplan that would match any DID, and see if that helps.


Ok, i added this to my extensions.conf :

[isdn-in]
exten = _.,1,Dial(SIP/${EXTEN},5)
exten = t,1,Hangup

This should match any number dialed from the outside and hangup after 5
seconds.
In my sip.conf i configured this one:

[123]
context = isdn-in
type = friend
host = dynamic
disallow = all ;disable all codecs except the ones defined below
allow = ulaw
allow = g723.1
allow = g729
secret = X


So, if my ISDN-number is for example 1234567, then i should, if i dial
1234567-123, see _something_ on the console and at least i should hear
it ringing on the phone i place the call with. Am i right?

regards
Florian Arthofer

- --
Florian Arthofer
Technik Web- und Mailservices/Administrator Web- and Mailservices

lagis Internet Serviceprovider GmbH
Wiener Straße 151, 4021 Linz, Austria
Phone +43(0)732/3400-5636
Fax +43(0)732/3400-5644
E-Mail [EMAIL PROTECTED]
URL http://www.lagis.at

FN 270805 w des Landesgerichtes Linz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrt4rNAbU6R7INwcRAsvNAJ99NvAnLBm+EGWNccfZMESFLWkJ4gCeKejH
baIbJfnUcWA2ZhDiqQkWvB0=
=28Pn
-END PGP SIGNATURE-

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Strange ISDN Troubles

2007-07-31 Thread Jared Smith
On Tue, 2007-07-31 at 09:00 +0200, Florian Arthofer wrote:
 So, if my ISDN-number is for example 1234567, then i should, if i dial
 1234567-123, see _something_ on the console and at least i should hear
 it ringing on the phone i place the call with. Am i right?

OK, ordinarily this would be true, but I don't see how configuring a
friend in sip.conf helps at all with an ISDN connection.  That is,
unless you're using some type of ISDN-to-SIP adapter to get the ISDN
calls into Asterisk.  You said you are using chan_capi, so Asterisk
shouldn't even look at sip.conf when a call comes in over your ISDN
lines.

Unfortunately, my understanding of ISDN BRI connections is very limited.
I keep trying to convince someone to pay me to live in Europe for a
while so I can learn it, but I haven't had any luck so far. :-)  I'm
sure there are other people on this list that know chan_capi well and
can show you how to configure Asterisk for ISDN lines.  I would guess
that you need to point the channels to the proper context in capi.conf.

-Jared


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Strange ISDN Troubles

2007-07-31 Thread Andrea Spadaccini
Ciao Florian,

 I'm trying to setup Asterisk on debian etch (with the debian packages)
 with a Fritz!Card PCI ISDN card and chan_capi.

Why don't you use mISDN drivers?
Bye,

-- 
Dr. Andrea Spadaccini
Multimedia Technologies Institute - MTI S.r.l.
Web: www.x-voice.it - Tel: +39 (0) 95 7224945

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


[asterisk-users] Strange ISDN Troubles

2007-07-30 Thread Florian Arthofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ahoy

I'm trying to setup Asterisk on debian etch (with the debian packages)
with a Fritz!Card PCI ISDN card and chan_capi.
Everything seems to be configured the right way (excerpts below),
Asterisk seems to see the ISDN-card but if i try to place a test-call
from the outside i don't see anything on the asterisk-console (set debug
and verbose to 99). Shouldn't i see _something_ on the console, even if
the DID which is dialed isn't configured yet?

I tested the cable and the NTBA both with a ISDN-phone. This worked
properly. But if i plug the cable into the asterisk-server i just get a
number busy-signal and don't see any messages on the asterisk console
or in the log files.

regards
Florian Arthofer

=exerpts=
capiinfo:

Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 101
BChannels: 2
Global Options: 0x0039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x411f
   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
   Modem asyncronous operation with start/stop byte framing
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: 0x80bf
   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
   Modem

  0100
  0200
  3900
  1f010040
  1b0b
  bf80
       
  0101 0002   

Supplementary services support: 0x03ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS


gertrud*CLI capi show channels
CAPI B-channel information:
Line-Name   NTmode state i/o bproto isdnstate   ton  number
- 
ISDN1#02 no-  -  trans  0x00 ''-''
ISDN1#01 no-  -  trans  0x00 ''-''


capi.conf:
;
; CAPI config
;
;

; general section

[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de  ;set default language
;ulaw=yes;set this, if you live in u-law world instead of a-law

; interface sections ...

[ISDN1]  ;this example interface gets name 'ISDN1' and may be any
 ;name not starting with 'g' or 'contr'.
 ;Use one interface section for each isdn port!
;ntmode=yes  ;if isdn card operates in nt mode, set this to yes
isdnmode=msn ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=*;allow incoming calls to this list of MSNs/DIDs, * = any
controller=1 ;capi controller number of this interface/port
group=1  ;dialout group
;prefix=0;set a prefix to calling number on incoming calls
softdtmf=on  ;enable/disable software dtmf detection, recommended
for AVM cards
relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf
detection
accountcode= ;PBX accountcode to use in CDRs
context=isdn-in  ;context for incoming calls
echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
echocancel=yes
;echocancelold=yes;use facility selector 6 instead of correct 8
(necessary for older eicon drivers)
devices=2;number of concurrent calls (b-channels) on this controller
 ;(2 makes sense for single BRI, 30/23 for PRI/T1)


=excerpts-end

- --
Florian Arthofer
Technik Web- und Mailservices/Administrator Web- and Mailservices

lagis Internet Serviceprovider GmbH
Wiener Straße 151, 4021 Linz, Austria
Phone +43(0)732/3400-5636
Fax +43(0)732/3400-5644
E-Mail [EMAIL PROTECTED]
URL http://www.lagis.at

FN 270805 w des Landesgerichtes Linz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrfm+NAbU6R7INwcRAi3yAKCVFMlP2vmwCbxGbF947nLw1EoS1gCfQ17G
bkG+k7A9/SPJc9dogJCxM94=
=VvH5
-END PGP SIGNATURE-

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Strange ISDN Troubles

2007-07-30 Thread Jared Smith
On Mon, 2007-07-30 at 16:46 +0200, Florian Arthofer wrote:
 Shouldn't i see _something_ on the console, even if
 the DID which is dialed isn't configured yet?

Unfortunately, I don't think so.  You might want to add a pattern match
to your dialplan that would match any DID, and see if that helps.

-- 
Jared Smith
Community Relations Manager
Digium, Inc.


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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