Jim & Karen Ostrosky
2007-Feb-03 18:24 UTC
[asterisk-users] Single BLF for ALL trunks in use
Hi, first time poster. I've searched, but find very little on this topic. My church has only 2 incoming phone lines (copper), being serviced by Digum TDM400 card. The existng phone system (being replaced) was a key system, easy for users to tell both lines were in use. We have chosen Polycom 430 phones for the new system, and from what I can tell, I'm only going to have a single light to work with, via the directory & "buddy watch" method. So far, so good - I can watch a *single* Zap channel. What I'd really like to do - for now - is to take the hint, which is currently assigned to the specific Zap channel, and somehow have it indicate that *all* of the available trunks are in use (all 2 of them right now). This so the people using the system know that both outgoing lines are in use, please wait to make a call. I've seen syntax like exten => 1234,hint,(Zap/1&Zap/2), but I don't understand the & part (does it mean any of?). Is there some similar syntax that means all of? Or, is there a way to synthesize a dummy extension hint out of the individual channel hints? Or.... is what i'm asking not feasible? I hope this is clear... thanks Jim Ostrosky Redeemer Lutheran Church & School
Lacy Moore - Aspendora
2007-Feb-03 19:05 UTC
[asterisk-users] Single BLF for ALL trunks in use
On 2/3/07, Jim & Karen Ostrosky <jkco@zoominternet.net> wrote:> > Hi, first time poster. I've searched, but find very little on this topic.Welcome! What I'd really like to do - for now - is to take the hint, which is> currently assigned to the specific Zap channel, and somehow have it > indicate that *all* of the available trunks are in use (all 2 of them > right now). This so the people using the system know that both > outgoing lines are in use, please wait to make a call.Short answer is yes. It won't be easy. The best way I can think of would be to modify your dial plan so that it checks two database entries (one for each line), and if both of them are on, it would turn another database entry on. This database entry would be monitored by the patch that handles devicestate. It would need to be checked when calls are placed, answered (or ringing?), and hung up. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070203/c90b2b44/attachment.htm