Re: [Asterisk-Users] Rolling dialplan... best practice?
Ryan Booz wrote: I have an Asterisk system for a small office with 12 extensions. For parts of the incoming dialplan that go to “support”/”sales” we have phones ring various people in an “additive” fashion. Example: - snip -- exten = s,2,Dial(${E25}|18) exten = s,3,Dial(${E25}${E24}|12) exten = s,4,Dial(${E25}${E24}${E28}|12) exten = s,5,Dial(${E25}${E24}${E28}${E22}|12) Create an waiting extension: exten = _*XX*XX,1,wait(${EXTEN{1:2}) exten = _*XX*XX,1,dial($EXTEN{3:2}) Then dial using that waiting extension: exten = s,2,Dial(${E25}Local/*18*${E24}Local/*30*${E28}Local/*42*${E28}Local/*56*${E22}) This wil dial all the numbers at the same time, however eacht local number waits a bit longer before executing the dial, hence it hunts :) So ${E25} will ring instant, ${E24} starts ringing 18 seconds later, ${E28} starts 12 seconds after ${E24} (timing is related to the 1st phone ringing) Kind regards, Erik - snip -- This works, but I’ve just realized that it has the unfortunate side effect of making each extension appearing to get one call for each “Dial” command. So, ${E25} appears to get four calls if nobody answers it and it goes to voicemail. ${E24} three calls, etc. Is there a better way to do this kind of extension plan? Thanks for any suggestions! Ryan Booz Director of IT Good Steward Software, LLC 111 Sowers Street, Suite 400 State College, PA 16801 Phone: 877-327-3702 x.26 (814-237-3744 x.26) Fax: 719-623-0577 Visit us at www.energycap.com ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Rolling dialplan... best practice?
Erik wrote Create an waiting extension: exten = _*XX*XX,1,wait(${EXTEN{1:2}) exten = _*XX*XX,1,dial($EXTEN{3:2}) Then dial using that waiting extension: exten = s,2,Dial(${E25}Local/*18*${E24}Local/*30*${E28}Local/*42*${E28}Local/*56*${E22}) This wil dial all the numbers at the same time, however eacht local number waits a bit longer before executing the dial, hence it hunts :) So ${E25} will ring instant, ${E24} starts ringing 18 seconds later, ${E28} starts 12 seconds after ${E24} (timing is related to the 1st phone ringing) This is bloody cool. Thanks for the idea. -- Best regards Peer Oliver Schmidt PGP Key ID: 0x83E1C2EA ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Rolling dialplan... best practice?
I have an Asterisk system for a small office with 12 extensions. For parts of the incoming dialplan that go to support/sales we have phones ring various people in an additive fashion. Example: - snip -- exten = s,2,Dial(${E25}|18) exten = s,3,Dial(${E25}${E24}|12) exten = s,4,Dial(${E25}${E24}${E28}|12) exten = s,5,Dial(${E25}${E24}${E28}${E22}|12) - snip -- This works, but Ive just realized that it has the unfortunate side effect of making each extension appearing to get one call for each Dial command. So, ${E25} appears to get four calls if nobody answers it and it goes to voicemail. ${E24} three calls, etc. Is there a better way to do this kind of extension plan? Thanks for any suggestions! Ryan Booz Director of IT Good Steward Software, LLC 111 Sowers Street, Suite 400 State College, PA 16801 Phone: 877-327-3702 x.26 (814-237-3744 x.26) Fax: 719-623-0577 Visit us at www.energycap.com ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Rolling dialplan... best practice?
I know it's not the same thing, but put the phones into a queue, and call the queuemaybe... PaulH - Original Message - From: Ryan Booz To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Sent: Wednesday, December 21, 2005 1:03 AM Subject: [Asterisk-Users] Rolling dialplan... best practice? I have an Asterisk system for a small office with 12 extensions. For parts of the incoming dialplan that go to support/sales we have phones ring various people in an additive fashion. Example: - snip -- exten = s,2,Dial(${E25}|18) exten = s,3,Dial(${E25}${E24}|12) exten = s,4,Dial(${E25}${E24}${E28}|12) exten = s,5,Dial(${E25}${E24}${E28}${E22}|12) - snip -- This works, but Ive just realized that it has the unfortunate side effect of making each extension appearing to get one call for each Dial command. So, ${E25} appears to get four calls if nobody answers it and it goes to voicemail. ${E24} three calls, etc. Is there a better way to do this kind of extension plan? Thanks for any suggestions! Ryan Booz Director of IT Good Steward Software, LLC 111 Sowers Street, Suite 400 State College, PA 16801 Phone: 877-327-3702 x.26 (814-237-3744 x.26) Fax: 719-623-0577 Visit us at www.energycap.com ___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users