[asterisk-users] Silly (??) question about chan_dahdi
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Wed May 27 03:08:55 CDT 2009
On Wed, May 27, 2009 at 09:55:13AM +0200, Stefan-Michael Guenther wrote:
> 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
Anything after that line has no effect.
> 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
You have no #include of that (which is probably a good thing, as it
overlaps with channels you already set in chan_dahdi.conf itself). Hence
the value of that file is mostly informative: this is what dahdi_genconf
generated :-)
[snip]
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list