[Freeswitch-users] demo_ivr cannot find sound files via relative paths

Michael Jerris mike at jerris.com
Wed Feb 10 21:33:39 PST 2010


did you make any changes to the default configs?  what is in your vars.xml related to sounds?  the relative paths were always relative to that dir, did you make any changes to the sounds prefix ?

Mike

On Feb 10, 2010, at 11:57 PM, Michael Collins wrote:

> If I read this log correctly it failed to find the "invalid entry" file but it did find the phrases just fine. Can you confirm the presence of this file:
> /usr/local/freeswitch/sounds/en/us/callie/ivr/8000/ivr-that_was_an_invalid_entry.wav
> 
> (It looks like this call is at 8kHz so that's where I'm assuming FS is looking to find the sound file...)
> 
> -MC
> 
> On Wed, Feb 10, 2010 at 10:50 AM, Robert Hadley <robert.hadley at teotech.com> wrote:
> Hi,
> 
>  
> It appears a recent change (possibly the new sounds_dir variable or the new ivr_menu folder?) may have broken relative sound file paths in the IVR.  I built a today’s trunk version and installed to the default location. Using the default conf files the demo_ivr cannot find files based on the relative paths specified in ivr_menus/demo_ivr.xml.
> 
>  
> [root at TEO-UCM-T2 conf]# cat ivr_menus/demo_ivr.xml
> 
> <include>
> 
>   <!-- demo IVR setup -->
> 
>   <!-- demo IVR, Main Menu -->
> 
>   <menu name="demo_ivr"
> 
>       greet-long="phrase:demo_ivr_main_menu"
> 
>       greet-short="phrase:demo_ivr_main_menu_short"
> 
>       invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
> 
>       exit-sound="voicemail/vm-goodbye.wav"
> 
>  
>  
> 2010-02-10 10:32:15.300337 [DEBUG] switch_ivr_menu.c:414 Executing IVR menu demo_ivr
> 
> 2010-02-10 10:32:15.300337 [DEBUG] switch_ivr_play_say.c:118 No language specified - Using [en]
> 
> 2010-02-10 10:32:15.300337 [DEBUG] switch_ivr_play_say.c:273 Handle play-file:[ivr/ivr-welcome_to_freeswitch.wav] (en:en)
> 
> 2010-02-10 10:32:15.300337 [DEBUG] switch_ivr_play_say.c:1158 Codec Activated L16 at 8000hz 1 channels 20ms
> 
> 2010-02-10 10:32:17.922147 [DEBUG] switch_ivr_play_say.c:1450 done playing file
> 
> 2010-02-10 10:32:18.042149 [DEBUG] switch_ivr_play_say.c:273 Handle play-file:[ivr/ivr-this_ivr_will_let_you_test_features.wav] (en:en)
> 
> 2010-02-10 10:32:18.042149 [DEBUG] switch_ivr_play_say.c:1158 Codec Activated L16 at 8000hz 1 channels 20ms
> 
> 2010-02-10 10:32:19.962158 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 2:800
> 
> 2010-02-10 10:32:19.962158 [DEBUG] switch_ivr_play_say.c:1450 done playing file
> 
> 2010-02-10 10:32:20.082156 [DEBUG] switch_ivr_menu.c:329 waiting for 3/4 digits t/o 2000
> 
> 2010-02-10 10:32:20.120617 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 2:400
> 
> 2010-02-10 10:32:20.442158 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 2:800
> 
> 2010-02-10 10:32:20.682162 [DEBUG] switch_rtp.c:2417 RTP RECV DTMF 2:800
> 
> 2010-02-10 10:32:20.682162 [DEBUG] switch_ivr_menu.c:376 digits '2222'
> 
> 2010-02-10 10:32:20.682162 [DEBUG] switch_ivr_menu.c:470 action regex [2222] [/^(10[01][0-9])$/] [0]
> 
> 2010-02-10 10:32:20.682162 [DEBUG] switch_ivr_menu.c:560 IVR menu 'demo_ivr' caught invalid input '2222'
> 
> 2010-02-10 10:32:20.682162 [ERR] mod_sndfile.c:194 Error Opening File [/usr/local/freeswitch/sounds/ivr/ivr-that_was_an_invalid_entry.wav] [System error : No such file or directory.]
> 
> 2010-02-10 10:32:21.701505 [DEBUG] switch_ivr_play_say.c:118 No language specified - Using [en]
> 
> 2010-02-10 10:32:21.701505 [DEBUG] switch_ivr_play_say.c:273 Handle play-file:[silence_stream://1000] (en:en)
> 
> 2010-02-10 10:32:21.701505 [DEBUG] switch_ivr_play_say.c:1158 Codec Activated L16 at 8000hz 1 channels 20ms
> 
> 2010-02-10 10:32:22.700352 [DEBUG] switch_ivr_play_say.c:1450 done playing file
> 
>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100211/0a233797/attachment-0002.html 


More information about the FreeSWITCH-users mailing list