Summary: | ASTERISK-07689: [post 1.4][patch] Allow the Read() application to accept multiple prompts (seperated by an ampersand) | ||
Reporter: | Jared Smith (jsmith) | Labels: | |
Date Opened: | 2006-09-07 11:42:23 | Date Closed: | 2006-11-09 22:00:06.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_read |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) app_read_multiprompt-1.2branch.patch ( 1) app_read_multiprompt-trunk.patch | |
Description: | With both the Playback() and Background() applications, you can pass multiple prompts at the same time by concatenating them with an ampersand, such as: Playback(tt-weasels&office-iguanas) This patch allows you do the same with the Read() application. ****** STEPS TO REPRODUCE ****** Apply patch, recompile asterisk, and try this line in your dialplan: exten => 54321,1,Read(digits,pls-enter-num-message-after-tone&auth-thankyou&beep) Dial extension 54321 (from the correct context, obviously) and notice how Read() now plays all the prompts. ****** ADDITIONAL INFORMATION ****** This patch is for 1.2 -- I'll add a patch for trunk shortly. | ||
Comments: | By: Jared Smith (jsmith) 2006-09-07 11:55:26 OK, adding a patch for trunk now. By: Jared Smith (jsmith) 2006-09-07 16:13:12 I've updated the patches to work much better, after some more extensive testing. I owe many thanks to file and kpfleming for their help on making this work! By: Jared Smith (jsmith) 2006-09-07 17:01:28 Patches still have a couple of bugs... I'll updated later tonight. By: Jared Smith (jsmith) 2006-09-08 10:14:01 I've updated the patches to fix all known bugs, and so I think this should be ready for a code review. By: Olle Johansson (oej) 2006-09-08 11:04:09 This has to be post 1.4 By: Leif Madsen (lmadsen) 2006-10-12 23:37:38 The 1.2 patch works great for me. Thanks Jared! This should be on SVNcommunity. By: Russell Bryant (russell) 2006-11-09 22:00:05.000-0600 This feature has been added to the trunk in revision 47408, thanks! |