]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Support "signaling" in addition to "signalling".
authorRussell Bryant <russell@russellbryant.com>
Fri, 10 Apr 2009 19:26:40 +0000 (19:26 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 10 Apr 2009 19:26:40 +0000 (19:26 +0000)
The sample configuration file has references to both spellings.

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

channels/chan_dahdi.c

index bf78cebd0221cf9a1d4b2e6cb941067770c02934..e1f9e437c4414757099882b8d0cb122e91b2f9de 100644 (file)
@@ -11544,8 +11544,8 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
                        confp->chan.hanguponpolarityswitch = ast_true(v->value);
                } else if (!strcasecmp(v->name, "sendcalleridafter")) {
                        confp->chan.sendcalleridafter = atoi(v->value);
-               } else if (reload != 1)
-                        if (!strcasecmp(v->name, "signalling")) {
+               } else if (reload != 1) {
+                        if (!strcasecmp(v->name, "signalling") || !strcasecmp(v->name, "signaling")) {
                                confp->chan.outsigmod = -1;
                                if (!strcasecmp(v->value, "em")) {
                                        confp->chan.sig = SIG_EM;