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

Developer

API Reference

ICALLMGR_ORIGINATEEX()

Brew Release
Brew MP 1.0.2
See Also
None.
Description
An advanced method to originate a call. It accepts a vector of origination options. Any of the options if present override the options of ICallMgr.
Params
pme
[in]:
Pointer to interface.
callType
[in]:
type of the telephone call.
ppic
[out]:
Returns a ICall Object on Success.
pl
[in]:
A listener to be notified of call states.
apwOptsZ
[in]:
A vector of origination options.
Interface
  • ICALLMGR
Prototype
  •    int ICALLMGR_OriginateEx( ICallMgr *pme, 
                                    AEETCallType callType, 
                                    ICall **ppic, 
                                    CallListener *pl, 
                                    AEETOriginateOpt *apwOptsZ );
    
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, ppic 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.