Add a patch for voicemail thanks GerritV for contributing it.

This commit is contained in:
Mark Crane
2014-07-04 05:27:42 +00:00
parent e951b66123
commit b9f44fb80f
2 changed files with 9 additions and 6 deletions

View File

@@ -41,9 +41,9 @@
debug["sql"] = false;
--get the argv values
script_name = argv[0];
voicemail_action = argv[1];
script_name = argv[1];
voicemail_action = argv[2];
--starting values
dtmf_digits = '';
timeouts = 0;
@@ -193,7 +193,7 @@
--send a message waiting event
if (voicemail_action == "mwi") then
--get the mailbox info
account = argv[2];
account = argv[3];
array = explode("@", account);
voicemail_id = array[1];
domain_name = array[2];