listuser at spamomania.co.uk
2009-Dec-15 12:37 UTC
[asterisk-users] dahdi-channels.conf -v- chan_dahdi.conf
Some recent issues I had with hardware seem to come back to not understanding two very similarly named files: /etc/asterisk/dahdi-channels.conf /etc/asterisk/chan_dahdi.conf I've modified the chan_dahdi.conf to work now, but it would appear all I needed to do was include dahdi-channels.conf in chan_dahdi.conf and the problem would not have persisted? Is it me or is that a bit Monty Python? /etc/asterisk/dahdi-channels.conf ; Autogenerated by /usr/sbin/dahdi_genconf on Sun Dec 13 18:13:02 2009 ; If you edit this file and execute /usr/sbin/dahdi_genconf again, ; your manual changes will be LOST. ; Dahdi Channels Configurations (chan_dahdi.conf) ; ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings ; ; Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) ;;; line="1 WCFXO/0/0 FXSKS (SWEC: MG2)" signalling=fxs_ks callerid=asreceived group=0 context=from-pstn channel => 1 /etc/asterisk/chan_dahdi.conf [channels] usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes group=1 callgroup=1 pickupgroup=1 signalling=fxs_ks channel => 1
Tzafrir Cohen
2009-Dec-15 21:43 UTC
[asterisk-users] dahdi-channels.conf -v- chan_dahdi.conf
On Tue, Dec 15, 2009 at 12:37:59PM +0000, listuser at spamomania.co.uk wrote:> Some recent issues I had with hardware seem to come back to not > understanding two very similarly named files: > > /etc/asterisk/dahdi-channels.conf > /etc/asterisk/chan_dahdi.conf > > I've modified the chan_dahdi.conf to work now, but it would appear all I > needed to do was include dahdi-channels.conf in chan_dahdi.conf and the > problem would not have persisted? Is it me or is that a bit Monty > Python? >(PERL, not Python)> /etc/asterisk/dahdi-channels.conf > ; Autogenerated by /usr/sbin/dahdi_genconf on Sun Dec 13 18:13:02 2009 > ; If you edit this file and execute /usr/sbin/dahdi_genconf again, > ; your manual changes will be LOST. > ; Dahdi Channels Configurations (chan_dahdi.conf) > ; > ; This is not intended to be a complete chan_dahdi.conf. Rather, it is > intended > ; to be #include-d by /etc/chan_dahdi.conf that will include the global > settings > ;Either copy it as-is to the end of chan_dahdi.conf or add the following line to the end of chan_dahdi.conf: #include dahdi-channels.conf -- 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