Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Possible to initiate multiple skype interfaces with the same id?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jingwei.yang at gmail.com
Guest





PostPosted: Sun Jun 14, 2009 9:32 pm    Post subject: [Freeswitch-users] Possible to initiate multiple skype inter Reply with quote

Hi Team,

As the subject indicates, is there a possible way to do that?

I've tried setting up two different skype instances with the same id in /usr/src/freeswitch/src/mod/endpoints/mod_skypiax/configs/2startskype.sh

    /usr/bin/Xvfb :101 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
    su root -c "/bin/echo 'userAAA aaa'| DISPLAY=:101 /usr/bin/skype --pipelogin &"
   
    /usr/bin/Xvfb :102 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
    su root -c "/bin/echo 'userAAA aaa'| DISPLAY=:102 /usr/bin/skype --pipelogin &"

The script can be run without any error and when I executed the ps command, I noticed there's only one skype process up. This is strange since normally there will be two (with two different ids)

    3782 pts/1    00:00:00 Xvfb
    3793 pts/1    00:00:00 dbus-launch
    3800 pts/1    00:00:04 Xvfb
    3805 pts/1    00:00:03 skype
    3811 pts/1    00:00:00 dbus-launch

Then I started freeswitch and hit an error when loading mod_skypiax:

freeswitch@localhost.localdomain> load mod_skypiax
2009-06-15 10:00:52 [WARNING] mod_skypiax.c:950 load_config() rev 13600[(nil)|37     ][WARNINGA  950  ][skypiax1  ][-1, 0, 0] STARTING interface_id=1
2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1184 X11_errors_handler() rev 13600[(nil)|37     ][ERRORA  1184 ][none      ][-1,-1,-1] Received error code 3 from X Server

2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1251 skypiax_send_message() rev 13600[(nil)|37     ][ERRORA  1251 ][none      ][-1,-1,-1] Sending message failed with status 3
2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1184 X11_errors_handler() rev 13600[(nil)|37     ][ERRORA  1184 ][none      ][-1,-1,-1] Received error code 3 from X Server

2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1251 skypiax_send_message() rev 13600[(nil)|37     ][ERRORA  1251 ][none      ][-1,-1,-1] Sending message failed with status 3
2009-06-15 10:00:53 [NOTICE] mod_skypiax.c:976 load_config() rev 13600[(nil)|37     ][NOTICA  976  ][skypiax1  ][-1, 0, 0] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1
2009-06-15 10:00:53 [NOTICE] mod_skypiax.c:986 load_config() rev 13600[(nil)|37     ][NOTICA  986  ][skypiax1  ][-1, 0, 0] Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==userAAA
API CALL [load(mod_skypiax)] output:
-ERR [module load file routine returned an error]

2009-06-15 10:00:53 [ERR] mod_skypiax.c:1010 load_config() rev 13600[(nil)|37     ][ERRORA  1010 ][skypiax1  ][-1, 0, 0] The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=userAAA, interface_id=1 FAILED to start. No Skype client logged in as 'userAAA' has been found. Please (re)launch a Skype client logged in as 'userAAA'. Skypiax exiting now
2009-06-15 10:00:53 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_skypiax.so
**Module load routine returned an error**


Please enlighten whether it's possible to start multiple skype instances with the same skype id. If possible, what are the correct configs?

Thanks,
-Jingwei
 
Back to top
shaheryarkh at googlem...
Guest





PostPosted: Sun Jun 14, 2009 11:23 pm    Post subject: [Freeswitch-users] Possible to initiate multiple skype inter Reply with quote

I don't think you can start more then one Skype instance of same Skype ID from a single machine. You can either login with same Skype ID on two (or more different machines) or use two (or more) different Skype IDs on same machine.

Thank you.


On Mon, Jun 15, 2009 at 8:29 AM, Jingwei Yang <jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Hi Team,

As the subject indicates, is there a possible way to do that?

I've tried setting up two different skype instances with the same id in /usr/src/freeswitch/src/mod/endpoints/mod_skypiax/configs/2startskype.sh

    /usr/bin/Xvfb :101 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
    su root -c "/bin/echo 'userAAA aaa'| DISPLAY=:101 /usr/bin/skype --pipelogin &"
   
    /usr/bin/Xvfb :102 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
    su root -c "/bin/echo 'userAAA aaa'| DISPLAY=:102 /usr/bin/skype --pipelogin &"

The script can be run without any error and when I executed the ps command, I noticed there's only one skype process up. This is strange since normally there will be two (with two different ids)

    3782 pts/1    00:00:00 Xvfb
    3793 pts/1    00:00:00 dbus-launch
    3800 pts/1    00:00:04 Xvfb
    3805 pts/1    00:00:03 skype
    3811 pts/1    00:00:00 dbus-launch

Then I started freeswitch and hit an error when loading mod_skypiax:

freeswitch@localhost.localdomain> load mod_skypiax
2009-06-15 10:00:52 [WARNING] mod_skypiax.c:950 load_config() rev 13600[(nil)|37     ][WARNINGA  950  ][skypiax1  ][-1, 0, 0] STARTING interface_id=1
2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1184 X11_errors_handler() rev 13600[(nil)|37     ][ERRORA  1184 ][none      ][-1,-1,-1] Received error code 3 from X Server

