[Sofia-sip-devel] Threading and connection reuse

2007-03-01 Thread Michael Manousos
Hello all, It would be very useful to have a confirmation on two issues related to the sofia-sip package from the experts. 1) Threading model As I understand the stack offers the option to operate with one thread for every call-leg or with one thread per call-leg (operation mode selected with

[Sofia-sip-devel] Probleme with machine state on INVITE request

2007-03-01 Thread moreauf
I have a problem with this following code : #include #include #include #include // GLOBAL VARIABLES //SIP su_root_t * root; nua_t * nua; soa_session_t * soa; void event_callback(nua_event_t event, int status, char const *phrase ,nua_t * nua, nua

Re: [Sofia-sip-devel] How do you match message with response?

2007-03-01 Thread Kai Vehmanen
Hi, On Thu, 1 Mar 2007, Cristian Bidea wrote: > How can you match a message that you send nua_register() or > nua_subscribe() with the response received in an event of type > nua_i_notify or nua_r_subscribe? the nua handles (nua_handle_t) are meant for this purpose. You create a handle, give it

Re: [Sofia-sip-devel] Threading and connection reuse

2007-03-01 Thread Kai Vehmanen
Hi, On Thu, 1 Mar 2007, Michael Manousos wrote: > 1) Threading model > > As I understand the stack offers the option to operate with one thread for > every > call-leg or with one thread per call-leg (operation mode selected with the > su_root_threading(...) function). hmm, not quite. The su_roo

Re: [Sofia-sip-devel] Probleme with machine state on INVITE request

2007-03-01 Thread Kai Vehmanen
Hi, On Thu, 1 Mar 2007, moreauf wrote: > case nua_i_invite: > if (nh ==NULL) nh = nua_handle(nua,magic, TAG_END()); >nua_respond(nh,200,"OK", TAG_END()); > break;; I think the only thing you are missing is providing the SDP to use in the response. See f

Re: [Sofia-sip-devel] win32 test failures.

2007-03-01 Thread Pekka Pessi
2007/2/27, Michael Jerris <[EMAIL PROTECTED]>: > Updated test results from current darcs below. Please note, this is on > vista on my laptop. Perhaps the is a new issue in vista, I will try to > test on an xp or 2000 box later today and see if I get the same. This > very well could be related to

[Sofia-sip-devel] Problems with nua_t object

2007-03-01 Thread Cristian Bidea
Hi I had a strange problem with nua_t object. I'm using Ubuntu Feisty Linux diesel 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux ii libsofia-sip-ua-dev1.12.4-1 Sofia-SIP library development files ii libsofia-sip-ua-glib