API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ICALL_END()

Brew Release
Brew MP 1.0.2
See Also
None
Description
Performs one of the following operations depending on the state of Call : - Terminates the call in conversation state.
- Cancels the call if it is in origination.
- Rejects if it is incoming.

Params
pme
[in]:
the interface pointer.
Interface
  • ICALL
Prototype
  •    int ICALL_End( ICall *pme );
    
Return
  • SUCCESS : if the request is accepted. Applications must register a model listener to keep track of call states to determine if end request was satisfied.
    EPRIVLEVEL: if the caller does not have sufficient privilege levels to invoke this function
    EALREADY: An end request was already in progress or the call is in idle state.
Side Effect
  • None
Comments
When a call is ended, after receiving END event from network call state changes to ENDED state and the associated descriptor becomes invalid. However the information obtained with ICALL_GetInfo()or ICALL_GetState() or ICALL_GetType() is valid for ended call.