Re: [Sofia-sip-devel] Example compilation

2014-07-21 Thread Nikos Balkanas
On Mon, Jul 21, 2014 at 11:08 AM, Andreas Wehrmann wrote: > 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: htt

Re: [Sofia-sip-devel] Example compilation

2014-07-21 Thread Michael Jerris
It doesn't technically need to be a complete sdp. It can be a portion of it, as it will merge data from the nua to make a complete sdp. On Jul 21, 2014, at 4:08 AM, Andreas Wehrmann wrote: > Well, the complete SDP as a char string you want the stack to respond with. > If you don't know what SD

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

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 wrote: > 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

Re: [Sofia-sip-devel] Example compilation

2014-07-20 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-20 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.

[Sofia-sip-devel] Example compilation

2014-07-20 Thread Nikos Balkanas
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