[asterisk-users] Re: max number of devices in hint
Lacy Moore - Aspendora
aspendora at gmail.com
Fri Sep 29 18:22:58 MST 2006
In case anyone runs into this, I'm posting what I ended up doing...
I tracked down a file under include/asterisk/channel.h
This file defines the length of the variables in this section:
/*! Max length of an extension */
#define AST_MAX_EXTENSION 80
#define AST_MAX_CONTEXT 80
#define AST_CHANNEL_NAME 80
Not knowing which one, I changed all three to 255, recompiled, and my hints
work now. If I were to guess, I would guess that AST_CHANNEL_NAME is the
variable that needs to be changed. At this point, I've got a relatively
small setup with 2 gigs of ram and over 1 gig free after compiling, so I
don't think I'm taking that big of a hit.
On 9/26/06, Lacy Moore - Aspendora <aspendora at gmail.com> wrote:
> I have one extension that rings in many places. It has just come to my
> attention that I can only monitor 4 devices within a hint.
> exten => 132,hint,SIP/DEVA&SIP/DEVB&SIP/DEVC&SIP/DEVD
> if I add SIP/DEVF, DEVF is not monitored.
> Is anyone else monitoring more than 4 devices, and if so, what version are
> you running?
> I'm running 126.96.36.199. I thought at first this may be a phone issue, but
> by running SHOW HINTS on the CLI, it shows InUse using the first four
> devices. The fifth device shows IDLE when it is, in fact, in use. I also
> switched places for DEVD and DEVE thinking maybe it was something with
> DEVE. When I switch places, DEVE shows as expected and DEVD does not show.
> Any ideas?
> Lacy Moore
I'm the guy that doesn't give a damn about anyone's problems but my own...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users