Re: Limit file extensions tried?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Have you tried limiting what file formats your asterisk installation can read?

If you are only using ulaw only load 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:

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

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux