Add missing enum value "unknown" to the SS7 called_nai and calling_nai config options.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@280229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Richard Mudgett 16 years ago
parent 4259cb54b9
commit a92ec2969f

@ -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 {

Loading…
Cancel
Save