title: Set command is not working with the variable value
body: <p>I am setting the variable like this </p>
  
  <pre><code>action application="set" data="RESULT=${system sed -n 1p /nfs/th/play/${uuid}}" inline="true"
  </code></pre>
  
  <p>Here I am trying to assign the wav file path to the variable, but here the problem is it is getting assigned as </p>
  
  <pre><code>2014-05-08 13:34:56.659049 [DEBUG] mod_dptools.c:1402 sofia/internal/1002@192.168.0.106 SET [RESULT]=[/usr/local/freeswitch/sounds/en/us/callie/directory/8000/dir-for_prev.wav
  </code></pre>
  
  <p>]</p>
  
  <p>The variable <code>RESULT</code> 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</p>
  
  <pre><code>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
  
  ]!
  </code></pre>
  
  <p>Even though I write the sed command in shell script and execute it here in Freeswitch I am facing the same problem.</p>
  
  <p>Can anyone help me in solving this issue.<br>
  Thanks in advance</p>