Asterisk Write Callback Support


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.