Summary: | ASTERISK-12727: rc6: no dial tone on chan_dahdi | ||
Reporter: | Sean Darcy (seandarcy) | Labels: | |
Date Opened: | 2008-09-13 11:21:29 | Date Closed: | 2008-10-20 14:18:33 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_dahdi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | tdm400p, rc6 and dahdi-linux rc4: WARNING[2875]: chan_dahdi.c:7525 handle_init_event: Unable to play dialtone on channel 2, do you have defaultzone and loadzone defined? -- Starting simple switch on 'DAHDI/2-1' cat /etc/dahdi/system.conf fxoks=1,2 fxsks=4 loadzone = us defaultzone = us channels=1,2 echocanceller=mg2,1,2,4 from dahdi_scan 2 dahdi: Dump of DAHDI Channel 2 (WCTDM/4/1,2,2): dahdi: flags: 201 hex, writechunk: f7ed4c00, readchunk: f7ed4c0c dahdi: rxgain: f90cde7c, txgain: f90cde7c, gainalloc: 0 dahdi: span: f7ed4008, sig: 1020 hex, sigcap: 50f8 hex dahdi: inreadbuf: -1, outreadbuf: -1, inwritebuf: -1, outwritebuf: -1 dahdi: blocksize: 0, numbufs: 2, txbufpolicy: 0, txbufpolicy: 0 dahdi: txdisable: 0, rxdisable: 0, iomask: 0 dahdi: curzone: 00000000, tonezone: 0, curtone: 00000000, tonep: 0 dahdi: digitmode: 0, txdialbuf: , dialing: 0, aftdialtimer: 0, cadpos. 0 dahdi: confna: 0, confn: 0, confmode: 0, confmute: 0 dahdi: ec: 00000000, echocancel: 0, deflaw: 0, xlaw: f90b0d04 dahdi: echostate: 00, echotimer: 0, echolastupdate: 0 dahdi: itimer: 0, otimer: 0, ringdebtimer: 0 cat chan_dahdi.conf [trunkgroups] [channels] usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no echotraining=yes group=1 callgroup=1 pickupgroup=1 callprogress=yes progzone=us tonezone = 0 ; 0 is US ;;defaultzone=0 defaultzone = us ;;loadzone=0 loadzone=us jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a ; DAHDI channel. Defaults to "no". ;;;[home-phones] context=internal ; Uses the [internal] context in extensions.conf signalling=auto ; fxo_ks Use FXO signalling for an FXS channel - as set in sytem.conf.conf channel => 1 ; Telephone attached to port 1 channel => 2 ; Telephone attached to port 2 ;dahdichan => 1,2 ;;;[pstn] context=incoming-pstn-line ; Incoming calls go to [incoming-pstn-line] in extensions.conf signalling=auto ; fxs_ks Use FXS signalling for an FXO channel - use as set in system.conf faxdetect=incoming busydetect=yes channel => 4 ;;dahdichan => 4 ; PSTN attached to port 4 | ||
Comments: | By: Sean Darcy (seandarcy) 2008-09-14 09:32:50 just to make it clear, I also tried system.conf without the channels = statement, and chan_dahdi.conf without the defaultzone and loadzone statments ( though always with tonezone ). By: Sean Darcy (seandarcy) 2008-09-14 13:03:08 the reason was that reinstalling zaptel drivers reinstalls libtonezone from zaptel. OTOH, reinstalling dahdi drivers does _not_ install libtonezone for dahdi. You need to reinstall libtonezone from dahdi-tools. FWIW, I'd suggest putting libtonezone together with dahdi-linux. By: Jason Parker (jparker) 2008-10-15 16:10:55 Is this still an issue after your other report? By: Sean Darcy (seandarcy) 2008-10-18 11:02:10 No, should be closed, I guess. But I do suggest that libtonezone.h should be part of dahdi_linux, not tools. IOW, dahdi_linux shouldn't depend on dahdi_tools. |