Summary: | ASTERISK-02346: [Patch] Allow the use of L(x) flag in Background to play a specified language | ||
Reporter: | mochouinard (mochouinard) | Labels: | |
Date Opened: | 2004-09-05 10:36:55 | Date Closed: | 2008-01-15 15:06:56.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) pbx-v1.diff | |
Description: | This patch add the posibility to use L(x) in the options section of Background, so you can specified the language of the background played file ****** ADDITIONAL INFORMATION ****** I use this in my multi language selection menu. I dont want to change the LANGUAGE value when I just ask the user if he wish to be served in french press 9 for example, i dont want to change LANGUAGE since the user is still in english mode.. anyway, please correct my english spelling if posible ;) | ||
Comments: | By: Olle Johansson (oej) 2004-09-05 13:55:00 Disclaimed. By: Mark Spencer (markster) 2004-09-06 21:19:37 You should be able just to specify the filename with language in order to not have to specify the language, e.g.: Background(foo/en/bar) instead of: Background(foo/bar) By: mochouinard (mochouinard) 2004-09-06 22:37:29 hi mark, nope, it would work if ALL language was in different folder,but english is in the root. So if I want english, but ${LANGUAGE} is french, I can't do it unless I use this patch. By: Mark Spencer (markster) 2004-09-07 10:35:06 Unfortuantely "background" uses options in a different way than the other options like "Dial" so the use of one option essentially precludes the use of the others. As such I just added an override language parameter after the option. By: Digium Subversion (svnbot) 2008-01-15 15:06:56.000-0600 Repository: asterisk Revision: 3739 U trunk/pbx.c ------------------------------------------------------------------------ r3739 | markster | 2008-01-15 15:06:56 -0600 (Tue, 15 Jan 2008) | 2 lines Make background support a language override (bug ASTERISK-2346) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3739 |