diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-09-02 18:17:42 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-09-02 18:17:42 +0000 |
commit | d99bc32d1c03b7aba43594c0f56ad91a3005cb98 (patch) | |
tree | 2be42093d792e4a0ee6b3d91fa5969ae56b65270 | |
parent | a583e6015b5f9c5b2e23b6e6639a7721b4aab37f (diff) |
Merged revisions 140606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r140606 | seanbright | 2008-09-02 14:15:54 -0400 (Tue, 02 Sep 2008) | 16 lines
Merged revisions 140605 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r140605 | seanbright | 2008-09-02 14:14:57 -0400 (Tue, 02 Sep 2008) | 8 lines
Make sure to use the correct length of the mohinterpret and mohsuggest
buffers when copying configuration values.
(closes issue #13336)
Reported by: decryptus_proformatique
Patches:
chan_iax2_mohinterpret_mohsuggest_general_settings.patch uploaded by decryptus (license 555)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@140607 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_iax2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 16bd75d71..ea45d7a82 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -11054,9 +11054,9 @@ static int set_config(char *config_file, int reload) } else if (!strcasecmp(v->name, "accountcode")) { ast_copy_string(accountcode, v->value, sizeof(accountcode)); } else if (!strcasecmp(v->name, "mohinterpret")) { - ast_copy_string(mohinterpret, v->value, sizeof(user->mohinterpret)); + ast_copy_string(mohinterpret, v->value, sizeof(mohinterpret)); } else if (!strcasecmp(v->name, "mohsuggest")) { - ast_copy_string(mohsuggest, v->value, sizeof(user->mohsuggest)); + ast_copy_string(mohsuggest, v->value, sizeof(mohsuggest)); } else if (!strcasecmp(v->name, "amaflags")) { format = ast_cdr_amaflags2int(v->value); if (format < 0) { |