No, it needs implementation of the message pump between the module and the Skype API. It's probably kind of trivial, if no other problems I'm not aware of. I do not have a Mac to implement it, tough :-(. -giovanni Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote:
I'm not sure about that one.... I haven't tried lately because the API differs on the Mac last I looked at it.
/b
On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote:
Is skypiax now working on Mac OS X in Freeswitch?
Ivan
_______________________________________________ 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
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below. What can I do to get past this error? I can also let you ssh into my machine. Contact me off list in case. Ivan making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat-namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto -lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1 Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
No, it needs implementation of the message pump between the module and the Skype API.
It's probably kind of trivial, if no other problems I'm not aware of.
I do not have a Mac to implement it, tough :-(.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote:
I'm not sure about that one.... I haven't tried lately because the API differs on the Mac last I looked at it.
/b
On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote:
Is skypiax now working on Mac OS X in Freeswitch?
Ivan
_______________________________________________ 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
_______________________________________________ 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
Ciao Ivan, it seems that you do not have the libX11 **development** package installed. Unfortunately I don't know about OSX, so I cannot help you, but many on the list know. BTW: it will probably be of no use to you to compile mod_skypiax on OSX, because Skype for MACOSX works in another way than Skype for Linux. If you know about MacOSX programming, please have a look at https://developer.skype.com/Docs/ApiDoc/Skype_API_on_Mac it would probably be simple enough to add a message pump for MacOSX. -giovanni Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 On Sun, Aug 9, 2009 at 4:52 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below.
What can I do to get past this error?
I can also let you ssh into my machine. Contact me off list in case.
Ivan
making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat-namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto -lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1
Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
No, it needs implementation of the message pump between the module and the Skype API.
It's probably kind of trivial, if no other problems I'm not aware of.
I do not have a Mac to implement it, tough :-(.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote:
I'm not sure about that one.... I haven't tried lately because the API differs on the Mac last I looked at it.
/b
On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote:
Is skypiax now working on Mac OS X in Freeswitch?
Ivan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
On Aug 9, 2009, at 11:10 PM, Giovanni Maruzzelli wrote:
Ciao Ivan,
it seems that you do not have the libX11 **development** package installed.
Unfortunately I don't know about OSX, so I cannot help you, but many on the list know. BTW: it will probably be of no use to you to compile mod_skypiax on OSX, because Skype for MACOSX works in another way than Skype for Linux.
That's right.
If you know about MacOSX programming, please have a look at https://developer.skype.com/Docs/ApiDoc/Skype_API_on_Mac it would probably be simple enough to add a message pump for MacOSX.
-giovanni
Giovanni, I have a Mac and tried to get this work yesterday, but haven't got it work. Will try further if I have time. However, I don't think it's so useful because I don't know how to run and hence control multi-skype instances on Mac. If someone interested to try this I can check the code into my branch.
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Sun, Aug 9, 2009 at 4:52 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below.
What can I do to get past this error?
I can also let you ssh into my machine. Contact me off list in case.
Ivan
making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/ Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat-namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/ Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/ libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/ apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto -lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1
Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
No, it needs implementation of the message pump between the module and the Skype API.
It's probably kind of trivial, if no other problems I'm not aware of.
I do not have a Mac to implement it, tough :-(.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote:
I'm not sure about that one.... I haven't tried lately because the API differs on the Mac last I looked at it.
/b
On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote:
Is skypiax now working on Mac OS X in Freeswitch?
Ivan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Yes, I am interested in this, and if you have any source I could have a look at it. Ivan Den 9. aug.. 2009 kl. 17:24 skrev Seven Du:
On Aug 9, 2009, at 11:10 PM, Giovanni Maruzzelli wrote:
Ciao Ivan,
it seems that you do not have the libX11 **development** package installed.
Unfortunately I don't know about OSX, so I cannot help you, but many on the list know. BTW: it will probably be of no use to you to compile mod_skypiax on OSX, because Skype for MACOSX works in another way than Skype for Linux.
That's right.
If you know about MacOSX programming, please have a look at https://developer.skype.com/Docs/ApiDoc/Skype_API_on_Mac it would probably be simple enough to add a message pump for MacOSX.
-giovanni
Giovanni, I have a Mac and tried to get this work yesterday, but haven't got it work. Will try further if I have time. However, I don't think it's so useful because I don't know how to run and hence control multi-skype instances on Mac.
If someone interested to try this I can check the code into my branch.
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Sun, Aug 9, 2009 at 4:52 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below.
What can I do to get past this error?
I can also let you ssh into my machine. Contact me off list in case.
Ivan
making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/ Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 - g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE - shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat-namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/ Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/ libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/ apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto -lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1
Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
No, it needs implementation of the message pump between the module and the Skype API.
It's probably kind of trivial, if no other problems I'm not aware of.
I do not have a Mac to implement it, tough :-(.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote:
I'm not sure about that one.... I haven't tried lately because the API differs on the Mac last I looked at it.
/b
On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote:
Is skypiax now working on Mac OS X in Freeswitch?
Ivan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Seven, thanks a lot for your effort, please let your stuff be available, maybe Ivan can make use of it! Ivan, in the file src/mod/endpoints/mod_skypiax/skypiax_protocol.c add you will find #ifdef WIN32 . it conditional compiles code between WIN32 and linux. You need to add another #ifdef, so it will compile for OSX. You will probably be able to use the same pipe mechanism as in Linux (normal POSIX pipes). You will for sure need to implement the part that deals with the Skype API. Maybe it will be not much more than reusing the example code to interact with the API. Please, let us know how it goes, and feel *very* free to ask for further info. -giovanni Sincerely, Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039 On Sun, Aug 9, 2009 at 5:34 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
Yes, I am interested in this, and if you have any source I could have a look at it.
Ivan
Den 9. aug.. 2009 kl. 17:24 skrev Seven Du:
On Aug 9, 2009, at 11:10 PM, Giovanni Maruzzelli wrote:
Ciao Ivan,
it seems that you do not have the libX11 **development** package installed.
Unfortunately I don't know about OSX, so I cannot help you, but many on the list know. BTW: it will probably be of no use to you to compile mod_skypiax on OSX, because Skype for MACOSX works in another way than Skype for Linux.
That's right.
If you know about MacOSX programming, please have a look at https://developer.skype.com/Docs/ApiDoc/Skype_API_on_Mac it would probably be simple enough to add a message pump for MacOSX.
-giovanni
Giovanni, I have a Mac and tried to get this work yesterday, but haven't got it work. Will try further if I have time. However, I don't think it's so useful because I don't know how to run and hence control multi-skype instances on Mac.
If someone interested to try this I can check the code into my branch.
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Sun, Aug 9, 2009 at 4:52 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below.
What can I do to get past this error?
I can also let you ssh into my machine. Contact me off list in case.
Ivan
making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/ Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 - g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE - shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat-namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/ Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/ libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/ apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto -lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1
Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
No, it needs implementation of the message pump between the module and the Skype API.
It's probably kind of trivial, if no other problems I'm not aware of.
I do not have a Mac to implement it, tough :-(.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote:
I'm not sure about that one.... I haven't tried lately because the API differs on the Mac last I looked at it.
/b
On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote:
> Is skypiax now working on Mac OS X in Freeswitch? > > Ivan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
On Aug 9, 2009, at 11:52 PM, Giovanni Maruzzelli wrote:
Seven, thanks a lot for your effort, please let your stuff be available, maybe Ivan can make use of it!
svn diff http://svn.freeswitch.org/svn/freeswitch/branches/seven -r 14473 :14475 When this done I think it's better to split codes into skypiax_protocol.c skypiax_protocol_mac.c skypiax_protocol_linux.c skypiax_protocol_windows.c :) 7.
Ivan, in the file src/mod/endpoints/mod_skypiax/skypiax_protocol.c add you will find #ifdef WIN32 .
it conditional compiles code between WIN32 and linux.
You need to add another #ifdef, so it will compile for OSX.
You will probably be able to use the same pipe mechanism as in Linux (normal POSIX pipes). You will for sure need to implement the part that deals with the Skype API. Maybe it will be not much more than reusing the example code to interact with the API.
Please, let us know how it goes, and feel *very* free to ask for further info.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Sun, Aug 9, 2009 at 5:34 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
Yes, I am interested in this, and if you have any source I could have a look at it.
Ivan
Den 9. aug.. 2009 kl. 17:24 skrev Seven Du:
On Aug 9, 2009, at 11:10 PM, Giovanni Maruzzelli wrote:
Ciao Ivan,
it seems that you do not have the libX11 **development** package installed.
Unfortunately I don't know about OSX, so I cannot help you, but many on the list know. BTW: it will probably be of no use to you to compile mod_skypiax on OSX, because Skype for MACOSX works in another way than Skype for Linux.
That's right.
If you know about MacOSX programming, please have a look at https://developer.skype.com/Docs/ApiDoc/Skype_API_on_Mac it would probably be simple enough to add a message pump for MacOSX.
-giovanni
Giovanni, I have a Mac and tried to get this work yesterday, but haven't got it work. Will try further if I have time. However, I don't think it's so useful because I don't know how to run and hence control multi-skype instances on Mac.
If someone interested to try this I can check the code into my branch.
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Sun, Aug 9, 2009 at 4:52 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below.
What can I do to get past this error?
I can also let you ssh into my machine. Contact me off list in case.
Ivan
making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/ Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 - g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE - shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat- namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/ Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/ xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch. 09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/ libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/ apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto - lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1
Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
No, it needs implementation of the message pump between the module and the Skype API.
It's probably kind of trivial, if no other problems I'm not aware of.
I do not have a Mac to implement it, tough :-(.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote: > I'm not sure about that one.... I haven't tried lately because > the > API > differs on the Mac last I looked at it. > > /b > > On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote: > >> Is skypiax now working on Mac OS X in Freeswitch? >> >> Ivan > > > _______________________________________________ > 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 >
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Ivan, Good to know you are a cocoa dev. Unable to check in code right now, will send the diff to you offlist for now. 0) I'm not familiar with Mac dev, just tried my best 1) It doesn't work yet, but should be able to compile, sure you already have the Skype framework in place :) 2) if run the skype delegate from a threat, then cannot get event callback. e.g. mac_client.c works but mac_client2.c doesn't. Since skypiax is running in a thread, we need to figure out this first. 3) it uses Carbon, since I think we only need to low level api, no need to bother the complicate of Cocoa. 4) strsep shows some warning on compile, haven't figured out why 5) perhaps you should only add one interface in skypiax.conf.xml 6) do you want to run multi-instances like on Linux? 7) I really not sure if it will work or not :) Let me know if it helps. I bet you can make it work. Also code will be in my branch soon. 7. On Aug 9, 2009, at 11:34 PM, Ivan C Myrvold wrote:
Yes, I am interested in this, and if you have any source I could have a look at it.
Ivan
Den 9. aug.. 2009 kl. 17:24 skrev Seven Du:
On Aug 9, 2009, at 11:10 PM, Giovanni Maruzzelli wrote:
Ciao Ivan,
it seems that you do not have the libX11 **development** package installed.
Unfortunately I don't know about OSX, so I cannot help you, but many on the list know. BTW: it will probably be of no use to you to compile mod_skypiax on OSX, because Skype for MACOSX works in another way than Skype for Linux.
That's right.
If you know about MacOSX programming, please have a look at https://developer.skype.com/Docs/ApiDoc/Skype_API_on_Mac it would probably be simple enough to add a message pump for MacOSX.
-giovanni
Giovanni, I have a Mac and tried to get this work yesterday, but haven't got it work. Will try further if I have time. However, I don't think it's so useful because I don't know how to run and hence control multi-skype instances on Mac.
If someone interested to try this I can check the code into my branch.
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Sun, Aug 9, 2009 at 4:52 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below.
What can I do to get past this error?
I can also let you ssh into my machine. Contact me off list in case.
Ivan
making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/ Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 - g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE - shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat- namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/ Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/ xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/ libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/ apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto -lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1
Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
No, it needs implementation of the message pump between the module and the Skype API.
It's probably kind of trivial, if no other problems I'm not aware of.
I do not have a Mac to implement it, tough :-(.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote:
I'm not sure about that one.... I haven't tried lately because the API differs on the Mac last I looked at it.
/b
On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote:
> Is skypiax now working on Mac OS X in Freeswitch? > > Ivan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Seven, I am afraid I will not be able to help you much with the Carbon code, as I am only good at Cocoa programming. You said you chose Carbon because you only needed low level API, and that is fair enough, but I will also add that you can do the same with only linking to the Foundation framework in Cocoa. I looked a little at the diff file yesterday, and will investigate more today, to try to understand how you have done the Skype integration to the Freeswitch in the Carbon code. And I am glad that someone have contributed to get skypiax working in OS X. Great work so far! Ivan Den 9. aug.. 2009 kl. 20:02 skrev Seven Du:
Ivan,
Good to know you are a cocoa dev. Unable to check in code right now, will send the diff to you offlist for now.
0) I'm not familiar with Mac dev, just tried my best 1) It doesn't work yet, but should be able to compile, sure you already have the Skype framework in place :) 2) if run the skype delegate from a threat, then cannot get event callback. e.g. mac_client.c works but mac_client2.c doesn't. Since skypiax is running in a thread, we need to figure out this first. 3) it uses Carbon, since I think we only need to low level api, no need to bother the complicate of Cocoa. 4) strsep shows some warning on compile, haven't figured out why 5) perhaps you should only add one interface in skypiax.conf.xml 6) do you want to run multi-instances like on Linux? 7) I really not sure if it will work or not :)
Let me know if it helps. I bet you can make it work. Also code will be in my branch soon.
7.
On Aug 9, 2009, at 11:34 PM, Ivan C Myrvold wrote:
Yes, I am interested in this, and if you have any source I could have a look at it.
Ivan
Den 9. aug.. 2009 kl. 17:24 skrev Seven Du:
On Aug 9, 2009, at 11:10 PM, Giovanni Maruzzelli wrote:
Ciao Ivan,
it seems that you do not have the libX11 **development** package installed.
Unfortunately I don't know about OSX, so I cannot help you, but many on the list know. BTW: it will probably be of no use to you to compile mod_skypiax on OSX, because Skype for MACOSX works in another way than Skype for Linux.
That's right.
If you know about MacOSX programming, please have a look at https://developer.skype.com/Docs/ApiDoc/Skype_API_on_Mac it would probably be simple enough to add a message pump for MacOSX.
-giovanni
Giovanni, I have a Mac and tried to get this work yesterday, but haven't got it work. Will try further if I have time. However, I don't think it's so useful because I don't know how to run and hence control multi-skype instances on Mac.
If someone interested to try this I can check the code into my branch.
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Sun, Aug 9, 2009 at 4:52 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below.
What can I do to get past this error?
I can also let you ssh into my machine. Contact me off list in case.
Ivan
making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/ Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 - g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE - shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat- namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/ Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/ xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch. 09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/ libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/ apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto - lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1
Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
No, it needs implementation of the message pump between the module and the Skype API.
It's probably kind of trivial, if no other problems I'm not aware of.
I do not have a Mac to implement it, tough :-(.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote: > I'm not sure about that one.... I haven't tried lately because > the > API > differs on the Mac last I looked at it. > > /b > > On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote: > >> Is skypiax now working on Mac OS X in Freeswitch? >> >> Ivan > > > _______________________________________________ > 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 >
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
2009/8/10 Ivan C Myrvold <ivan@myrvold.org>
Seven, I am afraid I will not be able to help you much with the Carbon code, as I am only good at Cocoa programming. You said you chose Carbon because you only needed low level API, and that is fair enough, but I will also add that you can do the same with only linking to the Foundation framework in Cocoa.
Link with Cocoa is OK but just need extra hack to the standard Makefile and not so necessary. And I think Carbon code is more C friendly. I made a jira to Skype-Dev, hope someone can help us.
I looked a little at the diff file yesterday, and will investigate more today, to try to understand how you have done the Skype integration to the Freeswitch in the Carbon code. And I am glad that someone have contributed to get skypiax working in OS X. Great work so far!
Ivan
Den 9. aug.. 2009 kl. 20:02 skrev Seven Du:
Ivan,
Good to know you are a cocoa dev. Unable to check in code right now, will send the diff to you offlist for now.
0) I'm not familiar with Mac dev, just tried my best 1) It doesn't work yet, but should be able to compile, sure you already have the Skype framework in place :) 2) if run the skype delegate from a threat, then cannot get event callback. e.g. mac_client.c works but mac_client2.c doesn't. Since skypiax is running in a thread, we need to figure out this first. 3) it uses Carbon, since I think we only need to low level api, no need to bother the complicate of Cocoa. 4) strsep shows some warning on compile, haven't figured out why 5) perhaps you should only add one interface in skypiax.conf.xml 6) do you want to run multi-instances like on Linux? 7) I really not sure if it will work or not :)
Let me know if it helps. I bet you can make it work. Also code will be in my branch soon.
7.
On Aug 9, 2009, at 11:34 PM, Ivan C Myrvold wrote:
Yes, I am interested in this, and if you have any source I could have a look at it.
Ivan
Den 9. aug.. 2009 kl. 17:24 skrev Seven Du:
On Aug 9, 2009, at 11:10 PM, Giovanni Maruzzelli wrote:
Ciao Ivan,
it seems that you do not have the libX11 **development** package installed.
Unfortunately I don't know about OSX, so I cannot help you, but many on the list know. BTW: it will probably be of no use to you to compile mod_skypiax on OSX, because Skype for MACOSX works in another way than Skype for Linux.
That's right.
If you know about MacOSX programming, please have a look at https://developer.skype.com/Docs/ApiDoc/Skype_API_on_Mac it would probably be simple enough to add a message pump for MacOSX.
-giovanni
Giovanni, I have a Mac and tried to get this work yesterday, but haven't got it work. Will try further if I have time. However, I don't think it's so useful because I don't know how to run and hence control multi-skype instances on Mac.
If someone interested to try this I can check the code into my branch.
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Sun, Aug 9, 2009 at 4:52 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below.
What can I do to get past this error?
I can also let you ssh into my machine. Contact me off list in case.
Ivan
making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/ Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 - g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE - shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat- namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/ Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/ xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch. 09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/ libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/ apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto - lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1
Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
> No, it needs implementation of the message pump between the > module > and > the Skype API. > > It's probably kind of trivial, if no other problems I'm not aware > of. > > I do not have a Mac to implement it, tough :-(. > > -giovanni > > > > > > Sincerely, > > Giovanni Maruzzelli > ========================================= > www.celliax.org > via Pierlombardo 9, 20135 Milano > Italy > gmaruzz at celliax dot org > Cell : +39-347-2665618 > Fax : +39-02-87390039 > > > > > On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> > wrote: >> I'm not sure about that one.... I haven't tried lately because >> the >> API >> differs on the Mac last I looked at it. >> >> /b >> >> On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote: >> >>> Is skypiax now working on Mac OS X in Freeswitch? >>> >>> Ivan >> >> >> _______________________________________________ >> 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 >> > > _______________________________________________ > 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 >
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Thanks, Giovanni for the pointer! Yes, I am a Cocoa developer, and have no problem compiling with the Skype.framework. But I still have no clue how to include this into the skypiax code. Probably need just a little more hint of how to do it. Ivan Den 9. aug.. 2009 kl. 17:10 skrev Giovanni Maruzzelli:
Ciao Ivan,
it seems that you do not have the libX11 **development** package installed.
Unfortunately I don't know about OSX, so I cannot help you, but many on the list know.
BTW: it will probably be of no use to you to compile mod_skypiax on OSX, because Skype for MACOSX works in another way than Skype for Linux. If you know about MacOSX programming, please have a look at https://developer.skype.com/Docs/ApiDoc/Skype_API_on_Mac it would probably be simple enough to add a message pump for MacOSX.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Sun, Aug 9, 2009 at 4:52 PM, Ivan C Myrvold<ivan@myrvold.org> wrote:
I tried to compile mod_skypiax, and am getting problem with X11. On OS X Leopard, X11 is installed in /usr/X11/lib/ See below.
What can I do to get past this error?
I can also let you ssh into my machine. Contact me off list in case.
Ivan
making all mod_skypiax Compiling skypiax_protocol.c... Compiling mod_skypiax.c... mkdir .libs Compiling mod_skypiax.c ... Creating mod_skypiax.so... ld: library not found for -lX11 collect2: ld returned 1 exit status gcc -DSKYPIAX_SVN_VERSION=\"14471\" -I/Users/imyrvold/Documents/ Freeswitch/freeswitch.09-08-09/src/include -I/Users/imyrvold/ Documents/ Freeswitch/freeswitch.09-08-09/libs/libteletone/src -Werror - fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g - ggdb -DMACOSX -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -shared - o .libs/mod_skypiax.so -dynamic -bundle -force-flat-namespace .libs/ mod_skypiax.o skypiax_protocol.o /Users/imyrvold/Documents/ Freeswitch/ freeswitch.09-08-09/.libs/libfreeswitch.dylib -L/usr/lib -L/Users/ imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/apr-util/xml/ expat/lib /Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/ libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/lib/ libiconv.dylib / Users/imyrvold/Documents/Freeswitch/freeswitch.09-08-09/libs/ apr/.libs/ libapr-1.a -ldl -lpthread -lm -L/opt/local/lib -lssl -lcrypto -lz - lncurses -lX11 make[5]: *** [mod_skypiax.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_skypiax-all] Error 1 make[2]: *** [all-recursive] Error 1
Den 6. aug.. 2009 kl. 18:37 skrev Giovanni Maruzzelli:
No, it needs implementation of the message pump between the module and the Skype API.
It's probably kind of trivial, if no other problems I'm not aware of.
I do not have a Mac to implement it, tough :-(.
-giovanni
Sincerely,
Giovanni Maruzzelli ========================================= www.celliax.org via Pierlombardo 9, 20135 Milano Italy gmaruzz at celliax dot org Cell : +39-347-2665618 Fax : +39-02-87390039
On Thu, Aug 6, 2009 at 5:55 PM, Brian West<brian@freeswitch.org> wrote:
I'm not sure about that one.... I haven't tried lately because the API differs on the Mac last I looked at it.
/b
On Aug 6, 2009, at 10:53 AM, Ivan C Myrvold wrote:
Is skypiax now working on Mac OS X in Freeswitch?
Ivan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
participants (4)
-
Brian West
-
Giovanni Maruzzelli
-
Ivan C Myrvold
-
Seven Du