Germán Aracil Boned
2007-Mar-12 21:33 UTC
[asterisk-users] great problem with sounds and ztdummy
Hello System: Debian etch with kernel 2.6.18-4-686 or 2.6.18 custom. Asterisk Version: SVN-branch-1.4-r55483M Zaptel Version: SVN-branch-1.4-r2302 modules all ok in compilation time. And modules loaded: ztdummy 5928 0 rtc 13364 1 ztdummy zaptel 181540 1 ztdummy crc_ccitt 3200 1 zaptel In /dev/zap directory I have: crw-rw---- 1 root dialout 196, 254 2007-03-13 08:16 channel crw-rw---- 1 root dialout 196, 0 2007-03-13 08:16 ctl crw-rw---- 1 root dialout 196, 255 2007-03-13 08:16 pseudo crw-rw---- 1 root dialout 196, 253 2007-03-13 08:16 timer crw-rw---- 1 asterisk asterisk 196, 250 2007-03-13 08:16 transcode (Asterisk runing with user and group root) All ok, no error messages, but when I call and play backgroud or speak, asterisk do not play nothing. I can call to meetme, see: -- Executing Goto("SIP/5060-081e9db0", "pbx9|10|1") -- Goto (pbx9,10,1) -- Executing Answer("SIP/5060-081e9db0", "") -- Executing meetme("SIP/5060-081e9db0", "|iMs") -- <SIP/5060-081e9db0> Playing 'conf-getconfno' (language 'es') But can't get sound. If I quit ztdummy module meetme don't work, but I can get sound. Computer as Dell server. Any idea ? very thanks
Germán Aracil Boned
2007-Mar-12 21:40 UTC
[asterisk-users] great problem with sounds and ztdummy
And If I execute: ./zttest -v I can see: Opened pseudo zap interface, measuring accuracy... But, command don't show nothing. If I press ctrl+C after +-30 seconds: --- Results after 0 passes --- Best: 0.000000 -- Worst: 100.000000 -- Average: 100.000000 I think, ztdummy don't work good.. ?? Where is the problem ?? Germ?n Aracil Boned escribi?:> Hello > > System: > Debian etch with kernel 2.6.18-4-686 or 2.6.18 custom. > Asterisk Version: SVN-branch-1.4-r55483M > Zaptel Version: SVN-branch-1.4-r2302 > > modules all ok in compilation time. And modules loaded: > > ztdummy 5928 0 > rtc 13364 1 ztdummy > zaptel 181540 1 ztdummy > crc_ccitt 3200 1 zaptel > > In /dev/zap directory I have: > > crw-rw---- 1 root dialout 196, 254 2007-03-13 08:16 channel > crw-rw---- 1 root dialout 196, 0 2007-03-13 08:16 ctl > crw-rw---- 1 root dialout 196, 255 2007-03-13 08:16 pseudo > crw-rw---- 1 root dialout 196, 253 2007-03-13 08:16 timer > crw-rw---- 1 asterisk asterisk 196, 250 2007-03-13 08:16 transcode > > (Asterisk runing with user and group root) > > All ok, no error messages, but when I call and play backgroud or speak, > asterisk do not play nothing. I can call to meetme, see: > > -- Executing Goto("SIP/5060-081e9db0", "pbx9|10|1") > -- Goto (pbx9,10,1) > -- Executing Answer("SIP/5060-081e9db0", "") > -- Executing meetme("SIP/5060-081e9db0", "|iMs") > -- <SIP/5060-081e9db0> Playing 'conf-getconfno' (language 'es') > > But can't get sound. If I quit ztdummy module meetme don't work, but I > can get sound. > > Computer as Dell server. > > Any idea ? > > very thanks > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Germán Aracil Boned
2007-Mar-13 10:25 UTC
[asterisk-users] great problem with sounds and ztdummy
My solution. With Zaptel 1.4 I change ztdummy.c comment lines 47 to 56, for rtc config. Compile and without rtc module, load ztdummy. It work good with usbcore and uhci_hcd modules. I have installed libusb-dev for my debian etch system. Now, my kernel is 2.6.20.2, but it work good with 2.6.18 Regardsssssss Germ?n Aracil Boned escribi?:> Hello > > System: > Debian etch with kernel 2.6.18-4-686 or 2.6.18 custom. > Asterisk Version: SVN-branch-1.4-r55483M > Zaptel Version: SVN-branch-1.4-r2302 > > modules all ok in compilation time. And modules loaded: > > ztdummy 5928 0 > rtc 13364 1 ztdummy > zaptel 181540 1 ztdummy > crc_ccitt 3200 1 zaptel > > In /dev/zap directory I have: > > crw-rw---- 1 root dialout 196, 254 2007-03-13 08:16 channel > crw-rw---- 1 root dialout 196, 0 2007-03-13 08:16 ctl > crw-rw---- 1 root dialout 196, 255 2007-03-13 08:16 pseudo > crw-rw---- 1 root dialout 196, 253 2007-03-13 08:16 timer > crw-rw---- 1 asterisk asterisk 196, 250 2007-03-13 08:16 transcode > > (Asterisk runing with user and group root) > > All ok, no error messages, but when I call and play backgroud or speak, > asterisk do not play nothing. I can call to meetme, see: > > -- Executing Goto("SIP/5060-081e9db0", "pbx9|10|1") > -- Goto (pbx9,10,1) > -- Executing Answer("SIP/5060-081e9db0", "") > -- Executing meetme("SIP/5060-081e9db0", "|iMs") > -- <SIP/5060-081e9db0> Playing 'conf-getconfno' (language 'es') > > But can't get sound. If I quit ztdummy module meetme don't work, but I > can get sound. > > Computer as Dell server. > > Any idea ? > > very thanks > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Tzafrir Cohen
2007-Mar-13 11:57 UTC
[asterisk-users] great problem with sounds and ztdummy
On Tue, Mar 13, 2007 at 06:25:37PM +0100, Germ?n Aracil Boned wrote:> My solution. > > With Zaptel 1.4 I change ztdummy.c comment lines 47 to 56, for rtc config. > > Compile and without rtc module, load ztdummy. It work good with usbcore > and uhci_hcd modules. > > I have installed libusb-dev for my debian etch system. Now, my kernel is > 2.6.20.2, but it work good with 2.6.18can ztdummy / 2.6 take timing from a UHCI USB controller? -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Germán Aracil Boned
2007-Mar-13 14:41 UTC
[asterisk-users] great problem with sounds and ztdummy
Tzafrir Cohen escribi?:> On Tue, Mar 13, 2007 at 06:25:37PM +0100, Germ?n Aracil Boned wrote: >> My solution. >> >> With Zaptel 1.4 I change ztdummy.c comment lines 47 to 56, for rtc config. >> >> Compile and without rtc module, load ztdummy. It work good with usbcore >> and uhci_hcd modules. >> >> I have installed libusb-dev for my debian etch system. Now, my kernel is >> 2.6.20.2, but it work good with 2.6.18 > > can ztdummy / 2.6 take timing from a UHCI USB controller? >Yes. Download from svn version 1.4 of zaptel, edit ztdummy.c and comment lines 47 to 56: /* #if defined(__i386__) || defined(__x86_64__) #if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13) #define USE_RTC #else #if 0 #define USE_RTC #endif #endif #endif */ compile all, install all, unload rtc module and load ztdummy module. This work good You need libusb headers see line 69 from ztdummy.c: #include <linux/usb.h>