Summary: | ASTERISK-03950: International sounds support is broken | ||
Reporter: | Chih-Wei Huang (cwhuang) | Labels: | |
Date Opened: | 2005-04-18 03:28:23 | Date Closed: | 2011-06-07 14:04:43 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | After updating the latest CVS, international sounds doesn't work anymore. My dialplan looks like: exten => s,1,SetLanguage(zh) ... exten => s,7,BackGround(greeting) I have my greeting sounds in /var/lib/asterisk/sounds/zh/greeting.gsm. But now Asterisk can't find it. I have to move it to /var/lib/asterisk/sounds/greeting.gsm to play it. Older CVS(probably 1-2 weeks ago) didn't have this problem. | ||
Comments: | By: Markus Barckmann (worta) 2005-04-18 04:41:36 Same here. Can be worked arround without moving the files using: [cut] exten => s,2,BackGround(<lang>/<file>) [/cut] By: Kevin P. Fleming (kpfleming) 2005-04-20 11:20:39 Fixed in CVS, thanks! By: Kevin P. Fleming (kpfleming) 2005-04-20 11:20:56 Not an issue in stable. By: Chih-Wei Huang (cwhuang) 2005-04-21 03:06:50 Thanks for the fix. Now it works for SIP driver, but for H.323 driver it still doesn't work. It complained like this: -- Executing BackGround("H323/ip$10.0.0.1:55893/14519", greeting") in new st ack Apr 21 16:01:56 WARNING[27721]: file.c:489 ast_openstream_full: File greeting doe s not exist in any format Apr 21 16:01:56 WARNING[27721]: file.c:793 ast_streamfile: Unable to open greetin g (format g723): No such file or directory Apr 21 16:01:56 WARNING[27721]: pbx.c:5605 pbx_builtin_background: ast_streamfile failed on H323/ip$10.0.0.1:55893/14519 for greeting Any idea? Is it because H.323 driver does not support 'language' keyword? By: Kevin P. Fleming (kpfleming) 2005-04-21 11:27:03 This is not the same problem; look at the error message closely. You have a caller coming in using G.723, and you want to play audio to them. Asterisk cannot do that, because it does not have a G.723 codec, and the audio file is not available already stored in G.723 format (and Asterisk doesn't understand G.723 files anyway). You cannot play prompts/audio files to peers using codecs that you can't support except in pass-through mode. By: Chih-Wei Huang (cwhuang) 2005-04-21 21:19:49 I do install Intel IPP codec_g723.so in Asterisk so it can talk to SIP, H.323, MGCP endpoints using G.723.1 without problem, at least for older CVS. Now with the newest CVS * SIP and MGCP phone can play the audio using G.723.1 * If I put the sound file in /var/..../sounds instead of /var/..../sounds/zh, H.323 endpoint can find and play it. So the codec is not a problem. Now I solved the problem by hardcode 'zh' to chan_h323. I may provide a patch to add 'language' support to chan_323 later. By: Kevin P. Fleming (kpfleming) 2005-04-21 21:24:01 Please do not reopen a bug when the initial problem has already been solved. If there is a problem with the H.323 channel driver, then a new bug should be opened referencing that problem specifically. By: Digium Subversion (svnbot) 2008-01-15 15:31:55.000-0600 Repository: asterisk Revision: 5487 U trunk/pbx.c ------------------------------------------------------------------------ r5487 | kpfleming | 2008-01-15 15:31:55 -0600 (Tue, 15 Jan 2008) | 2 lines correct default language setting for Background() app (bug ASTERISK-3950) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5487 |