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

Developer

API Reference

ICALLMGR_ADDORIGOPT()

Brew Release
Brew MP 1.0.2
See Also
AEETOriginateOpt, IWEBOPTS_AddOpt()
Description
Load the vector of origination options. The identifier in the {nId,pVal} pair of each AEETOrigianteOpt must be given according to the AEET_ORIGOPT_* values. Each of option content at pVal is copied to internal buffers.
Params
po
[]:
the interface pointer.
apwoz
[]:
array of call origination options terminated by AEET_ORIGOPT_END.
Interface
  • ICALLMGR
Prototype
  •    int ICALLMGR_AddOrigOpt( ICallMgr *po, AEETOriginateOpt *apwoz );
    
Return
  • SUCCESS: if the options could be added successfully ENOMEMORY: if enough memory couldn't be allocated
Side Effect
  • None
Comments
When multiple values are present on an option, ICALLMGR uses the last added option. i.e, at index 0 : ICALLMGR_GetOrigOpt( p, id, 0, pval );