[asterisk-users] hint priority with 50 channels

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Sat Nov 22 11:41:06 CST 2008


On Saturday 22 November 2008 10:31:34 Loic Didelot wrote:
> Thanks for that idea. That what I had in mind. Now I just need to figure
> out where to change and test for side effects.

In main/pbx.c, search for "ast_add_extension2" (in my branch, it's at line
1917, but it may vary slightly).  The top line of the function has:
char hint[AST_MAX_EXTENSION].  Change AST_MAX_EXTENSION to something
larger (say, 512) and recompile.  BTW, I'm going to make this change in trunk,
so starting in 1.6.1, it will no longer be as much of a problem.

-- 
Tilghman



More information about the asterisk-users mailing list