Outbound Call Delays
Posted: Thu Oct 16, 2008 10:51 am
We are experiencing excessive delays at the beginning of outbound calls, on the order of 10 to 11 seconds. I suspect this is due to callee_type detection, but I need to know what, if anything, we can do to reduce the delay.
The code I am using is below:
Please note that I removed the finalsilence attribute from the record tag, in an attempt to reduce the delay. This did not help.
Validate URL: http://EMRTest.INSitebiz.com/PhoneRemin ... ssing.aspx
This document is valid VoiceXML
Document:
1 <?xml version="1.0" ?>
2 <!DOCTYPE vxml PUBLIC "-//The Plum Group//DTD VOICEXML 2.1//EN" "/usr/local/plumvp/vxml.dtd">
3 <vxml version="2.0">
4 <property name="inputmodes" value="dtmf"/>
5 <property name="voicename" value="lauren"/>
6 <form id="mainmenu">
7 <var name="callee_type" expr="'answeringmachine'"/>
8 <record cond="callee_type=='answeringmachine'">
9 <noinput>
10 <prompt>
11 <voice name="lauren">
12 <prosody rate="-10%">
13 Hello. This is Dr. xxx's office calling to remind
14 (patient name fills in here)
15 of your appointment on Monday, <say-as type="date">12:00:00 AM</say-as> at <say-as type="time">12:00:00 AM</say-as>
16 at our (clinic name fills in here) clinic.
17 </prosody>
18 </voice>
19 </prompt>
20 <disconnect/>
21 <exit/>
22 </noinput>
23 </record>
24 <field name="menuchoice">
25 <grammar type="application/x-jsgf" mode="dtmf">
26 1|2|3|4|5
27 </grammar>
28 <prompt>
29 <voice name="lauren">
30 <prosody rate="-10%">
31 Hello. This is Dr. xxx's office calling to remind
32 (patient name fills in here)
33 of your appointment on Monday, <say-as type="date">12:00:00 AM</say-as> at <say-as type="time">12:00:00 AM</say-as>
34 in our (clinic name fills in here) clinic.
35 Please press 1 to confirm this appointment, 2 to Reschedule this appointment, 3 to cancel this appointment, 4 to speak to a clinic staff member and 5 to repeat these options.</prosody>
36 </voice>
37 </prompt>
38 <filled>
39 <if cond="menuchoice==1">
40 <prompt bargein="false">
41 <voice name="lauren">
42 <prosody rate="-10%">
43 Your appointment has been confirmed. We look forward to seeing you at our (clinic name fills in here) clinic on Monday, <say-as type="date">12:00:00 AM</say-as> at <say-as type="time">12:00:00 AM</say-as>.
44 </prosody>
45 </voice>
46 </prompt>
47 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
48 <elseif cond="menuchoice==2"/>
49 <prompt bargein="false">
50 <voice name="lauren">
51 <prosody rate="-10%">
52 Please hold while you are transferred to the next available staff member to reschedule your appointment. We appreciate your patience.
53 </prosody>
54 </voice>
55 </prompt>
56 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
57 <elseif cond="menuchoice==3"/>
58 <prompt bargein="false">
59 <voice name="lauren">
60 <prosody rate="-10%">
61 The appointment has been cancelled. Your success is important to us. A staff member will be contacting you soon to reschedule. Thank you.
62 </prosody>
63 </voice>
64 </prompt>
65 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
66 <elseif cond="menuchoice==4"/>
67 <prompt bargein="false">
68 <voice name="lauren">
69 <prosody rate="-10%">
70 Please hold while you are transferred to the next available staff member to reschedule your appointment. We appreciate your patience.
71 </prosody>
72 </voice>
73 </prompt>
74 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
75 <elseif cond="menuchoice==5"/>
76 <clear namelist="menuchoice"/>
77 <reprompt/>
78 </if>
79 </filled>
80 <noinput>
81 <reprompt/>
82 </noinput>
83 <nomatch>
84 <prompt>
85 <voice name="lauren">
86 <prosody rate="-10%">
87 Input not recognized.
88 </prosody>
89 </voice>
90 </prompt>
91 <reprompt/>
92 </nomatch>
93 </field>
94 <catch event="connection.disconnect">
95 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
96 </catch>
97 </form>
98 </vxml>
99
The code I am using is below:
Please note that I removed the finalsilence attribute from the record tag, in an attempt to reduce the delay. This did not help.
Validate URL: http://EMRTest.INSitebiz.com/PhoneRemin ... ssing.aspx
This document is valid VoiceXML
Document:
1 <?xml version="1.0" ?>
2 <!DOCTYPE vxml PUBLIC "-//The Plum Group//DTD VOICEXML 2.1//EN" "/usr/local/plumvp/vxml.dtd">
3 <vxml version="2.0">
4 <property name="inputmodes" value="dtmf"/>
5 <property name="voicename" value="lauren"/>
6 <form id="mainmenu">
7 <var name="callee_type" expr="'answeringmachine'"/>
8 <record cond="callee_type=='answeringmachine'">
9 <noinput>
10 <prompt>
11 <voice name="lauren">
12 <prosody rate="-10%">
13 Hello. This is Dr. xxx's office calling to remind
14 (patient name fills in here)
15 of your appointment on Monday, <say-as type="date">12:00:00 AM</say-as> at <say-as type="time">12:00:00 AM</say-as>
16 at our (clinic name fills in here) clinic.
17 </prosody>
18 </voice>
19 </prompt>
20 <disconnect/>
21 <exit/>
22 </noinput>
23 </record>
24 <field name="menuchoice">
25 <grammar type="application/x-jsgf" mode="dtmf">
26 1|2|3|4|5
27 </grammar>
28 <prompt>
29 <voice name="lauren">
30 <prosody rate="-10%">
31 Hello. This is Dr. xxx's office calling to remind
32 (patient name fills in here)
33 of your appointment on Monday, <say-as type="date">12:00:00 AM</say-as> at <say-as type="time">12:00:00 AM</say-as>
34 in our (clinic name fills in here) clinic.
35 Please press 1 to confirm this appointment, 2 to Reschedule this appointment, 3 to cancel this appointment, 4 to speak to a clinic staff member and 5 to repeat these options.</prosody>
36 </voice>
37 </prompt>
38 <filled>
39 <if cond="menuchoice==1">
40 <prompt bargein="false">
41 <voice name="lauren">
42 <prosody rate="-10%">
43 Your appointment has been confirmed. We look forward to seeing you at our (clinic name fills in here) clinic on Monday, <say-as type="date">12:00:00 AM</say-as> at <say-as type="time">12:00:00 AM</say-as>.
44 </prosody>
45 </voice>
46 </prompt>
47 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
48 <elseif cond="menuchoice==2"/>
49 <prompt bargein="false">
50 <voice name="lauren">
51 <prosody rate="-10%">
52 Please hold while you are transferred to the next available staff member to reschedule your appointment. We appreciate your patience.
53 </prosody>
54 </voice>
55 </prompt>
56 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
57 <elseif cond="menuchoice==3"/>
58 <prompt bargein="false">
59 <voice name="lauren">
60 <prosody rate="-10%">
61 The appointment has been cancelled. Your success is important to us. A staff member will be contacting you soon to reschedule. Thank you.
62 </prosody>
63 </voice>
64 </prompt>
65 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
66 <elseif cond="menuchoice==4"/>
67 <prompt bargein="false">
68 <voice name="lauren">
69 <prosody rate="-10%">
70 Please hold while you are transferred to the next available staff member to reschedule your appointment. We appreciate your patience.
71 </prosody>
72 </voice>
73 </prompt>
74 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
75 <elseif cond="menuchoice==5"/>
76 <clear namelist="menuchoice"/>
77 <reprompt/>
78 </if>
79 </filled>
80 <noinput>
81 <reprompt/>
82 </noinput>
83 <nomatch>
84 <prompt>
85 <voice name="lauren">
86 <prosody rate="-10%">
87 Input not recognized.
88 </prosody>
89 </voice>
90 </prompt>
91 <reprompt/>
92 </nomatch>
93 </field>
94 <catch event="connection.disconnect">
95 <submit next="http://EMRTest.INSitebiz.com/PhoneRemin ... &call_id=0" method="get" namelist="menuchoice"/>
96 </catch>
97 </form>
98 </vxml>
99