On 07/21/2014 05:06 AM, Nikos Balkanas wrote:
> I'm going through the examples in the site.
>
> In app_i_invite it states:
>
>   nua_respond(nh, 200, "OK", SOA_USER_SDP(magic->sdp), TAG_END());
>
> Looking at the nua_respond documentation, SOA_USER_SDP is a tag, that is
> not defined and gcc errs. Furthermore, magic is my application and doesn't
> have an sdp field.
> These seem like hard errors. What can i do?
>
> TIA,
> Nikos
>

Hi,

SOA_USER_SDP should indeed be SOATAG_USER_SDP which comes from here:
libsofia-sip-ua/soa/sofia-sip/soa_tag.h

You can build your own SDP string and provide it using SOATAG_USER_SDP_STR.
I guess that's how most people use it.

Regards,
Andreas


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to