We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

jsp problem

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
bmatichuk
Posts: 4
Joined: Wed Nov 10, 2004 4:13 pm
Location: Edmonton
Contact:

jsp problem

Post by bmatichuk »

i simplified the grammar to nothing
I made a call and was able to get almost all the way through
but then there was a problem.

when i tried this file on another platform, i had no problems. I cannot imagine what would cause a problem here.

after the last quotesucceed.jsp file, there should be no grammar???



Thu 11 Nov 2004 12:37:15 PM EST:

New call
Beginning tel session
Beginning prompt session
Beginning rec session
Call Start Event: ANII 7804382323 DNIS 3955 VURL http://hosting.plumgroup.com/plumvp/director.vxml
DocumentParser::FetchDocument()
Previously playing audio (if any) has finished
Previously playing audio (if any) has finished
DocumentParser::FetchDocument(http://hosting.plumgroup.com/plumvp/director.vxml)
Attempting to fetch http://hosting.plumgroup.com/plumvp/director.vxml
VXI::var_element(name="dnis" expr = "session.telephone.dnis")
Previously playing audio (if any) has finished
Previously playing audio (if any) has finished
DocumentParser::FetchDocument(director.php)
Posted form data is URL encoded
Attempting to fetch http://hosting.plumgroup.com/plumvp/director.php
http://209.82.100.37:8080/voicestockagent/lesson5.jsp
Previously playing audio (if any) has finished
Previously playing audio (if any) has finished
DocumentParser::FetchDocument(http://209.82.100.37:8080/voicestockagent/lesson5.jsp)
Attempting to fetch http://209.82.100.37:8080/voicestockagent/lesson5.jsp
GrammarManager::CreateGrammarFromString():
---------

<?xml version='1.0'?>
<grammar mode="voice">
buy | sell | pending | holding | history | quote | status
</grammar>

---------

GrammarManager::CreateGrammarFromString():
---------

<?xml version='1.0'?>
<grammar mode="dtmf">
buy | sell | pending | holding | history | quote | status
</grammar>

---------

GrammarManager::CreateGrammarFromString():
---------

<?xml version='1.0'?>
<grammar mode="voice">
(a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z)(a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z)(a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z)[a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z]
</grammar>

---------

GrammarManager::CreateGrammarFromString():
---------

<?xml version='1.0'?>
<grammar mode="dtmf">
(a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z)(a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z)(a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z)[a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z]
</grammar>

---------

VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------


To buy stocks, please say buy.
To sell stocks, please say sell.
To check pending transactions, please say pending.
To check holding stocks, please say holding.
To check transaction history, please say history.
To find a stock quote, please say quote.
To check your status, please say status.


---------


Thu 11 Nov 2004 12:37:16 PM EST:

VXI::field_element - activating grammars for form = 'actions' formitem = 'choice'
VXI::do_recognition()
PromptManager::Play()
Previously playing audio (if any) has finished
Previously playing audio (if any) has finished
Newly queued prompts are now being played


Thu 11 Nov 2004 12:37:21 PM EST:

Saved utterance 0 for DNIS 3955 on channel 0
Found grammar match
hypothesis #1: quote
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------

OK let's find a stock quote.

---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------

Please spell the stock's symbol, letter by letter.

---------
VXI::field_element - activating grammars for form = 'quote' formitem = 'symbol'
VXI::do_recognition()
PromptManager::Play()
Previously playing audio (if any) has finished
Previously playing audio (if any) has finished
Newly queued prompts are now being played


Thu 11 Nov 2004 12:37:30 PM EST:

Saved utterance 1 for DNIS 3955 on channel 0
Found grammar match
hypothesis #1: i a b m
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------

You want to know the quote for
---------
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------
i a b m
---------
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------
.

---------
Previously playing audio (if any) has finished
Newly queued prompts are now being played


Thu 11 Nov 2004 12:37:33 PM EST:

Previously playing audio (if any) has finished
DocumentParser::FetchDocument(http://209.82.100.37:8080/voicestockage ... ucceed.jsp)
Attempting to fetch http://209.82.100.37:8080/voicestockage ... 0a%20b%20m


Thu 11 Nov 2004 12:37:38 PM EST:

VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------



i a b m null was successful. the stock price is about null dollars!

---------
VXI::field_element - activating grammars for form = 'actions' formitem = 'choice'
received event: error.recognition.nogrammars
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------

A serious error of type
---------
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------
error.recognition.nogrammars
---------
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS text/plain;charset=wchar_t for:
---------
has occured. Exiting.
---------
VXI::exit_element()
Previously playing audio (if any) has finished
Newly queued prompts are now being played


Thu 11 Nov 2004 12:37:51 PM EST:

Previously playing audio (if any) has finished
Call End Event
Ending session
Ending Session On Channel 0

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

nothing looked to be wrong with IVR code- not sure of issue

Post by support »

Hi,

Sorry for the delay in responding.

I don't know if you're still having problems, and/or if your IVR code has changed significantly since you first posted your question. I wasn't entirely clear what your IVR issue was (and nothing jumped out at me as blatantly wrong when I looked at your IVR code).

Can you give us an update if you're still having a problem? It might be easier to start a new thread.


Thanks,

Plum Support

Post Reply