<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="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 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Does vxml let you use absolute paths?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Wouldn&#8217;t it have the equivalent of a
DocRoot???<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Alex<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Douglas Garstang<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, July 03, 2008 5:03
PM<br>
<b><span style='font-weight:bold'>To:</span></b> asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users] Asterisk
VXML... Help.</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>So, I'm trying to get the
Asterisk vxml (from i6net) working.<br>
Having no luck with it.<br>
<br>
My dial plan has:<br>
<br>
exten =&gt; _X.,1,Answer()<br>
exten =&gt; _X.,n,Wait(1)<br>
exten =&gt; _X.,n,Vxml(file:///tmp/menu.vxml)<br>
<br>
The /tmp/menu.vxml file has:<br>
<br>
&lt;?xml version=&quot;1.0&quot;?&gt;<br>
&nbsp;&lt;vxml version=&quot;1.0&quot;&gt;<br>
&nbsp; &lt;form&gt;<br>
&nbsp;&nbsp; &lt;block&gt;&lt;audio
src=&quot;tt-monkeys.gsm&quot;/&gt;&lt;/block&gt;<br>
&nbsp;&nbsp; &lt;block&gt;Hello world!&lt;/block&gt;<br>
&nbsp;&lt;/form&gt;<br>
&lt;/vxml&gt;<br>
<br>
The tmp directory also has the tt-monkeys.gsm file:<br>
<br>
[root@pabx002 tmp]# ls -l tt-monkeys.gsm<br>
-rw-r--r--&nbsp; 1 root root 26697 Jul&nbsp; 3 20:57 tt-monkeys.gsm<br>
<br>
The openvxi daemon is running:<br>
<br>
root@pabx002 tmp]# ps -ef | grep openvxi<br>
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2076&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp; 0 18:33
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00:00:00 /bin/sh
/usr/sbin/safe_openvxi<br>
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2114&nbsp; 2076&nbsp; 0 18:33
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00:00:00 openvxi -channels 100
-config /etc/openvxi/client.cfg<br>
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2606&nbsp; 2409&nbsp; 0 21:00
pts/2&nbsp;&nbsp;&nbsp; 00:00:00 grep openvxi<br>
[root@pabx002 tmp]# <br>
<br>
The /etc/asterisk/vxml.conf file contains:<br>
<br>
; VoiceXML Configuration<br>
;<br>
[general]<br>
wav_codec=gsm<br>
videosilence=<br>
audiosilence=<br>
<br>
[license]<br>
max=1<br>
video=no<br>
key=<br>
<br>
And, finally here's my console output:<br>
<br>
&nbsp;&nbsp;&nbsp; -- Executing Vxml(&quot;SIP/xxx.201.84.142-b7600c30&quot;,
&quot;file:///tmp/menu.vxml&quot;) in new stack<br>
VoiceBrowser interface file:///tmp/menu.vxml<br>
&nbsp;Initialiting<br>
&nbsp; == VXML_URL=(null)<br>
&nbsp; == VXML_ID=(null)<br>
&nbsp; == VXML_PARAM=(null)<br>
&nbsp; == url=file:///tmp/menu.vxml<br>
&nbsp; == session=1<br>
&nbsp; == id=0<br>
&nbsp; == param=0<br>
&nbsp; == Opening (url=file:///tmp/menu.vxml, id=(null), param=(null))<br>
&nbsp; == (dnid=1yyy3160157)<br>
&nbsp; == (name=1xxx8635808)<br>
&nbsp; == (num=1xxx8635808)<br>
&nbsp; == remote=1xxx8635808<br>
&nbsp; == local=1yyy3160157<br>
&nbsp;&nbsp;&nbsp; -- &gt;
open|session=1|module=2|url=file:///tmp/menu.vxml|remote=1xxx8635808|local=1yyy3160157<br>
&nbsp;&nbsp;&nbsp; -- &lt; open|session=1|result=ok<br>
&nbsp;Waiting<br>
&nbsp;&nbsp;&nbsp; -- &lt; close|session=1<br>
&nbsp;Exiting<br>
&nbsp; == VXML_RESULT=<br>
<br>
<br>
I hear NOTHING. Asterisk drops though to the next command in the dial plan.
Shouldn't I hear the tt-monkeys.gsm sound file being played? I tried to keep
this as simple as I could. I thought it was interesting too that when I tried
this with a web server instead of a local file, if the URL was wrong, the
VXML() app still said it connected and got the data ok.<br>
<br>
<br>
<br>
<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</body>

</html>