also, if you use alsa 1.0.21 you just follow the same instructions in the wiki, and maybe the edits will not be necessary. The custom snd-dummy is ok for all alsa versions But you will have to modprobe it, I mean you have to load the dummy driver. From the command line, as root: modprobe snd-dummy or just use the script for launching the Skype client. I repeat: maybe will be better if you ask some friends that knows unix-linux to help you in the first days, or you will have many quirks like this one. ciao, -giovanni On Wed, Jun 9, 2010 at 1:59 PM, Giovanni Maruzzelli <gmaruzz@celliax.org> wrote:
On Wed, Jun 9, 2010 at 6:48 AM, Zuhair Raza <engineerzuhairraza@gmail.com> wrote:
I have one more question to ask, I am unable to compile alsa-driver-1.0.20 on centos 5.5, I googled but could not find any usable info I got this error.
In file included from /usr/src/alsa-driver-1.0.20/acore/hwdep.c:1: /usr/src/alsa-driver-1.0.20/include/adriver.h:1779:1: error: unterminated #if /usr/src/alsa-driver-1.0.20/include/adriver.h:1:1: error: unterminated #ifndef make[3]: *** [/usr/src/alsa-driver-1.0.20/acore/hwdep.o] Error 1 make[2]: *** [/usr/src/alsa-driver-1.0.20/acore] Error 2 make[1]: *** [_module_/usr/src/alsa-driver-1.0.20] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-194.3.1.el5-i686' make: *** [compile] Error 2
use alsa drivers 1.0.20 and compile them as per the instructions on the wiki (you have to edit some files, is very clearly explained in the wiki page). The preferred centos version for FreeSWITCH is 5.3, but 5.5 would probably be ok. Maybe with centos 5.5 they changed something, in that case you will have to do adapt the dits to the files.
On Mon, Jun 7, 2010 at 5:19 PM, Giovanni Maruzzelli <gmaruzz@celliax.org> wrote:
Zuhair,
maybe you need to find a friend with some more unix experience, that can help you for the first few days.
You have to:
1) compile skypopen_auth as in the wiki ("gcc -Wall -ggdb skypopen_auth.c -o skypopen_auth -lX11") 2) login with ssh -X 3) launch Skype client 4) launch "skypopen_auth localhost:10.0"
-giovanni
On Mon, Jun 7, 2010 at 2:05 PM, Zuhair Raza <engineerzuhairraza@gmail.com> wrote:
you mean to use this syntax gcc -Wall -ggdb skypopen_auth.c -o skypopen_auth -lX11:101 ??
When i do echo $DISPLAY it says localhost:10.0 and when gcc -Wall -ggdb skypopen_auth.c -o skypopen_auth -lX11:$DISPLAY it says cannot find -lX11:localhost:10.0
On Mon, Jun 7, 2010 at 4:36 PM, Giovanni Maruzzelli <gmaruzz@celliax.org> wrote:
On Mon, Jun 7, 2010 at 1:29 PM, Zuhair Raza <engineerzuhairraza@gmail.com> wrote:
ok thanks.. but what about my question that skype didnot ask me to to connect to skype API. and when i do either on ./skypopen_auth :101 or :0 it says cannot open X display
I told you in previous mail.
You need to launch skypopen_auth from the same ssh -X from which you launched the Skype client. And you must give skypopen_auth the correct xserver as an argument. You can use $DISPLAY, or you can check it with "echo $DISPLAY" and then use that value.
On Mon, Jun 7, 2010 at 3:53 PM, Giovanni Maruzzelli <gmaruzz@celliax.org> wrote: > > On Mon, Jun 7, 2010 at 12:45 PM, Zuhair Raza > <engineerzuhairraza@gmail.com> wrote: > > Thanks for explanation Sir, One more question, please explain > > > > cd /root > > mount /dev/hda5 /mnt > > cp /mnt/root/skypeconfig2.tgz ./ > > tar xzf skypeconfig2.tgz > > chown -R root.root .Skype > > > > According to wiki we haven't created a tgz file before that, but > > .Skype > > directory at the server > > If you do it with ssh -X (as pre the previous mail), you don't need > a > Skype config directory from another computer. You created that > directory. > So, just skip those steps. > > -giovanni > > > > > > > On Mon, Jun 7, 2010 at 12:07 PM, Giovanni Maruzzelli > > <gmaruzz@celliax.org> > > wrote: > >> > >> On Sun, Jun 6, 2010 at 6:52 PM, Zuhair Raza > >> <engineerzuhairraza@gmail.com> wrote: > >> >> version. First i enter command at my freeswitch box under > >> >> mod_skypopen/configs > >> >> > >> >> gcc -Wall -ggdb skypopen_auth.c -o skypopen_auth -lX11 > >> >> > >> >> then I install xauth on server after that i ssh with x > >> >> forwarding > >> >> to > >> >> my > >> >> server from an another linux desktop and open skype by typing > >> >> /usr/bin/skype, it launched skype client at Linux desktop but > >> >> it > >> >> didn't > >> >> ask > >> >> for connecting with skypopen api, although it creates ".Skype" > >> >> directory on > >> > >> After launching the skype client from the ssh -X session, you > >> have > >> to > >> launch skypopen_auth from the same ssh -X session (giving the X > >> server > >> as an argument), eg: "./skypopen_auth $DISPLAY" > >> > >> >> my server but when i load mod_skypopen it says could not find > >> >> any > >> >> skype > >> >> instance and when i typed skypopen_auth it also says no skype > >> >> instance > >> >> found > >> >> on X 0:0. Can anyone tell me where I have mistaken?? > >> > >> After having given the auth to the skype client, and closing it > >> so > >> it > >> save that auth, you close the ssh -X session, and launch an X > >> server > >> and a skype client in the server, using the script in the configs > >> directory (as explained in the wiki). > >> > >> After having launched that script, you load mod_skypopen. > >> > >> You MUST edit the script and the skypopen.conf.xml to use your > >> own > >> values for skype username and password. > >> > >> -- > >> Sincerely, > >> > >> Giovanni Maruzzelli > >> Cell : +39-347-2665618 > >> > >> _______________________________________________ > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users@lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > >> > >> > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > -- > > Regards, > > Zuhair Raza > > > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users@lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org
-- Regards, Zuhair Raza
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards, Zuhair Raza
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards, Zuhair Raza
-- Regards, Zuhair Raza
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618