aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-10 19:26:40 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-10 19:26:40 +0000
commit814e7d80ff97235dc9df11897e6450ee0d845ef8 (patch)
tree92a12bbd554cdce7a2e95fa34c0306aba83693a6
parente26ac1629213d4b6d03917ec59cd47bb0115fb67 (diff)
Support "signaling" in addition to "signalling".
The sample configuration file has references to both spellings. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@187865 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_dahdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index bf78cebd0..e1f9e437c 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -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;