I would be looking at the format of the file produced by google more than at FS. We have not touched mod_shout in eons. Maybe they put in a fake error to stop people from borrowing their audio engine. On Mon, Jan 31, 2011 at 10:37 AM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Last time, when I ran into problem with mod_shout, I posted http://freeswitch-users.2379917.n2.nabble.com/Playing-Google-translation-tts... here . Since then, I did an update with FreeSWITCH Version 1.0.head (git-49a5eff 2011-01-29 03-09-06 -0500). My same diialplan (conf/dialplan/default/2115_Google_TTS.xml), copied from http://freeswitch-users.2379917.n2.nabble.com/Playing-Google-translation-tts... here , is shown below: <extension name="Free_Google_Text_To_Speech"> <condition field="destination_number" expression="^2115$"> <action application="answer" data=""/> <action application="playback" data="shout://translate.google.com/translate_tts?tl=en&q=FreeSWI </condition> </extension> The fs_cli dumped the following error messages when I called 2115#:
2011-01-31 11:13:16.647405 [WARNING] sofia_reg.c:1247 SIP auth challenge (INVITE) on sofia profile 'internal' for [2115@192.168.1.123] from ip 192.168.1.15 2011-01-31 11:13:18.656994 [NOTICE] switch_channel.c:808 New Channel sofia/internal/1003@192.168.1.15 [18fd8311-60b0-4c93-b022-51204ae6dd17] 2011-01-31 11:13:20.091366 [INFO] mod_dialplan_xml.c:331 Processing 1003 <1003>->2115 in context default 2011-01-31 11:13:22.339858 [NOTICE] mod_dptools.c:920 Channel [sofia/internal/1003@192.168.1.15] has been answered 2011-01-31 11:13:22.354824 [ERR] mod_shout.c:804 Error: MPG123 Error at /opt/tmp/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.31_eabi/freeswitch_git/src/mod/formats/mod_shout/mod_shout.c:627. 2011-01-31 11:13:22.354824 [ERR] mod_shout.c:807 Error from mpg123: Invalid mpg123 handle. (code 10) 2011-01-31 11:13:22.360467 [NOTICE] switch_core_state_machine.c:189 sofia/internal/1003@192.168.1.15 has executed the last dialplan instruction, hanging up. 2011-01-31 11:13:22.367752 [NOTICE] switch_core_state_machine.c:191 Hangup sofia/internal/1003@192.168.1.15 [CS_EXECUTE] [NORMAL_CLEARING] 2011-01-31 11:13:24.215896 [NOTICE] switch_core_session.c:1306 Session 7 (sofia/internal/1003@192.168.1.15) Ended 2011-01-31 11:13:24.215896 [NOTICE] switch_core_session.c:1308 Close Channel sofia/internal/1003@192.168.1.15 [CS_DESTROY] The above [ERR] line shows an MPG123 error on mod_shout.c file @line 627. I don't suppose an MPG123 lib is needed mainly because the mpeg123 codes are statically linked to mod_shout.so. Can anyone confirm this?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-mod-shout-on-FS-g... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900