Asterisk Write Callback Support

Hi,

We are developing a custom channel driver based on asterisk for our Voice Mail System. In this system we have to use read and write callback of Asterisk to receive and transmit voice data. For the same purpose we need write callback to be blocking.

But while going through the Asterisk we find that its write callback is non-blocking. So, is it possible to make write callback blocking, if yes, will it have any impact on other features Asterisk. If no, how to implement write blocking.

Please reply as soon as possible, its urgent.

Regards,
Vijayraj

You need to use the developer mailing list, or developer IRC channels.

My gut feeling is that you are trying to make a major structural change and will be on your own.

It would help if you identified the function you are talking about.

Note that a lot of Asterisk’s problems result from too much being blocking, resulting in new deadlock mechanisms continually being discovered.