On 5/12/15 9:35 AM, Sylvester, Prasanth (Nokia - IN/Mumbai) wrote:
Hi Team,
I've a small doubt. I have a working call where A party is talking to B party. B party putts the
call on hold, however I see "Session Attribute" with a value "SendOnly". Mostly
I've seen it coming in Media Attribute.
"Session Attribute (a): sendonly" Instead of "Media Attribute (a): SendOnly".
What's the difference?
When used at session level this attribute serves as a default for each
media section. So this means sendonly for *all* the media in the call,
except for media sections that explicitly override it.
In the case where there is only one media section (audio) it means
exactly the same thing if it only appears at session level as it does if
it only appears at media level.
You should code your SDP attribute processing more or less as follows:
1) initialize the default media direction to sendrecv
2) process session level attributes
2.1) if you encounter any of sendrecv/sendonly/recvonly/inactive,
replace the default media direction with that.
3) when you encounter m=
3.1) set the direction for that media section to the default
media direction determined by (1)-(2).
3.2) process the attributes for that media section
3.2.1) if you encounter any of sendrecv/sendonly/recvonly/inactive,
replace the direction for that media section with it
3.3) the final value for this media section is the direction
that this SDP specifies for this media section.
4) repeat (3) for the other media sections
Thanks,
Paul
I've read some phone (PolyCom) while its set to a different settings, do this.
For e.g
voIpProt.SIP.useRFC2543hold 0 or 1 0
When the phone is set to 0, use SDP media direction parameters (such as
a=sendonly) per RFC 3264
Otherwise use the obsolete c=0.0.0.0 RFC2543 technique
Could someone throw some light? Just trying to figure out the difference?
Cheers,
Sylvester
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors