aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_dahdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_dahdi.c')
-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 {