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 something like "*=inactive"? If
you just wanted to put audio as inactive you would include
SOATAG_HOLD("audio=inactive"). Of course,"#" could be a shorthand for
"*=inactive".

If that sounds too byzantine a separate tag would perhaps fit the bill.

> Or what other potentials do you see to implement inactive? Perhaps it
> would be possible to add a SOATAG_INACTIVE but I think there will be
> some problems, if you will set SOATAG_HOLD and SOATAG_INACTIVE both.
> Furthermore you have to add a "inactive" paramter to some functions
> (like soa_sdp_mode_set_is_needed or soa_sdp_mode_set).

It looks like those are internal functions not exposed to outside world.

--Pekka

> Am Mittwoch, den 31.10.2007, 11:05 +0200 schrieb [EMAIL PROTECTED]:
> > 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 some hints how to do this that it could be
> > >adopted to the sofia sip repository, too.
> >
> > this is a valid use-case, but is currently not explicitly supported
> > in the 'soa' interface (like hold is). But you _can_ work around
> > this by by adding a session level "a=inactive" attribute to your
> > local SDP. Ideally we'd have a dedicated interface for this
> > functionality (so in the same way as hold is now supported in
> > the 'soa' interface.)
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Sofia-sip-devel mailing list
> Sofia-sip-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
>


-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to