[asterisk-users] Silly (??) question about chan_dahdi
Stefan-Michael Guenther
asterisk02 at in-put.de
Wed May 27 02:55:13 CDT 2009
Hi Martin,
thanks for your suggestions, but ....
>You define context= for the channels in dahdi.conf
>and then in extensions.conf you define those numbers in that
>particular context name
>
>eg:
>
>dahdi.conf
>
>context=incoming
>channel => 1-15,17-31
>
in /etc/asterisk there is a chan_dahdi.conf and a dahdi-channels.conf
which were automatically created (and a little bit modified by me):
chan_dadhi.conf:
----------------
[trunkgroups]
[channels]
language=de
context=incoming
switchtype=euroisdn
group = 1
channel => 1,2,4,5,7,8,10,11
overlapdial=yes
usecallerid=yes
callwaiting=no
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1
dahdi-channels.conf:
--------------------
; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" AMI/CCS RED
group=0,11
context=incoming
switchtype = euroisdn
signalling = bri_cpe
channel => 1-2
group = 63
; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" AMI/CCS RED
group=0,12
context=incoming
switchtype = euroisdn
signalling = bri_cpe
channel => 4-5
group = 63
; Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" (MASTER) AMI/CCS
group=0,13
context=incoming
switchtype = euroisdn
signalling = bri_cpe
channel => 7-8
group = 63
; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" AMI/CCS RED
group=0,14
context=incoming
switchtype = euroisdn
signalling = bri_cpe
channel => 10-11
group = 63
extensions.conf:
-----------------
[incoming]
exten => 8304479,1,ANSWER()
exten => 8304479,2,WAIT(10)
exten => 8304479,3,HANGUP()
exten => 8304478,1,ANSWER()
exten => 8304478,2,WAIT(10)
exten => 8304478,3,HANGUP()
Asterisk still doesn't pick up calls for these two numbers.
I'm a little bit irritated by the fact, that in the cli asterisk
mentions "ISDN PRI signalling" while we are using BRI . BTW, the warning
is currently correct, the is an isdn cable only in port 3.
== Parsing '/etc/asterisk/chan_dahdi.conf': == Found
== Parsing '/etc/asterisk/users.conf': == Found
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 1: Red Alarm
-- Registered channel 1, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 2: Red Alarm
-- Registered channel 2, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 4: Red Alarm
-- Registered channel 4, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 5: Red Alarm
-- Registered channel 5, ISDN PRI signalling
-- Registered channel 7, ISDN PRI signalling
-- Registered channel 8, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 10: Red Alarm
-- Registered channel 10, ISDN PRI signalling
[May 27 09:39:35] WARNING[5145]: chan_dahdi.c:4664 handle_alarms:
Detected alarm on channel 11: Red Alarm
-- Registered channel 11, ISDN PRI signalling
-- Automatically generated pseudo channel
== Registered channel type 'DAHDI' (DAHDI Telephony Driver)
The two numbers above are correct, when I use an ISDN phone it rings for
both numbers.
Thanks for your help,
Stefan
--
********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Geschaeftsfuehrer
Moltkestrasse 49 D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
Schulungen Installationen
Beratung Support
Voice-over-IP-Loesungen
********************************************
More information about the asterisk-users
mailing list