Hi Jason,

On Thu, 1 Jun 2006, Jason Terry wrote:

>    I am trying to get a test app going based on the nua code in the
> online documentation:  Right now I test app responds to invites with
> "501 not implemented".  I know where the problem is.  Does anyone know
> how to fix it?  The function offer_answer_step() returns following
> error:

this error is raised when the client has not provided its local SDP to the 
'soa' module (the SOATAG_USER_SDP_STR tag).

As an example, see the priv_media_state_cb() function in:

- http://sofia-sip.org/repos/sofsip-cli/src/ssc_sip.c

This function is called when the local media subsystem has been activated 
(audio devices, RTP ports and codecs have been opened succefully, and 
optionally STUN queries have been made), and is ready for use. Depending 
the situation, we either start a new call with nua_invite(), or respond to 
an incoming request with nua_respond(). In both cases we describe the 
local media configuration using the SOATAG_USER_SDP_STR() tag.

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net


_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to