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