diff options
author | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-04-18 19:48:00 +0000 |
---|---|---|
committer | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-04-18 19:48:00 +0000 |
commit | 55d93db9b222ce832556e90ab36113b99b689a58 (patch) | |
tree | eb44038303115230b95e4913d139e41d01d8715e /channels/chan_dahdi.c | |
parent | e294083a12d1397e24fba841130403635f56e4df (diff) |
Problems with ISDN MWI to phones.
The "controlling user number" is always the number of the voice mail box
which is identical with the subscriber number itself. This number which
is listed in the ISDN phone MWI menu cannot be called back to contact the
voice mail box. The controlling user number should be made configurable.
JIRA ABE-2738
JIRA SWP-2846
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@314116 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r-- | channels/chan_dahdi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index b11d114af..6b82bb185 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -12457,6 +12457,9 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf, ast_copy_string(pris[span].pri.mwi_mailboxes, conf->pri.pri.mwi_mailboxes, sizeof(pris[span].pri.mwi_mailboxes)); + ast_copy_string(pris[span].pri.mwi_vm_numbers, + conf->pri.pri.mwi_vm_numbers, + sizeof(pris[span].pri.mwi_vm_numbers)); #endif /* defined(HAVE_PRI_MWI) */ ast_copy_string(pris[span].pri.idledial, conf->pri.pri.idledial, sizeof(pris[span].pri.idledial)); ast_copy_string(pris[span].pri.idleext, conf->pri.pri.idleext, sizeof(pris[span].pri.idleext)); @@ -17511,6 +17514,9 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct } else if (!strcasecmp(v->name, "mwi_mailboxes")) { ast_copy_string(confp->pri.pri.mwi_mailboxes, v->value, sizeof(confp->pri.pri.mwi_mailboxes)); + } else if (!strcasecmp(v->name, "mwi_vm_numbers")) { + ast_copy_string(confp->pri.pri.mwi_vm_numbers, v->value, + sizeof(confp->pri.pri.mwi_vm_numbers)); #endif /* defined(HAVE_PRI_MWI) */ } else if (!strcasecmp(v->name, "append_msn_to_cid_tag")) { confp->pri.pri.append_msn_to_user_tag = ast_true(v->value); |