I just installed a new TDM400P with one FXO interface in slot 4 (how it came from Digium). This box is running Debian with a 2.6.10-rc2-mm3 kernel. After the make linux26 and make install in /usr/local/src/zaptel, I can see contents in /dev/zap but any attemp to touch for example /dev/zap/ctl gets a no such device or address ... Any suggestions?
I have a problem with ringing simultaneous channels where one is IAX and one is Zap I have two Zap channels and a single extensions on IAX2 I'm trying to take incoming calls on Zap/1 and if not answered in 15 seconds by IAX2/100 to keep ringing IAX2 and also try another number on Zap/2 Unfortunately it seems that when asterisk tries to ring the other number on Zap/2 it thinks the call has been answered and can therefore stop ringing IAX2 Here's what I have in extensions: [officeopen] exten => s,1,Dial(IAX2/100,15) exten => s,2,Dial(IAX2/100&Zap/2/07879xxxxxx,15) exten => s,3,Playback(nooneavailable) exten => s,4,Voicemail2(u2000) exten => s,5,Hangup And here's the output from asterisk: -- Starting simple switch on 'Zap/1-1' -- Executing Dial("Zap/1-1", "IAX2/100|15") in new stack -- Called 100 -- Call accepted by 67.76.xxx.xxx (format GSM) -- Format for call is GSM -- IAX2/100/1 is ringing -- Nobody picked up in 15000 ms -- Hungup 'IAX2/100/1' -- Executing Dial("Zap/1-1", "IAX2/100&Zap/2/07879xxxxxx|15") in new stack -- Called 100 -- Called 2/07879xxxxxx -- Call accepted by 67.76.162.215 (format GSM) -- Format for call is GSM -- IAX2/100/3 is ringing -- Zap/2-1 answered Zap/1-1 -- Hungup 'IAX2/100/3' -- Attempting native bridge of Zap/1-1 and Zap/2-1 -- Hungup 'Zap/2-1' == Spawn extension (from-analog-a, s, 2) exited non-zero on 'Zap/1-1' -- Executing Hangup("Zap/1-1", "") in new stack == Spawn extension (from-analog-a, h, 1) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' Here's hoping someone can help! Many thanks, Russell.
I had this problem when I used the TDM400P on an FC3 system. The Wiki helped: http://www.voip-info.org/wiki-Asterisk+Linux+Fedora [snippet] Additional Notes for Zaptel if you get error message Notice: Configuration file is /etc/zaptel.conf line 143: Unable to open master device '/dev/zap/ctl' If you edit the Zaptel Make file commit out the following lines ifeq ($(DYNFS),) else @echo "**** Dynamic filesystem detected - not creating device nodes" @echo "**** If you are running udev, read README.udev" endif Recompile Zaptel, libpri and Asterisk and you should be good to go, special thanks to Patrick off the mailing list for the above info. [/snippet] Also, when I start the service, I do a sleep and keep checking for the existence of the /dev/zap/ctl file before loading any modules which has proven to work. Here's the script snipet: ls /dev/zap/ctl > /dev/null 2>&1 until [ $? -eq 0 ]; do sleep 1 ls /dev/zap/ctl > /dev/null 2>&1 done Hope that helps, -Dave -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dorn Hetzel Sent: Wednesday, December 22, 2004 4:23 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] TDM400P install on Debian 2.6.10 I just installed a new TDM400P with one FXO interface in slot 4 (how it came from Digium). This box is running Debian with a 2.6.10-rc2-mm3 kernel. After the make linux26 and make install in /usr/local/src/zaptel, I can see contents in /dev/zap but any attemp to touch for example /dev/zap/ctl gets a no such device or address ... Any suggestions? _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Not such a stupid question :) The paper instructions included with the card failed to mention that needed to be done manually :) Up and running :) -Dorn On Wed, Dec 22, 2004 at 10:34:17PM -0800, Shahed wrote:> > >I can see contents in /dev/zap but any attemp to > >touch for example /dev/zap/ctl gets a no such > >device or address ... > > May be a stupid suggestion, but have you loaded the > wctdm driver by doing a "modprobe wctdm" ?? > > Regards > Shahed > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
> I can see contents in /dev/zap but any attemp to > touch for example /dev/zap/ctl gets a no such > device or address ...May be a stupid suggestion, but have you loaded the wctdm driver by doing a "modprobe wctdm" ?? Regards Shahed
Wilson Pickett
2004-Dec-22 23:59 UTC
[Asterisk-Users] Problem ringing simultaneous channels
> Unfortunately it seems that when asterisk tries to ring the other > number on Zap/2 it thinks the call has been answered and can therefore > stop ringing IAX2I wonder if you could fool it by ringing IAX2/100 then after 15, ring ZAP/2/1234567&IAX2/111 and make 111 ring the same IAX2 device.