John Lange
2005-Nov-07 12:18 UTC
[Asterisk-Users] Stopping Asterisk from forwarding calls?
The first time I asked this to the list I didn't do a great job of it so I'm posting again with more details. Problem: when ringing multiple extensions, if one user has their phone forwarded directly to voicemail, it stops the whole group from ringing because the voicemail picks up immediately. Also, after hours incoming calls are to ring all extensions so anyone can pickup. But if one person in the office has their phone forwarded the same problem occurs. What we need is for asterisk, when ringing multiple extensions, to completely ignore the forward requests and just ring the remaining phones. Reading the source code I see there are two parameters for channels, allowredir_in & allowredir_out. These offer me some hope that Asterisk has the ability but I couldn't figure out what these do or how to make use of them (I'm not a C programmer so maybe its just a red herring?). -- John Lange
Kevin P. Fleming
2005-Nov-07 12:53 UTC
[Asterisk-Users] Stopping Asterisk from forwarding calls?
John Lange wrote:> Reading the source code I see there are two parameters for channels, > allowredir_in & allowredir_out. These offer me some hope that Asterisk > has the ability but I couldn't figure out what these do or how to make > use of them (I'm not a C programmer so maybe its just a red herring?).Those are entirely unrelated. At this time there is no method available to make Asterisk ignore incoming '302 REDIRECT' from SIP phones. It may be possible to send those 'forward' requests to a context that has no valid extensions in it, but I don't think we even support that at this time.
pdhales@optusnet.com.au
2005-Nov-07 14:12 UTC
[Asterisk-Users] Stopping Asterisk from forwarding calls?
A workaround (bvut slighty messy) would be to set up two lines on each phone. Standard calls (which can be forwarded) can go the first (main) line/extension. Group calls go to line 2. PaulH ----- Original Message ----- From: "John Lange" <john.lange@open-it.ca> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Tuesday, November 08, 2005 6:18 AM Subject: [Asterisk-Users] Stopping Asterisk from forwarding calls?> The first time I asked this to the list I didn't do a great job of it so > I'm posting again with more details. > > Problem: when ringing multiple extensions, if one user has their phone > forwarded directly to voicemail, it stops the whole group from ringing > because the voicemail picks up immediately. > > Also, after hours incoming calls are to ring all extensions so anyone > can pickup. But if one person in the office has their phone forwarded > the same problem occurs. > > What we need is for asterisk, when ringing multiple extensions, to > completely ignore the forward requests and just ring the remaining > phones. > > Reading the source code I see there are two parameters for channels, > allowredir_in & allowredir_out. These offer me some hope that Asterisk > has the ability but I couldn't figure out what these do or how to make > use of them (I'm not a C programmer so maybe its just a red herring?). > > -- > John Lange > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Sounds to me like that you want to log the phones into a queue, then simply logout the phones that you don't want to receive calls. If you were tricky, you could write a macro to log them in/out as they divert/undivert to/from voicemail. Eg. Dial an extension number to divert to VM (and log them out) then when they return, dial another number to do the reverse. Then simply route the calls to the queue using a ringall method. =========================================Rod Bacon Empowered Communications Ground Floor, 102 York St. South Melbourne Victoria, Australia. 3205 Phone: +613 99401600 Fax: +613 99401650 FWD: 512237 ICQ: 5662270 ========================================= John Lange wrote:> The first time I asked this to the list I didn't do a great job of it so > I'm posting again with more details. > > Problem: when ringing multiple extensions, if one user has their phone > forwarded directly to voicemail, it stops the whole group from ringing > because the voicemail picks up immediately. > > Also, after hours incoming calls are to ring all extensions so anyone > can pickup. But if one person in the office has their phone forwarded > the same problem occurs. > > What we need is for asterisk, when ringing multiple extensions, to > completely ignore the forward requests and just ring the remaining > phones. > > Reading the source code I see there are two parameters for channels, > allowredir_in & allowredir_out. These offer me some hope that Asterisk > has the ability but I couldn't figure out what these do or how to make > use of them (I'm not a C programmer so maybe its just a red herring?). >