The default value for mohinterpret is the empty string, so when resetting to
authorSean Bright <sean@malleable.com>
Fri, 2 Mar 2012 16:00:41 +0000 (16:00 +0000)
committerSean Bright <sean@malleable.com>
Fri, 2 Mar 2012 16:00:41 +0000 (16:00 +0000)
default values don't explicitly set the value to "default."
........

Merged revisions 357811 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 357812 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357813 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index ff95cd7..20114a2 100644 (file)
@@ -13011,7 +13011,7 @@ static void set_config_destroy(void)
 {
        strcpy(accountcode, "");
        strcpy(language, "");
 {
        strcpy(accountcode, "");
        strcpy(language, "");
-       strcpy(mohinterpret, "default");
+       strcpy(mohinterpret, "");
        strcpy(mohsuggest, "");
        trunkmaxsize = MAX_TRUNKDATA;
        amaflags = 0;
        strcpy(mohsuggest, "");
        trunkmaxsize = MAX_TRUNKDATA;
        amaflags = 0;