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<i...@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<br...@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