mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-10 02:28:47 +00:00
Change alternate greeting id data type to text (#7692)
Using text allows the + and leading 0
This commit is contained in:
@@ -450,7 +450,7 @@
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the greeting id.";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_alternate_greet_id";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Used to provide an alternate id for the voicemail announcement.";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_recording_instructions";
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
$array['voicemails'][0]['voicemail_id'] = $voicemail_id;
|
||||
$array['voicemails'][0]['voicemail_password'] = $voicemail_password;
|
||||
$array['voicemails'][0]['greeting_id'] = $greeting_id != '' ? $greeting_id : null;
|
||||
$array['voicemails'][0]['voicemail_alternate_greet_id'] = $voicemail_alternate_greet_id != '' ? $voicemail_alternate_greet_id : null;
|
||||
$array['voicemails'][0]['voicemail_alternate_greet_id'] = $voicemail_alternate_greet_id != '' ? preg_replace('/[^0-9+]/', '', $voicemail_alternate_greet_id) : null;
|
||||
$array['voicemails'][0]['voicemail_mail_to'] = $voicemail_mail_to;
|
||||
$array['voicemails'][0]['voicemail_sms_to'] = $voicemail_sms_to;
|
||||
$array['voicemails'][0]['voicemail_transcription_enabled'] = $voicemail_transcription_enabled;
|
||||
|
||||
Reference in New Issue
Block a user