[OpenSIPS-Users] detect_hold()

Iñaki Baz Castillo ibc at aliax.net
Tue Jul 6 20:35:39 CEST 2010


2010/7/6 Bogdan-Andrei Iancu <bogdan at voice-system.ro>:
> Hi Iñaki,
>
> Thanks for heads-up :) .
>
> In this case, we can simply check the SDP for the "sendonly" occurrence,
> right?

Yes, but it's a bit more complex:

   If the stream to be placed on hold was previously a sendrecv media
   stream, it is placed on hold by marking it as sendonly.  If the
   stream to be placed on hold was previously a recvonly media stream,
   it is placed on hold by marking it inactive.


So both a=sendonly and a=inactive should be considered.

Regards.


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Users mailing list