[asterisk-users] hint priority with 50 channels

Loic Didelot ldidelot at mixvoip.com
Sun Nov 23 06:47:35 CST 2008


I just tried with different values: 800, 8000, 24000 I did a make clean
&& make && make install, restarted asterisk etc...

Unfortunately it does not seem to work.

So I have a hint priority like this:

*1,hint,SIP/1&SIP/2.....SIP&100


If SIP/1 or SIP/2 rings the priority is updated but not for SIP/60
etc...

Any idea is welcome.

Loic




On Sat, 2008-11-22 at 11:41 -0600, Tilghman Lesher wrote:
> 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.
> 




More information about the asterisk-users mailing list