Because these tend to happen at very odd hours, our prompts are done with
" to prevent groggy users from assuming they know why the call occurred, and pressing 7 to acknowledge the event and hangup without listening to the message.bargein="false
The possible key presses are declared in a pretty simple form... python snippet below. I could get an actual filled in example if people needed.
Code: Select all
<form id="alarm_info">
<field name="response">
<grammar type="application/x-jsgf">1|7|8|9</grammar>
<prompt timeout="6s" bargein="false">
<!-- The outbound call I-D is <value expr="ob_id"/>. -->
%(final_text)s
Press one to hear the alarm information again,
press nine to acknowledge the alarm and end this call,
press seven to acknowledge all recent alarms at this site,
or press eight or just hang up to end this call without
acknowledging the alarm.
</prompt>
<filled>
<if cond="response==1">
<goto next="#alarm_info"/>
<elseif cond="response==7"/>
<submit next="%(OUTBOUND_ACK_URL)s" method="get" namelist="ob_id ack_all"/>
<elseif cond="response==8"/>
<goto next="#bye"/>
<elseif cond="response==9"/>
<submit next="%(OUTBOUND_ACK_URL)s" method="get" namelist="ob_id ack"/>
</if>
</filled>
</field>
</form>
1 ) Sometimes we have issues with our users hitting the button too early or late in the system, and I'd like to fix that while still disallowing bargein, but aren't really sure how to go about it.
2) The *real* problem: Recently we've had a series of calls in which users claim they're unable to acknowledge any alarms--we're not getting 7 or 9--submits just aren't happening to the outbound_ack URL.
Is there any way I can get a better call log to debug/troubleshoot what's going on here? I've got 500 calls a day on my main system and can't reproduce it during testing--so the call log is useless to me.
I'd like to get a record of *any* button hit in the call and the time they press it. Also--are there perhaps application settings that need to be configured to cause the system to detect more of the presses or something else likely to be misconfigured?
[/code]