Asterisk Write Callback Support

Hi,

Actually we want to write a fixed chunk of voice data from Asterisk application at the interval of 10ms. But when we saw usage of ast_write function in Asterisk code, we find that this fuction is called continuously till the complete source file is not wrtten to driver. This means that whether write callback in the driver is blocking or or driver has sufficient buffer to store complete source file.

So, how write API is implemented in Zaptel Device Driver? Whether is it Blocking or Non-Blocking? If non-Blocking then, is there a sufficient buffering in the driver to store complete source file?

Regards,
Vijayraj

You need the developer mailinglist or IRC channel.

Have you considered using the externa music on hold support?

Hi,

We are developing voice mail system using asterisk application and we designed our own device driver for our hardware.

Regards,
Vijayraj