Greetings- I have an odd scenario where I need to dial an extension (lets call it 555), the system prompts for a list of voicemail boxes, then once complete, allows the caller to leave a voicemail that is sent to all voicemail boxes previously specified. How would you do this? Obviously calling Voicemail(), but how to get input for multiple extensions/voicemails, and delimit them properly for passing to Voicemail()? All ideas welcome. Thanks! --Tim
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/24/13 4:04 PM, Tim Nelson wrote:> Greetings- > > I have an odd scenario where I need to dial an extension (lets call > it 555), the system prompts for a list of voicemail boxes, then > once complete, allows the caller to leave a voicemail that is sent > to all voicemail boxes previously specified. > > How would you do this? Obviously calling Voicemail(), but how to > get input for multiple extensions/voicemails, and delimit them > properly for passing to Voicemail()? > > All ideas welcome. Thanks! > > --Tim >I would not try this using dialplan logic alone. This is an AGI solution. You just then loop asking for vm numbers until done, get all numbers in an array and then just put the array values with the & delimiter and feed them to the voicemail application. - -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJCAL4ACgkQqmNh+MyHzx6OMwCeJcdP5JirrkmYupxzEXYKtWL0 +M0An1nAFsOlUG7cqwIHFk6Qpm6nV/Mx =8o9k -----END PGP SIGNATURE-----
You can have something like this, exten => _XXXX,1, Answer exten => _XXXX, 2, voicemail ($EXTEN) On 25 Sep 2013 05:04, "Tim Nelson" <tnelson at rockbochs.com> wrote:> Greetings- > > I have an odd scenario where I need to dial an extension (lets call it > 555), the system prompts for a list of voicemail boxes, then once complete, > allows the caller to leave a voicemail that is sent to all voicemail boxes > previously specified. > > How would you do this? Obviously calling Voicemail(), but how to get input > for multiple extensions/voicemails, and delimit them properly for passing > to Voicemail()? > > All ideas welcome. Thanks! > > --Tim > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130925/3beb1032/attachment-0001.html>