mod_voicemail_ivr: Fix a segfault on non authenticated user and changed from 3 to 3000 the dtmf digit wait since it in milisecond
This commit is contained in:
parent
8331f4a0b5
commit
5e4a514531
|
@ -3,7 +3,7 @@
|
|||
<profile name="default">
|
||||
<settings>
|
||||
<param name="IVR-Maximum-Attempts" value="3" />
|
||||
<param name="IVR-Entry-Timeout" value="3" />
|
||||
<param name="IVR-Entry-Timeout" value="3000" />
|
||||
<param name="Record-Format" value="wav" />
|
||||
<!--<param name="Record-Sample-Rate" value="8000" />-->
|
||||
<param name="Record-Silence-Hits" value="4" />
|
||||
|
|
|
@ -93,6 +93,11 @@ void menu_init(vmivr_profile_t *profile, vmivr_menu_t *menu) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!menu->phrase_params) {
|
||||
switch_event_create(&menu->phrase_params, SWITCH_EVENT_REQUEST_PARAMS);
|
||||
}
|
||||
|
||||
end:
|
||||
if (xml)
|
||||
switch_xml_free(xml);
|
||||
|
|
Loading…
Reference in New Issue