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 example: - http://sofia-sip.org/repos/sofsip-cli/src/ssc_sip.c ... and search for "nua_respond" > case nua_i_bye: > if (nh ==NULL) nh = nua_handle(nua, magic, TAG_END()); > nua_respond(nh, 200, "OK", TAG_END() ); > nua_handle_destroy(nh); You don't need to respond separately to nua_i_bye with nua_respond() -- the stack will do this for you. See the examples of terminating calls at: - http://sofia-sip.sourceforge.net/refdocs/nua/ -- under work: Sofia-SIP at http://sofia-sip.sf.net ------------------------------------------------------------------------- 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