Hi,<br><br>I have the following behavior (Asterisk 1.2.24):<br><br>Using my channel driver, If my dialplan starts directly with a playback functions, for example:<br><br>exten =&gt; 4020,1,VoicemailMain(${CALLERID(num)}@default);
<br><br>the first messages wasn&#39;t played (in this case vm-login). The vm-password file is played normally.<br><br>However, If I insert a Wait() function before:<br><br>exten =&gt; 4020,1,Wait(1)<br>exten =&gt; 4020,1,VoicemailMain(${CALLERID(num)}@default);
<br><br>both vm-login and vm-password are played normally.<br><br>In the first case (without Wait()), checking the Asterisk code, I saw that the ast_write() function is called just one time when the vm-login is played. I found in 
file.c the ast_readaudio_callback() that should be called several times until the file finishes. However, it is called just one time. <br><br>I checked that in my side, the audio is already enabled, the channel is UP but my write callback is never called more than one (since ast_write() is not called as well).
<br><br>What is the difference using Wait or not? Why the vm-login fails to play in the first case?<br><br>Any idea where to find the cause ?<br><br>Thanks!<br><br>-- <br>--------------<br>Paulo Garcia<br>Pika Technologies Inc