[Asterisk-Users] Change in audio file while listening to it

Marco Trucchi trux at simarnet.com
Sun Apr 30 10:01:03 MST 2006


Hello everybody,
does anybody know how to handle the following problem?

I update some gsm audio files every 10 minutes, by rewriting directly on them.

I've noticed that if the file is being played by asterisk exactly in 
the moment when I rewrite onto it, who is calling hears a small 
"jump" and then it is the updated file that starts being played, 
starting from about the same position of the old one.
(i.e. if the update arrives after 10 seconds of playing on the old 
file, the updated file starts after the jump about at its 10 second position).
I would prefer to end up with the old file without changing the 
current conversation.

Maybe a parameter handle this?
Otherwise the only way that I see is to give a different name to each 
file, then let asterisk read the most up-to-date. But it would be not 
as easy as it is now.

For information, I use Asterisk 1.2.6 on Linux CentOS. I pay a SIP 
Gateway to have a geographical number that points to my asterisk 
(sorry if I do not use the correct terms).


Thanks a lot!
Cheers,
Marco




More information about the asterisk-users mailing list