2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1251 skypiax_send_message() rev 13600[(nil)|37     ][ERRORA  1251 ][none      ][-1,-1,-1] Sending message failed with status 3
2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1184 X11_errors_handler() rev 13600[(nil)|37     ][ERRORA  1184 ][none      ][-1,-1,-1] Received error code 3 from X Server

2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1251 skypiax_send_message() rev 13600[(nil)|37     ][ERRORA  1251 ][none      ][-1,-1,-1] Sending message failed with status 3
2009-06-15 10:00:53 [NOTICE] mod_skypiax.c:976 load_config() rev 13600[(nil)|37     ][NOTICA  976  ][skypiax1  ][-1, 0, 0] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1
2009-06-15 10:00:53 [NOTICE] mod_skypiax.c:986 load_config() rev 13600[(nil)|37     ][NOTICA  986  ][skypiax1  ][-1, 0, 0] Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==userAAA
API CALL [load(mod_skypiax)] output:
-ERR [module load file routine returned an error]

2009-06-15 10:00:53 [ERR] mod_skypiax.c:1010 load_config() rev 13600[(nil)|37     ][ERRORA  1010 ][skypiax1  ][-1, 0, 0] The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=userAAA, interface_id=1 FAILED to start. No Skype client logged in as 'userAAA' has been found. Please (re)launch a Skype client logged in as 'userAAA'. Skypiax exiting now
2009-06-15 10:00:53 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_skypiax.so
**Module load routine returned an error**


Please enlighten whether it's possible to start multiple skype instances with the same skype id. If possible, what are the correct configs?

Thanks,
-Jingwei
 

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)
Back to top
jingwei.yang at gmail.com
Guest





PostPosted: Mon Jun 15, 2009 12:13 am    Post subject: [Freeswitch-users] Possible to initiate multiple skype inter Reply with quote

Hi Muhammad, thanks for the reply.


On Mon, Jun 15, 2009 at 12:21 PM, Muhammad Shahzad <shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)> wrote:
Quote:
I don't think you can start more then one Skype instance of same Skype ID from a single machine. You can either login with same Skype ID on two (or more different machines) or use two (or more) different Skype IDs on same machine.

Thank you.



On Mon, Jun 15, 2009 at 8:29 AM, Jingwei Yang <jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:


Quote:

Hi Team,

As the subject indicates, is there a possible way to do that?

I've tried setting up two different skype instances with the same id in /usr/src/freeswitch/src/mod/endpoints/mod_skypiax/configs/2startskype.sh

    /usr/bin/Xvfb :101 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
    su root -c "/bin/echo 'userAAA aaa'| DISPLAY=:101 /usr/bin/skype --pipelogin &"
   
    /usr/bin/Xvfb :102 -auth /usr/local/freeswitch/conf/autoload_configs/skypiax.X.conf &
    su root -c "/bin/echo 'userAAA aaa'| DISPLAY=:102 /usr/bin/skype --pipelogin &"

The script can be run without any error and when I executed the ps command, I noticed there's only one skype process up. This is strange since normally there will be two (with two different ids)

    3782 pts/1    00:00:00 Xvfb
    3793 pts/1    00:00:00 dbus-launch
    3800 pts/1    00:00:04 Xvfb
    3805 pts/1    00:00:03 skype
    3811 pts/1    00:00:00 dbus-launch

Then I started freeswitch and hit an error when loading mod_skypiax:

freeswitch@localhost.localdomain> load mod_skypiax
2009-06-15 10:00:52 [WARNING] mod_skypiax.c:950 load_config() rev 13600[(nil)|37     ][WARNINGA  950  ][skypiax1  ][-1, 0, 0] STARTING interface_id=1
2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1184 X11_errors_handler() rev 13600[(nil)|37     ][ERRORA  1184 ][none      ][-1,-1,-1] Received error code 3 from X Server

2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1251 skypiax_send_message() rev 13600[(nil)|37     ][ERRORA  1251 ][none      ][-1,-1,-1] Sending message failed with status 3
2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1184 X11_errors_handler() rev 13600[(nil)|37     ][ERRORA  1184 ][none      ][-1,-1,-1] Received error code 3 from X Server

2009-06-15 10:00:52 [ERR] skypiax_protocol.c:1251 skypiax_send_message() rev 13600[(nil)|37     ][ERRORA  1251 ][none      ][-1,-1,-1] Sending message failed with status 3
2009-06-15 10:00:53 [NOTICE] mod_skypiax.c:976 load_config() rev 13600[(nil)|37     ][NOTICA  976  ][skypiax1  ][-1, 0, 0] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1
2009-06-15 10:00:53 [NOTICE] mod_skypiax.c:986 load_config() rev 13600[(nil)|37     ][NOTICA  986  ][skypiax1  ][-1, 0, 0] Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==userAAA
API CALL [load(mod_skypiax)] output:
-ERR [module load file routine returned an error]

2009-06-15 10:00:53 [ERR] mod_skypiax.c:1010 load_config() rev 13600[(nil)|37     ][ERRORA  1010 ][skypiax1  ][-1, 0, 0] The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=userAAA, interface_id=1 FAILED to start. No Skype client logged in as 'userAAA' has been found. Please (re)launch a Skype client logged in as 'userAAA'. Skypiax exiting now
2009-06-15 10:00:53 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_skypiax.so
**Module load routine returned an error**


Please enlighten whether it's possible to start multiple skype instances with the same skype id. If possible, what are the correct configs?

Thanks,
-Jingwei
 



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services