Re: [Sofia-sip-devel] change a nua session to inactive

2007-11-05 Thread Pekka Pessi
2007/11/5, Bernhard Suttner <[EMAIL PROTECTED]>: > Fine, then I think sofia-sip should support it. I will try to implement > it. Would it be OK to set another option to SOATAG_HOLD - f.e. if you > set SOATAG_HOLD to "#" then the connection is set to inactive? The "*" is just s wildcard. Perhaps so

Re: [Sofia-sip-devel] change a nua session to inactive

2007-11-05 Thread Bernhard Suttner
Hi, Fine, then I think sofia-sip should support it. I will try to implement it. Would it be OK to set another option to SOATAG_HOLD - f.e. if you set SOATAG_HOLD to "#" then the connection is set to inactive? Or what other potentials do you see to implement inactive? Perhaps it would be possible

Re: [Sofia-sip-devel] change a nua session to inactive

2007-10-31 Thread Kai.Vehmanen
Hi, On 30 Oct 2007, Bernhard Suttner wrote: >I want to set the stream to inactive because I want that the >PBX will signal sendonly and MoH to the peer. [...] >any other suggestions? Is this a "bug" of sofia-sip or only a >feature which is not fully implemented. I would fix it if >somebody has

Re: [Sofia-sip-devel] change a nua session to inactive

2007-10-30 Thread Bernhard Suttner
Hello again, any other suggestions? Is this a "bug" of sofia-sip or only a feature which is not fully implemented. I would fix it if somebody has some hints how to do this that it could be adopted to the sofia sip repository, too. Best regards, Bernhard Suttner Am Montag, den 29.10.2007, 15:09

Re: [Sofia-sip-devel] change a nua session to inactive

2007-10-29 Thread Bernhard Suttner
Hi, > Sofia-SIP is following RFC3264, so stream state is set to > "inactive" only when you and the remote party have _both_ set > the media on hold. RFC3264 says (5.1): If the offerer wishes to communicate, but wishes to neither send nor receive media at this time, it MUST mark the stream w

Re: [Sofia-sip-devel] change a nua session to inactive

2007-10-29 Thread Kai.Vehmanen
Hi, On 29 Oct 2007, Bernhard Suttner wrote: >For sending a SDP with "sendonly" I have to set >SOATAG_HOLD("*"). But is it possible to send "inactive"? I >have tried it with Sofia-SIP is following RFC3264, so stream state is set to "inactive" only when you and the remote party have _both_ set

[Sofia-sip-devel] change a nua session to inactive

2007-10-29 Thread Bernhard Suttner
Hi @ all, I am using sofia sip (nua interface) for a client connection to a server. For sending a SDP with "sendonly" I have to set SOATAG_HOLD("*"). But is it possible to send "inactive"? I have tried it with SOATAG_ACTIVE_AUDIO(SOA_ACTIVE_INACTIVE) but it doesnt work. I have also searched in t