> From: satish agrawal [[email protected]]
> 
> Example:
> 
> P-Early-Media = P-Early-Media: sendrecv,recvonly,sendonly,inactive
> 
> is it correct?
> Because as per RFC 5009:
> 
> P-Early-Media = "P-Early-Media" HCOLON [ em-param *(COMMA em-param) ]
>                            em-param = "sendrecv" / "sendonly" / "recvonly"
>                            / "inactive" / "gated" / "supported" / token

RFC 5009 section 8:

   The P-Early-
   Media header field includes one or more direction parameters where
   each has one of the values: "sendrecv", "sendonly", "recvonly", or
   "inactive", following the convention used for Session Description
   Protocol (SDP) [7][8] stream directionality.  Each parameter applies,
   in order, to the media lines in the corresponding SDP messages
   establishing session media.  Unrecognized parameters SHALL be
   silently discarded.  Non-direction parameters are ignored for
   purposes of early media authorization.  If there are more direction
   parameters than media lines, the excess SHALL be silently discarded.
   If there are fewer direction parameters than media lines, the value
   of the last direction parameter SHALL apply to all remaining media
   lines.

So the answer is "Yes.  Direction specification is given for 4 m=
lines of the SDP."

Dale

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to