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

2007-03-01 Thread moreauf
I have a problem with this following code : #include stdio.h #include stdlib.h #include sofia-sip/nua.h #include sofia-sip/soa.h // 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

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 for