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

Developer

API Reference

ICALLMGR_ORIGINATEVOICE()

Brew Release
Brew MP 1.0.2
See Also
ICALLMGR_Originate().
Description
Originates a voice call to given destination address.
Params
pme
[in]:
Pointer to interface.
pszNumber
[in]:
number to dial.
ppCall
[out]:
Returns a ICall Object on Success.
pl
[in]:
A listener to be notified of call states.
Interface
  • ICALLMGR
Prototype
  •    int ICALLMGR_OriginateVoice( ICallMgr *pme, 
                                    const char *pszNumber, 
                                    ICall **ppCall, 
                                    CallListener *pl );
    
Return
  • SUCCESS : the call origination is in progress. Applications must register a model listener to keep track of call states to determine if call origination was successful.
    EPRIVLEVEL: if the caller does not have sufficient privilege levels to invoke this function.
    ENOMEMORY: Out of application heap.
    AEET_ERR_OUTOF_RESOURCES : device is out of resources to originate a call.
Side Effect
  • None.
Comments
If the API returns SUCCESS, ppCall will be populated with an AddRef'ed ICall object. It is the callers reponsibility to call ICALL_Release on this object to release its reference