Author’s note: This article supports our legacy products. At Inventive Labs, after two decades of providing telephony tools, we never stop supporting those who rely on our products to run their businesses. We no longer recommend Dialogic. This article is for our customers who are using legacy equipment. For more information about these legacy products and where we are today, read Ditch Dialogic & Convert to Voice Elements.
A delegate that is used by CTI32 to stream voice data back to your code during [[Continuous Speech Processing (CSP)]].
public delegate int CSPCB(int chdev, int _event, uint buf, uint len);
typedef void (__stdcall *STDPFCSPCB) (int chdev, int _event, char *buf, int len);
* chdev – the voice resource that is streaming
* _event – Always 0 (CSP_DATA)
* *buf – A pointer the data buffer
* len – the amount of data in the buffer
You should return 0 to this callback
It is imperative that you return from this function as quickly as possible. DO NOT BLOCK.
Introduced with version 4.5 of CTI32.