]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add missing enum value "unknown" to the SS7 called_nai and calling_nai config options.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 28 Jul 2010 19:57:49 +0000 (19:57 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 28 Jul 2010 19:57:49 +0000 (19:57 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@280229 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 44928640fcff64c988df116b05a596e6fda9f7a3..b44c70bec0d60102eee3660a11f46646525b46b2 100644 (file)
@@ -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 {