<div class="gmail_quote"><div>I have given a sample dtmf menu vxml program in earlier mail attached below.<br><br>The voiceglue replies (over phone) with message:  &quot;A Serious error has occured..... exiting&quot;<br><br>
<br>What could be the cause of this message? Does it mean, there is problem with SRGSDTMF module?<br><br>The program is supposed to take a dtmf input (press 1 or 2), It don&#39;t take any input. And gives the error message. Voiceglue does not seem to handle &lt;choice&gt; element and &lt;if&gt; elements properly?<br>
<br>Does voiceglue support dtmf handling???<br><br><br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Thanks a lot Robby. I am using Debain. Voiceglue 0.9. I compiled voiceglue<br>
the hard way mentioned in installation guide (using source).<br>
<br>
I solved problem by changing user &quot;asterisk&quot; to &quot;root&quot; in following files:<br>
<br>
Shell script:<br>
/etc/init.d/voiceglue<br>
Perl script:<br>
/usr/bin/voiceglue<br>
I will aslo try adding user asterisk.<br>
<br>
<br>
Now I can play tts (using flite) or audio file over phone using simple vxml<br>
program.<br>
But I am unable to use even simple DTMF Menu. It plays a tts over phone: &quot;A<br>
serious error has occured. Exiting&quot;.<br>
<br>
*Program: dtmfmenu.vxml*<br>
<br>
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;vxml version=&quot;2.0&quot;&gt;<br>
<br>
<br>
  &lt;menu id=&quot;dayselection&quot;&gt;<br>
    &lt;prompt&gt;<br>
      Press 1 for Monday and 2 for Tuesday.<br>
    &lt;/prompt&gt;<br>
    &lt;choice dtmf=&quot;1&quot; next=&quot;#monday&quot;/&gt;<br>
    &lt;choice dtmf=&quot;2&quot; next=&quot;#tuesday&quot;/&gt;<br>
  &lt;/menu&gt;<br>
<br>
  &lt;form id=&quot;monday&quot;&gt;<br>
    &lt;block&gt;<br>
      Thanks, you selected Monday.<br>
    &lt;/block&gt;<br>
  &lt;/form&gt;<br>
<br>
  &lt;form id=&quot;tuesday&quot;&gt;<br>
    &lt;block&gt;<br>
      Thanks, you selected Tuesday.<br>
    &lt;/block&gt;<br>
  &lt;/form&gt;<br>
