Re: [Sofia-sip-devel] Example compilation

2014-07-21 Thread Andreas Wehrmann
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.

Re: [Sofia-sip-devel] Example compilation

2014-07-21 Thread Nikos Balkanas
Ty. What does it expect for an SDP string? What does it mean? What is it used for? Seems these examples are outdated. I managed to fix some of them (operation for op_t, etc.) but I still have some more i could use some help: nua_callstate_t (undeclared identifier) and NUTAG__REF. I also assume

Re: [Sofia-sip-devel] Example compilation

2014-07-21 Thread Nikos Balkanas
Ok, thanks for you time. I will look a bit more into it. Eventually i would like to update the examples... On Mon, Jul 21, 2014 at 11:08 AM, Andreas Wehrmann a.wehrm...@yandex.com wrote: Well, the complete SDP as a char string you want the stack to respond with. If you don't know what SDP is,

Re: [Sofia-sip-devel] Example compilation

2014-07-21 Thread Andreas Wehrmann
Well, the complete SDP as a char string you want the stack to respond with. If you don't know what SDP is, you should probably read a little bit more about SIP in general: SIP: http://www.rfc-editor.org/rfc/rfc3261.txt SDP: http://www.rfc-editor.org/rfc/rfc2327.txt I don't have too much time to