[asterisk-app-dev] Limit file extensions tried?

Naftoli Gugenheim naftoligug at gmail.com
Sun Apr 8 22:36:57 CDT 2018


I have an asterisk instance deployed on google cloud, with the prompts are
stored in a cloud storage bucket, using gcsfuse to mount it. The problem is
that every time asterisk is supposed to play a file, it checks for the
existence of a LOT of possible filenames (based on the set of possible file
extensions). It seems like it doesn't even stop when it finds one that
exists. However since it's a remote filesystem, each check has a cost and
it really adds up.

Is there any way to tell Asterisk not to try all those files?

Some output logged by gcsfuse showing the huge number and cost of these
lookups: https://gist.github.com/nafg/06f4a4272c2bdc5dee18230625eab046
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20180409/12261ad4/attachment.html>


More information about the asterisk-app-dev mailing list