&lt;/vxml&gt;<br>
<br>
<br>
*This is output at asterisk CLI:*<br>
<br>
Starting simple switch on &#39;DAHDI/4-1&#39;<br>
    -- Executing [s@FOUR:1] Answer(&quot;DAHDI/4-1&quot;, &quot;&quot;) in new stack<br>
    -- Executing [s@FOUR:2] AGI(&quot;DAHDI/4-1&quot;, &quot;agi://localhost&quot;) in new stack<br>
    -- Playing<br>
&#39;voiceglue/tts/A_serious_error_has_occured_Exiting-F77A1893DA898982&#39;<br>
(escape_digits=) (sample_offset 0)<br>
    -- AGI Script agi://localhost completed, returning 0<br>
    -- Executing [s@FOUR:3] Hangup(&quot;DAHDI/4-1&quot;, &quot;&quot;) in new stack<br>
  == Spawn extension (FOUR, s, 3) exited non-zero on &#39;DAHDI/4-1&#39;<br>
    -- Hungup &#39;DAHDI/4-1&#39;<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br><br>
&gt;<br>
&gt;   1. Re: Problem in installing voiceglue (Robby Dermody)<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Sun, 15 Mar 2009 13:58:57 -0500 (GMT-05:00)<br>
&gt; From: Robby Dermody &lt;<a href="mailto:robbyd@u20.org">robbyd@u20.org</a>&gt;<br>
&gt; Subject: Re: [Voiceglue] Problem in installing voiceglue<br>
&gt; To: General discussion about voiceglue &lt;<a href="mailto:voiceglue@voiceglue.org">voiceglue@voiceglue.org</a>&gt;<br>
&gt; Message-ID: &lt;26963926.461237143533881.JavaMail.robbyd@chl-lab-dev1&gt;<br>
&gt; Content-Type: text/plain; charset=utf-8<br>
&gt;<br>
&gt; Normally the user is created as part of installing the package. The best<br>
&gt; practice is to run asterisk under the asterisk user, and never under the<br>
&gt; root user.<br>
&gt; If you compiled Asterisk from source you will probably need to create the<br>
&gt; user yourself using the useradd command (see &#39;man useradd&#39; for more info).<br>
&gt;<br>
&gt; A few questions:<br>
&gt;<br>
&gt; -What distribution are you running?<br>
&gt; -Did you compile from source instead of using that distribution&#39;s build in<br>
&gt; packages?<br>
&gt;<br>
&gt; Robby<br>
&gt; ----- Original Message -----<br>
&gt; From: &quot;Ramji Nagariya&quot; &lt;<a href="mailto:ramji.nagariya@simmortel.com">ramji.nagariya@simmortel.com</a>&gt;<br>
&gt; To: <a href="mailto:voiceglue@voiceglue.org">voiceglue@voiceglue.org</a><br>
&gt; Sent: Saturday, March 14, 2009 7:35:57 AM GMT -05:00 US/Canada Eastern<br>
&gt; Subject: [Voiceglue] Problem in installing voiceglue<br>
&gt;<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am getting problem in voiceglue installation.<br>
&gt;<br>
&gt; I have almost completed the installation.<br>
&gt;<br>
&gt; I do following to start voiceglue<br>
&gt;<br>
&gt; Start Asterisk:<br>
&gt; $ /usr/sbin/asterisk (this /usr/sbin/asterisk is a binary file. executing<br>
&gt; this file starts asterisk)<br>
&gt;<br>
&gt; Start Dynlog:<br>
&gt; $ /etc/init.d/dynlog start (/etc/init.d/dynlog is a shell script. In this<br>
&gt; file dynlog_user and dynlog_group are defined to be &quot;dynlog&quot;)<br>
&gt;<br>
&gt; Start phoneglue:<br>
&gt; $ /etc/init.d/phoneglue start (/etc/init.d/phoneglue is also a shell script<br>
&gt; with user and gropu to be definrd as &quot;phoneglue&quot;)<br>
&gt;<br>
&gt; Start voiceglue:<br>
&gt;<br>
&gt; $/etc/init.d/voiceglue start (/etc/init.d/voiceglue is also a shell script<br>
&gt; with user and group defined to be &quot;asterisk&quot;)<br>
&gt; Starting voiceglue: Starting Voiceglue daemon: voicegluevoiceglue: user<br>
&gt; &quot;asterisk&quot; unknown<br>
&gt; failed!<br>
&gt;<br>
&gt; As shown in error message above, Voiceglue fails to start.<br>
&gt;<br>
&gt; This is link to voiceglue installation guide.<br>
&gt; Link:<br>
&gt; <a href="http://voiceglue.org/wiki/doku.php?id=voiceglue_0.9_installation_instructions" target="_blank">http://voiceglue.org/wiki/doku.php?id=voiceglue_0.9_installation_instructions</a><br>
&gt;<br>
&gt; ..............Start copied_note<br>
&gt;<br>
&gt; The &quot;asterisk&quot; user<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The ?asterisk? user must be present. This user is what the voiceglue<br>
&gt; process runs as because it needs to share audio files with Asterisk. It is<br>
&gt; legal, even with the easy way, to have Asterisk installed on a separate<br>
&gt; machine from Voiceglue, but the ?asterisk? user must be present on the<br>
&gt; voiceglue host, and should match the uid/gid of the ?asterisk? user on the<br>
&gt; Asterisk host.<br>
&gt; ..................End<br>
&gt;<br>
&gt;<br>
&gt; Now my problem is how do I make asterisk user present. Asterisk is running<br>
&gt; but no user named &quot;asterisk&quot; is present. Notably I start my asterisk by<br>
&gt; using this binary: ($ /usr/sbin/asterisk). And I don&#39;t start asterisk using<br>
&gt; some init.d shell script like ($ /etc/init.d/asterisk start). I have no<br>
&gt; /etc/init.d/asterisk shell script.<br>
&gt;<br>
&gt; All others (dynlog, phoneglue and voiceglue ) are started using shell<br>
&gt; scripts in /etc/init.d<br>
&gt;<br>
&gt; so now, how do I run voiceglue? how do I make user &quot;asterisk&quot; present.<br>
&gt; Any help is very much appreciated.<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; Neo<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Voiceglue mailing list<br>
&gt; <a href="mailto:Voiceglue@voiceglue.org">Voiceglue@voiceglue.org</a><br>
&gt; <a href="http://www.voiceglue.org/mailman/listinfo/voiceglue" target="_blank">http://www.voiceglue.org/mailman/listinfo/voiceglue</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Voiceglue mailing list<br>
&gt; <a href="mailto:Voiceglue@voiceglue.org">Voiceglue@voiceglue.org</a><br>
&gt; <a href="http://www.voiceglue.org/mailman/listinfo/voiceglue" target="_blank">http://www.voiceglue.org/mailman/listinfo/voiceglue</a><br>
&gt;<br>
&gt;<br>
&gt; End of Voiceglue Digest, Vol 20, Issue 5<br>
&gt; ****************************************<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://www.voiceglue.org/pipermail/voiceglue/attachments/20090316/6b17699a/attachment.html" target="_blank">http://www.voiceglue.org/pipermail/voiceglue/attachments/20090316/6b17699a/attachment.html</a><br>

<br>
------------------------------<br>
<br>
_______________________________________________<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><br>
<br>
<br>
End of Voiceglue Digest, Vol 20, Issue 6<br>
****************************************<br>
</blockquote></div><br>