# bcfInitDelayedForwardBearerInfoAnswer

Initialize a Bearer Control event structure with the following information elements:

- actionIndicator

- codecsList (optional)

- singleCodec (optional)

- bearerTunnelling

The resulting BCF Message is used to terminate a forward bearer establishment with delayed forward tunneling (IP core network).

It conveys in particular the optional selected codec.

### Prototype

DWORD bcfInitDelayedForwardBearerInfoAnswer(SiBearerControlEvnt *bearerControlEvnt, U8*codecList, U8 *selectedCodec)

Argument | Description
bearerControlEvnt | Bearer Control event structure to initialize.
codecList | Available codec list. Bitmask of the following codecs: AMR AMR2 G711 MuME (H223) MuME2 (H223)
selectedCodec | Selected codec. Either: NO_CODEC AMR AMR2 G711 MuME (H223) MuME2 (H223)

### Return Values

Return value | Description
BCF_SUCCESS |
BCF_PARAM_ERROR | Parameter error.

### Details

Codec Negotiation is optional with this delayed forward Bearer establishment procedure.

If codec Negotiation is performed, the application shall pass MuME codec to bcfInitDelayedForwardBearerInfoAnswer in order to force H223 as selected codec for the call.

The party answering codec negotiation shall also pass the available codec list.

If no codec negotiation is performed, then the application shall pass NO_CODEC.

The information elements are initialized with the following default settings:

Information element | Default setting
actionIndicator | If Codec Negotiation is performed: connect forward, no notification + selected codec. Otherwise: 'connect forward, no notification'
codecsList | Optional –available codec list, as passed in bcfInitDelayedForwardBearerInfoAnswer.
singleCodec | Optional – Selected codec, as passed in bcfInitDelayedForwardBearerInfoAnswer.
networkCharacteristics | IP/RTP.
bearerTunnelling | Set to the value tunneling to be used.