mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 13:35:00 +00:00
don't use operator key when no operator ext is configured
This commit is contained in:
parent
64f58f2d67
commit
a0c78de27d
@ -3042,7 +3042,7 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, vm_p
|
|||||||
greet_key_press:
|
greet_key_press:
|
||||||
if (switch_stristr(buf, profile->login_keys)) {
|
if (switch_stristr(buf, profile->login_keys)) {
|
||||||
voicemail_check_main(session, profile, domain_name, id, 0);
|
voicemail_check_main(session, profile, domain_name, id, 0);
|
||||||
} else if (!strcasecmp(buf, profile->operator_key) && !zstr(profile->operator_key)) {
|
} else if (!zstr(profile->operator_ext) && !zstr(profile->operator_key) && !strcasecmp(buf, profile->operator_key) ) {
|
||||||
int argc;
|
int argc;
|
||||||
char *argv[4];
|
char *argv[4];
|
||||||
char *mycmd;
|
char *mycmd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user