[Voiceglue] Voiceglue Digest, Vol 20, Issue 7
Ramji Nagariya
ramji.nagariya at simmortel.com
Tue Mar 17 09:44:01 EDT 2009
Thanks a lot Stephen.
I was able to trace the error using dynlog.
I had to set the inputmodes property for the <menu> element.
Default value for *inputmodes = "dtmf voice".* And this was cause of error.
I don't know why it should be. Any guess??
I had to set it explicitly to *inputmodes = "dtmf"*
*********************
* <menu id="dayselection">*
*<property name="inputmodes" value="dtmf"/>*
********************
This solved the problem. Thanks again!!!
On Tue, Mar 17, 2009 at 4:49 PM, <voiceglue-request at voiceglue.org> wrote:
> Send Voiceglue mailing list submissions to
> voiceglue at voiceglue.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.voiceglue.org/mailman/listinfo/voiceglue
> or, via email, send a message with subject or body 'help' to
> voiceglue-request at voiceglue.org
>
> You can reach the person managing the list at
> voiceglue-owner at voiceglue.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Voiceglue digest..."
>
>
> Today's Topics:
>
> 1. Problem with Using DTMF Menu with voiceglue (Ramji Nagariya)
> 2. Re: Problem with Using DTMF Menu with voiceglue (Stephen Smith)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 17 Mar 2009 12:24:26 +0530
> From: Ramji Nagariya <ramji.nagariya at simmortel.com>
> Subject: [Voiceglue] Problem with Using DTMF Menu with voiceglue
> To: voiceglue at voiceglue.org
> Message-ID:
> <8b289cf20903162354g75ab2096pad2da61fdcb7357f at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I have given a sample dtmf menu vxml program in earlier mail attached
> below.
>
> The voiceglue replies (over phone) with message: "A Serious error has
> occured..... exiting"
>
>
> What could be the cause of this message? Does it mean, there is problem
> with
> SRGSDTMF module?
>
> The program is supposed to take a dtmf input (press 1 or 2), It don't take
> any input. And gives the error message. Voiceglue does not seem to handle
> <choice> element and <if> elements properly?
>
> Does voiceglue support dtmf handling???
>
>
>
>
>
>
> >
> >
> > Thanks a lot Robby. I am using Debain. Voiceglue 0.9. I compiled
> voiceglue
> > the hard way mentioned in installation guide (using source).
> >
> > I solved problem by changing user "asterisk" to "root" in following
> files:
> >
> > Shell script:
> > /etc/init.d/voiceglue
> > Perl script:
> > /usr/bin/voiceglue
> > I will aslo try adding user asterisk.
> >
> >
> > Now I can play tts (using flite) or audio file over phone using simple
> vxml
> > program.
> > But I am unable to use even simple DTMF Menu. It plays a tts over phone:
> "A
> > serious error has occured. Exiting".
> >
> > *Program: dtmfmenu.vxml*
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <vxml version="2.0">
> >
> >
> > <menu id="dayselection">
> > <prompt>
> > Press 1 for Monday and 2 for Tuesday.
> > </prompt>
> > <choice dtmf="1" next="#monday"/>
> > <choice dtmf="2" next="#tuesday"/>
> > </menu>
> >
> > <form id="monday">
> > <block>
> > Thanks, you selected Monday.
> > </block>
> > </form>
> >
> > <form id="tuesday">
> > <block>
> > Thanks, you selected Tuesday.
> > </block>
> > </form>
> > </vxml>
> >
> >
> > *This is output at asterisk CLI:*
> >
> > Starting simple switch on 'DAHDI/4-1'
> > -- Executing [s at FOUR:1] Answer("DAHDI/4-1", "") in new stack
> > -- Executing [s at FOUR:2] AGI("DAHDI/4-1", "agi://localhost") in new
> > stack
> > -- Playing
> > 'voiceglue/tts/A_serious_error_has_occured_Exiting-F77A1893DA898982'
> > (escape_digits=) (sample_offset 0)
> > -- AGI Script agi://localhost completed, returning 0
> > -- Executing [s at FOUR:3] Hangup("DAHDI/4-1", "") in new stack
> > == Spawn extension (FOUR, s, 3) exited non-zero on 'DAHDI/4-1'
> > -- Hungup 'DAHDI/4-1'
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > >
> > > 1. Re: Problem in installing voiceglue (Robby Dermody)
> > >
> > >
> > > ----------------------------------------------------------------------
> > >
> > > Message: 1
> > > Date: Sun, 15 Mar 2009 13:58:57 -0500 (GMT-05:00)
> > > From: Robby Dermody <robbyd at u20.org>
> > > Subject: Re: [Voiceglue] Problem in installing voiceglue
> > > To: General discussion about voiceglue <voiceglue at voiceglue.org>
> > > Message-ID: <26963926.461237143533881.JavaMail.robbyd at chl-lab-dev1>
> > > Content-Type: text/plain; charset=utf-8
> > >
> > > Normally the user is created as part of installing the package. The
> best
> > > practice is to run asterisk under the asterisk user, and never under
> the
> > > root user.
> > > If you compiled Asterisk from source you will probably need to create
> the
> > > user yourself using the useradd command (see 'man useradd' for more
> > info).
> > >
> > > A few questions:
> > >
> > > -What distribution are you running?
> > > -Did you compile from source instead of using that distribution's build
> > in
> > > packages?
> > >
> > > Robby
> > > ----- Original Message -----
> > > From: "Ramji Nagariya" <ramji.nagariya at simmortel.com>
> > > To: voiceglue at voiceglue.org
> > > Sent: Saturday, March 14, 2009 7:35:57 AM GMT -05:00 US/Canada Eastern
> > > Subject: [Voiceglue] Problem in installing voiceglue
> > >
> > >
> > > Hi,
> > >
> > > I am getting problem in voiceglue installation.
> > >
> > > I have almost completed the installation.
> > >
> > > I do following to start voiceglue
> > >
> > > Start Asterisk:
> > > $ /usr/sbin/asterisk (this /usr/sbin/asterisk is a binary file.
> executing
> > > this file starts asterisk)
> > >
> > > Start Dynlog:
> > > $ /etc/init.d/dynlog start (/etc/init.d/dynlog is a shell script. In
> this
> > > file dynlog_user and dynlog_group are defined to be "dynlog")
> > >
> > > Start phoneglue:
> > > $ /etc/init.d/phoneglue start (/etc/init.d/phoneglue is also a shell
> > script
> > > with user and gropu to be definrd as "phoneglue")
> > >
> > > Start voiceglue:
> > >
> > > $/etc/init.d/voiceglue start (/etc/init.d/voiceglue is also a shell
> > script
> > > with user and group defined to be "asterisk")
> > > Starting voiceglue: Starting Voiceglue daemon: voicegluevoiceglue: user
> > > "asterisk" unknown
> > > failed!
> > >
> > > As shown in error message above, Voiceglue fails to start.
> > >
> > > This is link to voiceglue installation guide.
> > > Link:
> > >
> >
> http://voiceglue.org/wiki/doku.php?id=voiceglue_0.9_installation_instructions
> > >
> > > ..............Start copied_note
> > >
> > > The "asterisk" user
> > >
> > >
> > >
> > > The ?asterisk? user must be present. This user is what the voiceglue
> > > process runs as because it needs to share audio files with Asterisk. It
> > is
> > > legal, even with the easy way, to have Asterisk installed on a separate
> > > machine from Voiceglue, but the ?asterisk? user must be present on the
> > > voiceglue host, and should match the uid/gid of the ?asterisk? user on
> > the
> > > Asterisk host.
> > > ..................End
> > >
> > >
> > > Now my problem is how do I make asterisk user present. Asterisk is
> > running
> > > but no user named "asterisk" is present. Notably I start my asterisk by
> > > using this binary: ($ /usr/sbin/asterisk). And I don't start asterisk
> > using
> > > some init.d shell script like ($ /etc/init.d/asterisk start). I have no
> > > /etc/init.d/asterisk shell script.
> > >
> > > All others (dynlog, phoneglue and voiceglue ) are started using shell
> > > scripts in /etc/init.d
> > >
> > > so now, how do I run voiceglue? how do I make user "asterisk" present.
> > > Any help is very much appreciated.
> > >
> > > Thanks!
> > >
> > > Neo
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Voiceglue mailing list
> > > Voiceglue at voiceglue.org
> > > http://www.voiceglue.org/mailman/listinfo/voiceglue
> > >
> > >
> > > ------------------------------
> > >
> > > _______________________________________________
> > > Voiceglue mailing list
> > > Voiceglue at voiceglue.org
> > > http://www.voiceglue.org/mailman/listinfo/voiceglue
> > >
> > >
> > > End of Voiceglue Digest, Vol 20, Issue 5
> > > ****************************************
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> >
> http://www.voiceglue.org/pipermail/voiceglue/attachments/20090316/6b17699a/attachment.html
> >
> > ------------------------------
> >
> > _______________________________________________
> > Voiceglue mailing list
> > Voiceglue at voiceglue.org
> > http://www.voiceglue.org/mailman/listinfo/voiceglue
> >
> >
> > End of Voiceglue Digest, Vol 20, Issue 6
> > ****************************************
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://www.voiceglue.org/pipermail/voiceglue/attachments/20090317/e5e8d56d/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Tue, 17 Mar 2009 07:19:07 -0400
> From: Stephen Smith <s.smith at ampersand.com>
> Subject: Re: [Voiceglue] Problem with Using DTMF Menu with voiceglue
> To: General discussion about voiceglue <voiceglue at voiceglue.org>
> Message-ID:
> <4a4696100903170419l380d570asbf7124978e19c1e4 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Ramji,
> The "Serious error has occured" message usually occurs when there are
> parse-time errors in your VXML program. Details about the error,
> including
> line and column where things went wrong, can by found in the dynlog.
> Often it's an openVXI error that you'll be looking at.
>
> You may also want to crank the dynlog up to level 7, to see what is
> correctly being parsed. Details about dynlog, where it is, and how to set
> the levels are all in the Users Guide on the Voiceglue wiki (under the
> documentation tab on the main voiceglue.org site).
>
> Yes, Voiceglue works just fine with DTMF input, and we use it that way all
> the time. I don't know offhand about the <choice> element, Doug would
> know
> and perhaps he could chime in.
>
> 2009/3/17 Ramji Nagariya <ramji.nagariya at simmortel.com>
>
> > I have given a sample dtmf menu vxml program in earlier mail attached
> > below.
> >
> > The voiceglue replies (over phone) with message: "A Serious error has
> > occured..... exiting"
> >
> >
> > What could be the cause of this message? Does it mean, there is problem
> > with SRGSDTMF module?
> >
> > The program is supposed to take a dtmf input (press 1 or 2), It don't
> take
> > any input. And gives the error message. Voiceglue does not seem to handle
> > <choice> element and <if> elements properly?
> >
> > Does voiceglue support dtmf handling???
> >
> >
> >
> >
> >
> >
> >>
> >>
> >> Thanks a lot Robby. I am using Debain. Voiceglue 0.9. I compiled
> voiceglue
> >> the hard way mentioned in installation guide (using source).
> >>
> >> I solved problem by changing user "asterisk" to "root" in following
> files:
> >>
> >> Shell script:
> >> /etc/init.d/voiceglue
> >> Perl script:
> >> /usr/bin/voiceglue
> >> I will aslo try adding user asterisk.
> >>
> >>
> >> Now I can play tts (using flite) or audio file over phone using simple
> >> vxml
> >> program.
> >> But I am unable to use even simple DTMF Menu. It plays a tts over phone:
> >> "A
> >> serious error has occured. Exiting".
> >>
> >> *Program: dtmfmenu.vxml*
> >>
> >> <?xml version="1.0" encoding="UTF-8"?>
> >> <vxml version="2.0">
> >>
> >>
> >> <menu id="dayselection">
> >> <prompt>
> >> Press 1 for Monday and 2 for Tuesday.
> >> </prompt>
> >> <choice dtmf="1" next="#monday"/>
> >> <choice dtmf="2" next="#tuesday"/>
> >> </menu>
> >>
> >> <form id="monday">
> >> <block>
> >> Thanks, you selected Monday.
> >> </block>
> >> </form>
> >>
> >> <form id="tuesday">
> >> <block>
> >> Thanks, you selected Tuesday.
> >> </block>
> >> </form>
> >> </vxml>
> >>
> >>
> >> *This is output at asterisk CLI:*
> >>
> >> Starting simple switch on 'DAHDI/4-1'
> >> -- Executing [s at FOUR:1] Answer("DAHDI/4-1", "") in new stack
> >> -- Executing [s at FOUR:2] AGI("DAHDI/4-1", "agi://localhost") in new
> >> stack
> >> -- Playing
> >> 'voiceglue/tts/A_serious_error_has_occured_Exiting-F77A1893DA898982'
> >> (escape_digits=) (sample_offset 0)
> >> -- AGI Script agi://localhost completed, returning 0
> >> -- Executing [s at FOUR:3] Hangup("DAHDI/4-1", "") in new stack
> >> == Spawn extension (FOUR, s, 3) exited non-zero on 'DAHDI/4-1'
> >> -- Hungup 'DAHDI/4-1'
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> >
> >> > 1. Re: Problem in installing voiceglue (Robby Dermody)
> >> >
> >> >
> >> > ----------------------------------------------------------------------
> >> >
> >> > Message: 1
> >> > Date: Sun, 15 Mar 2009 13:58:57 -0500 (GMT-05:00)
> >> > From: Robby Dermody <robbyd at u20.org>
> >> > Subject: Re: [Voiceglue] Problem in installing voiceglue
> >> > To: General discussion about voiceglue <voiceglue at voiceglue.org>
> >> > Message-ID: <26963926.461237143533881.JavaMail.robbyd at chl-lab-dev1>
> >> > Content-Type: text/plain; charset=utf-8
> >> >
> >> > Normally the user is created as part of installing the package. The
> best
> >> > practice is to run asterisk under the asterisk user, and never under
> the
> >> > root user.
> >> > If you compiled Asterisk from source you will probably need to create
> >> the
> >> > user yourself using the useradd command (see 'man useradd' for more
> >> info).
> >> >
> >> > A few questions:
> >> >
> >> > -What distribution are you running?
> >> > -Did you compile from source instead of using that distribution's
> build
> >> in
> >> > packages?
> >> >
> >> > Robby
> >> > ----- Original Message -----
> >> > From: "Ramji Nagariya" <ramji.nagariya at simmortel.com>
> >> > To: voiceglue at voiceglue.org
> >> > Sent: Saturday, March 14, 2009 7:35:57 AM GMT -05:00 US/Canada Eastern
> >> > Subject: [Voiceglue] Problem in installing voiceglue
> >> >
> >> >
> >> > Hi,
> >> >
> >> > I am getting problem in voiceglue installation.
> >> >
> >> > I have almost completed the installation.
> >> >
> >> > I do following to start voiceglue
> >> >
> >> > Start Asterisk:
> >> > $ /usr/sbin/asterisk (this /usr/sbin/asterisk is a binary file.
> >> executing
> >> > this file starts asterisk)
> >> >
> >> > Start Dynlog:
> >> > $ /etc/init.d/dynlog start (/etc/init.d/dynlog is a shell script. In
> >> this
> >> > file dynlog_user and dynlog_group are defined to be "dynlog")
> >> >
> >> > Start phoneglue:
> >> > $ /etc/init.d/phoneglue start (/etc/init.d/phoneglue is also a shell
> >> script
> >> > with user and gropu to be definrd as "phoneglue")
> >> >
> >> > Start voiceglue:
> >> >
> >> > $/etc/init.d/voiceglue start (/etc/init.d/voiceglue is also a shell
> >> script
> >> > with user and group defined to be "asterisk")
> >> > Starting voiceglue: Starting Voiceglue daemon: voicegluevoiceglue:
> user
> >> > "asterisk" unknown
> >> > failed!
> >> >
> >> > As shown in error message above, Voiceglue fails to start.
> >> >
> >> > This is link to voiceglue installation guide.
> >> > Link:
> >> >
> >>
> http://voiceglue.org/wiki/doku.php?id=voiceglue_0.9_installation_instructions
> >> >
> >> > ..............Start copied_note
> >> >
> >> > The "asterisk" user
> >> >
> >> >
> >> >
> >> > The ?asterisk? user must be present. This user is what the voiceglue
> >> > process runs as because it needs to share audio files with Asterisk.
> It
> >> is
> >> > legal, even with the easy way, to have Asterisk installed on a
> separate
> >> > machine from Voiceglue, but the ?asterisk? user must be present on the
> >> > voiceglue host, and should match the uid/gid of the ?asterisk? user on
> >> the
> >> > Asterisk host.
> >> > ..................End
> >> >
> >> >
> >> > Now my problem is how do I make asterisk user present. Asterisk is
> >> running
> >> > but no user named "asterisk" is present. Notably I start my asterisk
> by
> >> > using this binary: ($ /usr/sbin/asterisk). And I don't start asterisk
> >> using
> >> > some init.d shell script like ($ /etc/init.d/asterisk start). I have
> no
> >> > /etc/init.d/asterisk shell script.
> >> >
> >> > All others (dynlog, phoneglue and voiceglue ) are started using shell
> >> > scripts in /etc/init.d
> >> >
> >> > so now, how do I run voiceglue? how do I make user "asterisk" present.
> >> > Any help is very much appreciated.
> >> >
> >> > Thanks!
> >> >
> >> > Neo
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Voiceglue mailing list
> >> > Voiceglue at voiceglue.org
> >> > http://www.voiceglue.org/mailman/listinfo/voiceglue
> >> >
> >> >
> >> > ------------------------------
> >> >
> >> > _______________________________________________
> >> > Voiceglue mailing list
> >> > Voiceglue at voiceglue.org
> >> > http://www.voiceglue.org/mailman/listinfo/voiceglue
> >> >
> >> >
> >> > End of Voiceglue Digest, Vol 20, Issue 5
> >> > ****************************************
> >> >
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL:
> >>
> http://www.voiceglue.org/pipermail/voiceglue/attachments/20090316/6b17699a/attachment.html
> >>
> >> ------------------------------
> >>
> >> _______________________________________________
> >> Voiceglue mailing list
> >> Voiceglue at voiceglue.org
> >> http://www.voiceglue.org/mailman/listinfo/voiceglue
> >>
> >>
> >> End of Voiceglue Digest, Vol 20, Issue 6
> >> ****************************************
> >>
> >
> >
> > _______________________________________________
> > Voiceglue mailing list
> > Voiceglue at voiceglue.org
> > http://www.voiceglue.org/mailman/listinfo/voiceglue
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://www.voiceglue.org/pipermail/voiceglue/attachments/20090317/e61c7735/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Voiceglue mailing list
> Voiceglue at voiceglue.org
> http://www.voiceglue.org/mailman/listinfo/voiceglue
>
>
> End of Voiceglue Digest, Vol 20, Issue 7
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.voiceglue.org/pipermail/voiceglue/attachments/20090317/68d9f70d/attachment-0001.html
More information about the Voiceglue
mailing list