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

Robert Hadley robert.hadley at teotech.com
Wed Feb 10 10:50:15 PST 2010


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

 

Regards,

Robert

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100210/4e17a0df/attachment-0002.html 


More information about the FreeSWITCH-users mailing list