Have you tried limiting what file formats your asterisk installation can read?If you are only using ulaw only load format_pcm.so and that could cut down on the searching.
On Sun, Apr 8, 2018 at 8:36 PM, Naftoli Gugenheim <naftoligug@xxxxxxxxx> wrote:
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/ 06f4a4272c2bdc5dee18230625eab0 46
asterisk-app-dev mailing list
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.
_______________________________________________ asterisk-app-dev mailing list asterisk-app-dev@xxxxxxxxxxxxxxxx http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev