Dear Mr. Giovanni, <br><br>What i am trying to explain, i think you are not getting the problem. You have SVN version WIKI. I have GIT nightly build version in my left hand box (Point 1) and right hand box (Point 2) i have SVN version of FS .<br>
<br>Problem: Point 2 works, Point 1 doesnt works.<br><br><br><b>More details, why its not working:</b><br><br><font size="4">1.</font> In GIT nightly build latest the greatest version the mod_skypopen is not working or not included (human error!). There is no <b>skypopen.conf.xml</b> file (in GIT release)<br>
<br>[root@localhost autoload_configs]# uname -a<br><b><span style="color: rgb(255, 0, 0);">Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux</span></b><br><br>[root@localhost autoload_configs]# locate mod_skypopen<br>
/usr/local/freeswitch/mod/mod_skypopen.a<br>/usr/local/freeswitch/mod/<a href="http://mod_skypopen.la">mod_skypopen.la</a><br>/usr/local/freeswitch/mod/mod_skypopen.so<br><br>[root@localhost autoload_configs]# pwd<br>/usr/local/src/freeswitch/conf/autoload_configs<br>
<br>[root@localhost autoload_configs]# ls<br>acl.conf.xml console.conf.xml enum.conf.xml ivr.conf.xml modules.conf.xml post_load_modules.conf.xml sofia.conf.xml unicall.conf.xml<br>
alsa.conf.xml db.conf.xml erlang_event.conf.xml java.conf.xml nibblebill.conf.xml python.conf.xml spandsp.conf.xml unimrcp.conf.xml<br>callcenter.conf.xml dialplan_directory.conf.xml event_multicast.conf.xml lcr.conf.xml opal.conf.xml redis.conf.xml spidermonkey.conf.xml voicemail.conf.xml<br>
cdr_csv.conf.xml dingaling.conf.xml event_socket.conf.xml local_stream.conf.xml osp.conf.xml rss.conf.xml switch.conf.xml xml_cdr.conf.xml<br>cdr_pg_csv.conf.xml directory.conf.xml fax.conf.xml logfile.conf.xml perl.conf.xml sangoma_codec.conf.xml syslog.conf.xml xml_curl.conf.xml<br>
cidlookup.conf.xml distributor.conf.xml fifo.conf.xml lua.conf.xml pocketsphinx.conf.xml shout.conf.xml timezones.conf.xml xml_rpc.conf.xml<br>conference.conf.xml easyroute.conf.xml hash.conf.xml memcache.conf.xml portaudio.conf.xml skinny.conf.xml tts_commandline.conf.xml zeroconf.conf.xml<br>
[root@localhost autoload_configs]# <br><br><br><font size="4">2.</font> In the SVN OLD FS release (which works for me as my test suite in fedora) you have skypopen.conf.xml file (as default)<br><br>[sun@example autoload_configs]$ uname -a<br>
<b>Linux example 2.6.32.12-114.fc12.i686 #1 SMP Tue Apr 27 21:29:58 UTC 2010 i686 i686 i386 GNU/Linux<br><br></b>[sun@example autoload_configs]$ locate mod_skypopen<br>/usr/local/freeswitch/mod/mod_skypopen.a<br>/usr/local/freeswitch/mod/<a href="http://mod_skypopen.la">mod_skypopen.la</a><br>
/usr/local/freeswitch/mod/mod_skypopen.so<br><br><br>[sun@example autoload_configs]$ pwd<br>/usr/local/freeswitch/conf/autoload_configs<br>[sun@example autoload_configs]$ ls<br>acl.conf.xml dialplan_directory.conf.xml event_multicast.conf.xml java.conf.xml modules.conf.xml python.conf.xml spidermonkey.conf.xml voicemail.conf.xml<br>
alsa.conf.xml dingaling.conf.xml event_socket.conf.xml lcr.conf.xml nibblebill.conf.xml rss.conf.xml switch.conf.xml xml_cdr.conf.xml<br>cdr_csv.conf.xml directory.conf.xml event_socket.conf.xml~ limit.conf.xml opal.conf.xml sangoma_codec.conf.xml syslog.conf.xml xml_cdr.conf.xml~<br>
cdr_pg_csv.conf.xml distributor.conf.xml fax.conf.xml local_stream.conf.xml perl.conf.xml shout.conf.xml timezones.conf.xml xml_curl.conf.xml<br>cidlookup.conf.xml easyroute.conf.xml fifo.conf.xml logfile.conf.xml pocketsphinx.conf.xml skinny.conf.xml tts_commandline.conf.xml xml_rpc.conf.xml<br>
conference.conf.xml enum.conf.xml fifo.conf.xml~ lua.conf.xml portaudio.conf.xml <b>skypopen.conf.xml</b> unicall.conf.xml zeroconf.conf.xml<br>console.conf.xml erlang_event.conf.xml ivr.conf.xml memcache.conf.xml post_load_modules.conf.xml sofia.conf.xml unimrcp.conf.xml<br>
[sun@example autoload_configs]$ <br><br><br>Does this say anything, what is causing the problem, following WIKI is not really working with latest the greatest GIT Freeswitch release.<br><br>Looking forward to your answer. <br>
<br>Thank you very much<br>Kindest regards<br><br><br>
<br><br><div class="gmail_quote">On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <span dir="ltr"><<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What is your problem Shamun?<br>
<br>
You don't know how to read?<br>
<br>
In what you report is written:<br>
<div class="im"><br>
"open of skypopen.conf failed"<br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">On 9/18/10, Shamun toha md <<a href="mailto:shamun.toha@gmail.com">shamun.toha@gmail.com</a>> wrote:<br>
> You are correct, even without alsa driver, if i simply start skype GUI<br>
> instance from ssh -X servermachine, i can see skype get started without<br>
> getting fail or crash. But if i "load mod_skypeopen", why it is getting<br>
> again error like this?<br>
><br>
> *freeswitch@localhost.localdomain> *<br>
> 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649<br>
> FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*)<br>
> Started.<br>
> Max Sessions[1000]<br>
> Session Rate[30]<br>
> SQL [Enabled]<br>
><br>
> *freeswitch@localhost.localdomain> load mod_skypopen*<br>
><br>
> -ERR [module load file routine returned an error]<br>
><br>
> 2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev<br>
> git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304<br>
> ][none ][-1,-1,-1] open of skypopen.conf failed<br>
> 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading<br>
> module /usr/local/freeswitch/mod/mod_skypopen.so<br>
> **Module load routine returned an error**<br>
> freeswitch@localhost.localdomain><br>
><br>
><br>
><br>
><br>
><br>
> On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli<br>
> <<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>>wrote:<br>
><br>
>> You reported:<br>
>><br>
>> >checking for directory with kernel source... ./configure: line 4870: cd:<br>
>> /lib/modules/2.6.18->164.el5/source: No such file or directory<br>
>> >/lib/modules/2.6.18-164.el5/source<br>
>> >checking for directory with kernel build...<br>
>> /lib/modules/2.6.18-164.el5/build<br>
>> >checking for kernel linux/version.h... no<br>
>> >The file /include/linux/version.h does not exist.<br>
>> >Please install the package with full kernel sources for your distribution<br>
>> >or use --with-kernel=dir option to specify another directory with kernel<br>
>> >sources (default is /lib/modules/2.6.18-164.el5/source).<br>
>><br>
>> The error speaks very clear. You botched your install in some way...<br>
>><br>
>> -giovanni<br>
>><br>
>> On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <<a href="mailto:shamun.toha@gmail.com">shamun.toha@gmail.com</a>><br>
>> wrote:<br>
>> > This is not working for this, here kernel-devel and source is modified<br>
>> > as<br>
>> > wiki told:<br>
>> ><br>
>> > [root@localhost alsa-driver-1.0.20]# uname -a<br>
>> > Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT<br>
>> > 2009 i686 athlon i386 GNU/Linux<br>
>> ><br>
>> > [root@localhost alsa-driver-1.0.20]# yum info kernel-devel<br>
>> > Loaded plugins: fastestmirror<br>
>> > Loading mirror speeds from cached hostfile<br>
>> > * addons: <a href="http://ftp.belnet.be" target="_blank">ftp.belnet.be</a><br>
>> > * base: <a href="http://mirror.ovh.net" target="_blank">mirror.ovh.net</a><br>
>> > * extras: <a href="http://mirror.ovh.net" target="_blank">mirror.ovh.net</a><br>
>> > * updates: <a href="http://mirror.ovh.net" target="_blank">mirror.ovh.net</a><br>
>> > Installed Packages<br>
>> > Name : kernel-devel<br>
>> > Arch : i686<br>
>> > Version : 2.6.18<br>
>> > Release : 194.11.3.el5<br>
>> > Size : 16 M<br>
>> > Repo : installed<br>
>> > Summary : Development package for building kernel modules to match<br>
>> > the<br>
>> > kernel.<br>
>> > URL : <a href="http://www.kernel.org/" target="_blank">http://www.kernel.org/</a><br>
>> > License : GPLv2<br>
>> > Description: This package provides kernel headers and makefiles<br>
>> sufficient<br>
>> > to build modules<br>
>> > : against the kernel package.<br>
>> > [root@localhost alsa-driver-1.0.20]# ./configure<br>
>> > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer<br>
>> > --with-card-options=all<br>
>> > checking for gcc... gcc<br>
>> > checking for C compiler default output file name... a.out<br>
>> > checking whether the C compiler works... yes<br>
>> > checking whether we are cross compiling... no<br>
>> > checking for suffix of executables...<br>
>> > checking for suffix of object files... o<br>
>> > checking whether we are using the GNU C compiler... yes<br>
>> > checking whether gcc accepts -g... yes<br>
>> > checking for gcc option to accept ISO C89... none needed<br>
>> > checking for ranlib... ranlib<br>
>> > checking for a BSD-compatible install... /usr/bin/install -c<br>
>> > checking how to run the C preprocessor... gcc -E<br>
>> > checking for grep that handles long lines and -e... /bin/grep<br>
>> > checking for egrep... /bin/grep -E<br>
>> > checking for ANSI C header files... yes<br>
>> > checking for an ANSI C-conforming const... yes<br>
>> > checking for inline... inline<br>
>> > checking whether time.h and sys/time.h may both be included... yes<br>
>> > checking whether gcc needs -traditional... no<br>
>> > checking for current directory... /usr/local/src/alsa-driver-1.0.20<br>
>> > checking cross compile...<br>
>> > checking for directory with kernel source... ./configure: line 4870: cd:<br>
>> > /lib/modules/2.6.18-164.el5/source: No such file or directory<br>
>> > /lib/modules/2.6.18-164.el5/source<br>
>> > checking for directory with kernel build...<br>
>> > /lib/modules/2.6.18-164.el5/build<br>
>> > checking for kernel linux/version.h... no<br>
>> > The file /include/linux/version.h does not exist.<br>
>> > Please install the package with full kernel sources for your<br>
>> > distribution<br>
>> > or use --with-kernel=dir option to specify another directory with kernel<br>
>> > sources (default is /lib/modules/2.6.18-164.el5/source).<br>
>> > [root@localhost alsa-driver-1.0.20]#<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > Wiki told:<br>
>> > ==========<br>
>> ><br>
>> > Let's start with ALSA driver compilation and installation:<br>
>> ><br>
>> > Get it from:<br>
>> > <a href="ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2" target="_blank">ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2</a><br>
>> ><br>
>> > CentOS, RedHat<br>
>> ><br>
>> > Because CentOS backports features in kernel, you will have to edit<br>
>> > alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line<br>
>> 1781,<br>
>> > to make it like this:<br>
>> ><br>
>> > /* other missing types */<br>
>> > #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28)<br>
>> > //typedef unsigned int fmode_t;<br>
>> > #endif<br>
>> ><br>
>> > ...<br>
>> ><br>
>> > #ifndef bool /* just to be sure */<br>
>> > //typedef _Bool bool;<br>
>> > #endif<br>
>> ><br>
>> > Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line<br>
>> > 18,<br>
>> > commenting out the following code making it look like this:<br>
>> ><br>
>> > #endif /* < 2.6.24 */<br>
>> > #if 0<br>
>> > #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)<br>
>> > static inline int usb_endpoint_dir_in(const struct<br>
>> usb_endpoint_descriptor<br>
>> > *epd)<br>
>> ><br>
>> > close the commenting out block adding an "#endif" at line 97, making it<br>
>> look<br>
>> > like this:<br>
>> ><br>
>> > #endif /* < 2.6.21 */<br>
>> > #endif //0<br>
>> ><br>
>> > Then:<br>
>> ><br>
>> > yum install kernel-devel # or yum install kernel-xen-devel (if on xen)<br>
>> ><br>
>> > ./configure --with-redhat=yes \<br>
>> > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \<br>
>> > --with-card-options=all<br>
>> ><br>
>> ><br>
>> ><br>
>> > make && make install<br>
>> ><br>
>> > After the first make && make install, copy<br>
>> mod_skypopen/configs/alsa/dummy.c<br>
>> > to alsa-driver-1.0.20/sound/drivers/dummy.c .<br>
>> ><br>
>> > make && make install #again :)<br>
>> ><br>
>> ><br>
>> ><br>
>> > On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli <<br>
>> <a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Read what error you get.<br>
>> >> Follow the wiki page.<br>
>> >> Install necessary packages and edit alsa sources. All described in wiki<br>
>> >> page.<br>
>> >> -giovanni<br>
>> >><br>
>> >> On 9/18/10, Shamun toha md <<a href="mailto:shamun.toha@gmail.com">shamun.toha@gmail.com</a>> wrote:<br>
>> >> > Alsa driver installation in CentOS 5.4 getting fail:<br>
>> >> ><br>
>> >> > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes<br>
>> >> > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer<br>
>> >> > --with-card-options=all<br>
>> >> > checking for gcc... gcc<br>
>> >> > checking for C compiler default output file name... a.out<br>
>> >> > checking whether the C compiler works... yes<br>
>> >> > checking whether we are cross compiling... no<br>
>> >> > checking for suffix of executables...<br>
>> >> > checking for suffix of object files... o<br>
>> >> > checking whether we are using the GNU C compiler... yes<br>
>> >> > checking whether gcc accepts -g... yes<br>
>> >> > checking for gcc option to accept ISO C89... none needed<br>
>> >> > checking for ranlib... ranlib<br>
>> >> > checking for a BSD-compatible install... /usr/bin/install -c<br>
>> >> > checking how to run the C preprocessor... gcc -E<br>
>> >> > checking for grep that handles long lines and -e... /bin/grep<br>
>> >> > checking for egrep... /bin/grep -E<br>
>> >> > checking for ANSI C header files... yes<br>
>> >> > checking for an ANSI C-conforming const... yes<br>
>> >> > checking for inline... inline<br>
>> >> > checking whether time.h and sys/time.h may both be included... yes<br>
>> >> > checking whether gcc needs -traditional... no<br>
>> >> > checking for current directory... /usr/local/src/alsa-driver-1.0.20<br>
>> >> > checking cross compile...<br>
>> >> > checking for directory with kernel source... ./configure: line 4870:<br>
>> cd:<br>
>> >> > /lib/modules/2.6.18-164.el5/source: No such file or directory<br>
>> >> > /lib/modules/2.6.18-164.el5/source<br>
>> >> > checking for directory with kernel build...<br>
>> >> > /lib/modules/2.6.18-164.el5/build<br>
>> >> > checking for kernel linux/version.h... no<br>
>> >> > The file /include/linux/version.h does not exist.<br>
>> >> > Please install the package with full kernel sources for your<br>
>> >> > distribution<br>
>> >> > or use --with-kernel=dir option to specify another directory with<br>
>> kernel<br>
>> >> > sources (default is /lib/modules/2.6.18-164.el5/source).<br>
>> >> > [root@localhost alsa-driver-1.0.20]#<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes<br>
>> >> > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer<br>
>> >> > --with-card-options=all<br>
>> --with-kernel=/lib/modules/2.6.18-164.el5/source<br>
>> >> > checking for gcc... gcc<br>
>> >> > checking for C compiler default output file name... a.out<br>
>> >> > checking whether the C compiler works... yes<br>
>> >> > checking whether we are cross compiling... no<br>
>> >> > checking for suffix of executables...<br>
>> >> > checking for suffix of object files... o<br>
>> >> > checking whether we are using the GNU C compiler... yes<br>
>> >> > checking whether gcc accepts -g... yes<br>
>> >> > checking for gcc option to accept ISO C89... none needed<br>
>> >> > checking for ranlib... ranlib<br>
>> >> > checking for a BSD-compatible install... /usr/bin/install -c<br>
>> >> > checking how to run the C preprocessor... gcc -E<br>
>> >> > checking for grep that handles long lines and -e... /bin/grep<br>
>> >> > checking for egrep... /bin/grep -E<br>
>> >> > checking for ANSI C header files... yes<br>
>> >> > checking for an ANSI C-conforming const... yes<br>
>> >> > checking for inline... inline<br>
>> >> > checking whether time.h and sys/time.h may both be included... yes<br>
>> >> > checking whether gcc needs -traditional... no<br>
>> >> > checking for current directory... /usr/local/src/alsa-driver-1.0.20<br>
>> >> > checking cross compile...<br>
>> >> > checking for directory with kernel source... ./configure: line 4870:<br>
>> cd:<br>
>> >> > /lib/modules/2.6.18-164.el5/source: No such file or directory<br>
>> >> > /lib/modules/2.6.18-164.el5/source<br>
>> >> > checking for directory with kernel build...<br>
>> >> > checking for kernel linux/version.h... no<br>
>> >> > The file /include/linux/version.h does not exist.<br>
>> >> > Please install the package with full kernel sources for your<br>
>> >> > distribution<br>
>> >> > or use --with-kernel=dir option to specify another directory with<br>
>> kernel<br>
>> >> > sources (default is /lib/modules/2.6.18-164.el5/source).<br>
>> >> ><br>
>> >><br>
>> >> --<br>
>> >> Sent from my mobile device<br>
>> >><br>
>> >> Sincerely,<br>
>> >><br>
>> >> Giovanni Maruzzelli<br>
>> >> Cell : +39-347-2665618<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> FreeSWITCH-users mailing list<br>
>> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> >> UNSUBSCRIBE:<br>
>> <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > FreeSWITCH-users mailing list<br>
>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Sincerely,<br>
>><br>
>> Giovanni Maruzzelli<br>
>> Cell : +39-347-2665618<br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
><br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Sent from my mobile device<br>
<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : +39-347-2665618<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>