Hello,

Today I looked little more about Sofia. I have a problem placing a
call. I have looked in this documentation:
http://sofia-sip.sourceforge.net/refdocs/nua/index.html
http://wiki.opensource.nokia.com/projects/SofiaTutorial

I have problems with threads, main loop and so on (the simple
SofiaTutorial works fine).

It seems that to call I need two threads: one who will initiate the
call and other  to receive the callbacks (I understood it from
refdocs/nua, "Place a call" section -but it isn't a complete example
:-( )

I see that su_root_create is "blocking", so I need to use Glib
functions to have two threads: who will initiate the call and who will
receive the callbacks.

After looking in lot of places (for example sofsip-cli) I notice that
the main is to use su_root_source_create, sofsip_mainloop_create,
sofsip_mainloop_run, etc.

This functions are in sofia-sip-1.12.4/libsofia-sip-ua-glib, but when
I compiled Sofia using MSVC 2005 they hasn't been compiled (in Linux
yes).

Is it correct that I need to call this functions? Why has not been
compiled by MSVC? I mean, do I need to use "other way" (e.g. Windows
threads?) or there are others ways to place a call without use
threads?

I tried to "call" and then to receive the callbacks (executing
su_root_run just after create the call) but has not worked. Is it
possible to call without use threads?

Thank you again,

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to