aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-28 19:57:49 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-28 19:57:49 +0000
commit8a9a837eeab011107fe07824bf074ff3471952af (patch)
tree63706e9766136e74a2e1538a7999bf771d9d2d15 /channels
parent814aba3a88e4d22b85b16eabf9f1391787e7e379 (diff)
Add missing enum value "unknown" to the SS7 called_nai and calling_nai config options.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@280229 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_dahdi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 44928640f..b44c70bec 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -16895,6 +16895,8 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
confp->ss7.called_nai = SS7_NAI_INTERNATIONAL;
} else if (!strcasecmp(v->value, "subscriber")) {
confp->ss7.called_nai = SS7_NAI_SUBSCRIBER;
+ } else if (!strcasecmp(v->value, "unknown")) {
+ confp->ss7.called_nai = SS7_NAI_UNKNOWN;
} else if (!strcasecmp(v->value, "dynamic")) {
confp->ss7.called_nai = SS7_NAI_DYNAMIC;
} else {
@@ -16907,6 +16909,8 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
confp->ss7.calling_nai = SS7_NAI_INTERNATIONAL;
} else if (!strcasecmp(v->value, "subscriber")) {
confp->ss7.calling_nai = SS7_NAI_SUBSCRIBER;
+ } else if (!strcasecmp(v->value, "unknown")) {
+ confp->ss7.calling_nai = SS7_NAI_UNKNOWN;
} else if (!strcasecmp(v->value, "dynamic")) {
confp->ss7.calling_nai = SS7_NAI_DYNAMIC;
} else {