<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
@font-face
        {font-family:HE_TERMINAL;
        panose-1:2 11 6 9 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.searchhit
        {mso-style-name:search_hit;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I am using VoiceGlue 0.8 and trying to pass the URL dynamically
as discussed in this thread and show in the VoiceGlue 0.9 UserGuide.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>And it is not working as expected. It playing the file given the
/etc/voiceglue.conf.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I just wanted to find out if this feature is available in VoiceGlue
0.8.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If not and if I have update the from 0.8 to 0.9 how stable is
it. Any feedback would greatly appreciated .<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN style='font-size:10.0pt;font-family:"Courier New"'>
Agi(agi://localhost/url=http%3A%2F%2Falt.com%2Fvxml%2Fdoit.vxml&arg1=foo&arg2=bar)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><b><span style='font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks and Regards,<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span style='font-family:"Monotype Corsiva";color:#1F497D'>Irfan
Lateef<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:HE_TERMINAL;
color:#1F497D'>Systems Engineer,CBUS</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
voiceglue-bounces@voiceglue.org [mailto:voiceglue-bounces@voiceglue.org] <b>On
Behalf Of </b>Stephen Smith<br>
<b>Sent:</b> Friday, April 03, 2009 7:01 AM<br>
<b>To:</b> General discussion about voiceglue<br>
<b>Subject:</b> Re: [Voiceglue] Passing a parameter from Asterisk,slashes won't
work.<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Hey Emiliano glad that you got it working and it's a good
point about the Users Guide. We're just about to update the user guide
prior to the next minor release, and we'll try to get your suggested updates
incorporated.<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>If you have time and inclination, the user guide is a wiki
and the Voiceglue community is welcome to make updates. So whether
in this case or in the future feel free to go in and make some changes if you
think wording could be improved or expanded on.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>That's a cool project that you have going there, please keep
us posted from time to time on the mailing list.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>- Steve<o:p></o:p></p>
<div>
<p class=MsoNormal>On Fri, Apr 3, 2009 at 5:18 AM, Emiliano Esposito <<a
href="mailto:emiespo@tiscali.it">emiespo@tiscali.it</a>> wrote:<o:p></o:p></p>
<p class=MsoNormal>Andrew Zitnay ha scritto:<o:p></o:p></p>
<div>
<p class=MsoNormal>> I don't know whether or not this will fix your problem,
but the<br>
> slashes in the feed parameter of your URL should probably be<br>
> URL-encoded, i.e.:<br>
><br>
> <a
href="http://localhost/ReadMyFeed/ReadMyFeed.php?feed=iltempo.ilsole24ore.com%2Frss%2Fhome.xml&max="
target="_blank">http://localhost/ReadMyFeed/ReadMyFeed.php?feed=iltempo.ilsole24ore.com%2Frss%2Fhome.xml&max=</a><br>
><br>
> Thus causing them to be double-URL-encoded when you URL-encode again:<br>
><br>
> http%3A%2F%2Flocalhost%2FReadMyFeed%2FReadMyFeed.php%3Ffeed%<a
href="http://3Diltempo.ilsole24ore.com" target="_blank">3Diltempo.ilsole24ore.com</a>%252Frss%252Fhome.xml%26max%3D<br>
><o:p></o:p></p>
</div>
<p class=MsoNormal>That seemed to work, but I couldn't find an easy way to do
the trick in<br>
Asterisk (I mean, simply calling URIENCODE twice has no effect,<br>
obviously, nor would have passing an already encoded URL from SIP).<br>
<br>
So I did something like this in Asterisk:<br>
<br>
exten => s,n,Set(feed=${BASE64_ENCODE(${feed})})<br>
exten => s,n,Set(feed=${URIENCODE(${feed})})<br>
<br>
And just base64 decode on the CGI side.<br>
<br>
Anyway, Voiceglue user guide should warn about this, and warn that the<br>
"&" sign in URIs has to be encoded too.<br>
<br>
Thank you for pointing me in the right direction!<br>
Regards.<br>
<br>
Emiliano E.<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal>_______________________________________________<br>
Voiceglue mailing list<br>
<a href="mailto:Voiceglue@voiceglue.org">Voiceglue@voiceglue.org</a><br>
<a href="http://www.voiceglue.org/mailman/listinfo/voiceglue" target="_blank">http://www.voiceglue.org/mailman/listinfo/voiceglue</a><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</body>
</html>