From: Richard Mudgett Date: Wed, 28 Jul 2010 19:57:49 +0000 (+0000) Subject: Add missing enum value "unknown" to the SS7 called_nai and calling_nai config options. X-Git-Tag: 1.6.2.12-rc1~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a92ec2969ff275d92fce9f2dc166c7d2ccc01c00;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 44928640fc..b44c70bec0 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 {