title: twilio send function parameter from a function to another function
body: <p>i want to whisper a voicemail record to a callee,I used Dial.Number and using url I am redirecting to &quot;another function&quot; which will play the record as whisper .
  so, I need to pass a parameter in the url,which will be retrived in that &quot;another function&quot;, But when I send parameter in url it says invalid  URL format. this is the url <a href="https://xxxx.twil.io/rec?RECSID=$%7Brec_sid%7D" rel="nofollow noreferrer">https://xxxx.twil.io/rec?RECSID=${rec_sid}</a></p>
  <p>Here record_sid was passed as function parameter from twilio studio run function widget.</p>
  <pre><code>exports.handler = function(context, event, callback) {
  
      for (let key in event) {
      console.log('1');
  console.log(`${key}: ${event[key]}`);}
  
  let twiml = new Twilio.twiml.VoiceResponse();
  twiml.say(&quot;functioon joe is  runnong&quot;);
  
   var rec_sid = event.record_sid ;
  console.log('${rec_sid}');
  const dial = twiml.dial();
  dial.number({
                  url: 'https://xxxx.twil.io/rec?RECSID=${rec_sid}'
                 
               }, '+1207869');
  
  
   callback(null, twiml);
  </code></pre>
  <p>};</p>