[Freeswitch-users] Set command is not working with the variable value in freeswitch
Nikhitha T
nikhitha.voxta at gmail.com
Thu May 8 14:55:08 MSD 2014
In freeswitch as I am setting the variable like this
*<action application="set" data="RESULT=${system sed -n 1p
/nfs/th/play/${uuid}}" inline="true"/>*
Here i am trying to assign the wav file path to the variable,but here the
problem is it is getting assigned as
*2014-05-08 13:34:56.659049 [DEBUG] mod_dptools.c:1402
sofia/internal/1002 at 192.168.0.106 <1002 at 192.168.0.106> SET
[RESULT]=[/usr/local/freeswitch/sounds/en/us/callie/directory/8000/dir-for_prev.wav]*
The variable RESULT is not being set properly,The closing square bracket is
coming to the new line as it should be in the same line immediately after
the path.So while playing the wav file it is showing the error as
*2014-05-08 13:34:56.679046 [ERR] switch_core_file.c:150 Invalid file
format [wav] for
[/usr/local/freeswitch/sounds/en/us/callie/directory/8000/dir-for_prev.wav]!*
Can anyone help me in solving this issue.Thanks in advance
--
Thanks & Regards
---------------------------------
Nikhitha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140508/66e2ec28/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list