bcfParseBearerControlMessage

Parses a Bearer Control Message.

Prototype

DWORD bcfParseBearerControlMessage (U8 *inBuf, U32 inBufSize, tMimeType  ipbcpMimeType, SiBearerControlEvnt *outBearerControl)

Argument Description
inBuf Input buffer containing the BCF message to be parsed.
inBufSize Size of the input buffer containing the BCF message.
ipbcpMimeType

Expected Mime Type ID:

  • DEFAULT_MIME_TYPE=0
  • NBUP_ MIME_TYPE =1
  • PCMU_ MIME_TYPE =2
  • PCMA_ MIME_TYPE =3
  • CLEARMODE_ MIME_TYPE =4
outBearerControl

Bearer Control output parameters extracted from the BCF message.

Return Values

Return value Description
BCF_SUCCESS  

BCF_PARAM_ERROR

Parameter error.

BCF_UNKNOW_IE

Unknown information element.

BCF_BUFFER_TOO_SMALL

The input buffer is too small.

Details

bcfParseBearerControlMessage parses an inbound Bearer Control message and populates SiBearerControlEvnt structure in order to easily access the relevant Information Elements fields.

Note: The default expected Mime Type ID is NBUP_MIME_TYPE (MimeType "VND.3GPP.IUFP"), which is the only payload specified by 3GPP for BICC RTP Bearer. NBUP_ MIME_TYPE is the only MIME type supported in the context of Video Access Toolkit 3G-324M over IP feature, but other values are offered, for demo or testing purpose. See section: Disabling NbUP.