Lacy Moore - Aspendora
2006-Sep-26 19:53 UTC
[asterisk-users] max number of devices in hint
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. Ex: 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 1.2.12.1. 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060926/fc017a8d/attachment.htm
In article <56a990d20609261953k78d90b94rbee266d7f78e1855@mail.gmail.com>, aspendora@gmail.com says...> 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. > > Ex: > > exten => 132,hint,SIP/DEVA&SIP/DEVB&SIP/DEVC&SIP/DEVD > > if I add SIP/DEVF, DEVF is not monitored.I'm interested, why do you monitor multiple devices within a hint? If one device is in use (and three are free), how does it show - in use or as free? -- Tomislav Par?ina Lama Computers Split Stinice 12, 21000 Split Tel.: +385(21)495148 Mob.: +385(91)1212148 SIP: tomo@pbx.lama.hr e-mail: tparcina#lama.hr http://www.lama.hr
Lacy Moore - Aspendora
2006-Sep-27 01:22 UTC
[asterisk-users] Re: max number of devices in hint
Ok, I just setup a test setup that allowed for five devices (actually in this case five lines) to be monitored. Next question, does anyone know if there is a limit to the number of characters allowed for the hint? That may be what's causing the issue. I just switched to using the MAC addresses for all devices (as suggested in another thread, with -a at the end for line 1, and so on). I wouldn't even know where to begin to look in the code for this. I'm thinking that maybe I should just label the phones 1- whatever and then it would be SIP/1A for device 1, line 1, etc. On a simpler setup, I would just name them the extension, but nothing having to do with the three companies I'm working for is simple. Everything always has to be complicated... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060927/f1fdbb4c/attachment.htm
In article <56a990d20609270111w187fb359v2918a6e8c4ee00c1@mail.gmail.com>, aspendora@gmail.com says...> I'm glad you asked :-) If we had Shared Line Appearances, I would not have > to do this. However, I could be at any of about 6 different phones, and on > any of about 4 lines per phone. Therefore, to monitor whether or not I am > on the phone would take a 24 BLF buttons or just one, if hinting allowed > that many.How many hands/ears you have? ;)) -- Tomislav Par?ina Lama Computers Split Stinice 12, 21000 Split Tel.: +385(21)495148 Mob.: +385(91)1212148 SIP: tomo@pbx.lama.hr e-mail: tparcina#lama.hr http://www.lama.hr
Lacy Moore - Aspendora
2006-Sep-29 05:04 UTC
[asterisk-users] Re: max number of devices in hint
> 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. >Pretty sure I know what the problem is now. It's not limited by devices, its limited by the length. This is when it would be nice to know C. I'm assuming the variables are declared and also declared as a certain length. I need to increase this length for whatever variable holds the hint information. Any hints? :-) I don't even know where to start looking. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060929/c5b31aa8/attachment.htm
Lacy Moore - Aspendora
2006-Sep-29 18:22 UTC
[asterisk-users] Re: max number of devices in hint
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@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. > > Ex: > > 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 1.2.12.1. 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 > >-- 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... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060929/51d3b0d5/attachment.htm