I am seeing where I was couple weeks ago :-).

Ha, all the steps below are to launch multiple skype instances(in different X instances).

Step 2 is to prepare the base folder for skype. If you already followed the step to launch Skype once from a remote client using XAuth. What you need to do is just to copy the content under .Skype folder to as many places as the number of skype instances you want to run. Forget about the step 2 and 3, this part on wiki explains better:

mkdir -p /root/multi/01
mkdir -p /root/multi/02
cp -a /root/.Skype/* /root/multi/01/
cp -a /root/.Skype/* /root/multi/02/

Also I suggest you do everything with root login.

Those module not found errors are from the lines to remove all modules other than snd-dummy(guess not required but strongly suggested). What I did is to disable my onboard audio card in CMOS so when the server boots, no snd modules loaded at all. You could comment out the remove module lines and only leave the modprobe snd-dummy one there.

The skype launch script(no matter you use startskype.sh or multi.sh) just do the below steps:

load snd-dummy
launch X number 1
launch skype 1 in X number 1
....
launch X number N
launch skype N in X number N

The parts you need to customize are the skype account and base folder(the /root/multi/xx as above).

The skypopen.conf.xml file needs to be updated so it matches your skype launch script(same skype account and same X number)

Good Luck!
Jian


On Fri, Dec 3, 2010 at 11:01 AM, ha do <haloha201@yahoo.com> wrote:
hi all

i try to use the skypopen and i follow on wiki page
there are some places that are very hard to understand


1/

let's edit the startskype script
remember to add the removing of all the installed snd-* modules
cp freeswitch/src/mod/endpoints/mod_skypopen/configs/startskype.sh ./
vi startskype.sh

start the X servers and the Skype clients
sh ./startskype.sh


2/

on "How to prepare the configuration directory of Skype clients on Linux", see
http://wiki.freeswitch.org/wiki/Skypopen_Skype_Endpoint_and_Trunk#How_to_prepare_the_configuration_directory_of_Skype_clients_on_Linux_using_ssh_-X_and_xauth

cp /mnt/root/configskypenew.tgz ./
tar xzf configskypenew.tgz
chown root.root .Skype

configskypenew.tgz is not a published file - you must generate it  yourself for
your own configuration using the instructions at the above  link. This is
because it contains your authentication details.


3/

Copy and install the Skype clients configuration directory you previously
prepared (see
http://wiki.freeswitch.org/wiki/Skypopen_Skype_Endpoint_and_Trunk#How_to_prepare_the_configuration_directory_of_Skype_clients_on_Linux_using_ssh_-X_and_xauth
 for how to prepare it):

cd /root
mount /dev/hda5 /mnt
cp /mnt/root/skypeconfig2.tgz ./
tar xzf skypeconfig2.tgz
chown -R root.root .Skype


4/

Install the skypopen configuration files, edit and execute the script that
starts the Skype client instances:

cd /usr/src
cd freeswitch/src/mod/endpoints/mod_skypopen/
cd configs/
cp skypopen.conf.xml /usr/local/freeswitch/conf/autoload_configs/ ==> copy the
config to autoload

vi /usr/local/freeswitch/conf/autoload_configs/skypopen.conf.xml ==> what parts
should i edit in the skypopen.conf.xml

cp startskype.sh 2startskype.sh => where do i put the 2startskype.sh
vi 2startskype.sh => what information should i input
sh ./2startskype.sh



when i start the sh ./startskype.sh i got the error
skype@skype-desktop:/$ sh ./startskype.sh
ERROR: Module snd_* does not exist in /proc/modules
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_dummy is in use

Fatal server error:
Server is already active for display 101
       If this server is no longer running, remove /tmp/.X101-lock
       and start again.

Password:


what is the password i should input here


where i put the real password of skype account and the real account ID of skype
account


please help
Thank you
Ha





_______________________________________________
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