[asterisk-commits] rmudgett: branch 1.6.2 r280229 - /branches/1.6.2/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 28 14:57:53 CDT 2010


Author: rmudgett
Date: Wed Jul 28 14:57:49 2010
New Revision: 280229

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=280229
Log:
Add missing enum value "unknown" to the SS7 called_nai and calling_nai config options.

Modified:
    branches/1.6.2/channels/chan_dahdi.c

Modified: branches/1.6.2/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_dahdi.c?view=diff&rev=280229&r1=280228&r2=280229
==============================================================================
--- branches/1.6.2/channels/chan_dahdi.c (original)
+++ branches/1.6.2/channels/chan_dahdi.c Wed Jul 28 14:57:49 2010
@@ -16895,6 +16895,8 @@
 					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 @@
 					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 {




More information about the asterisk-commits mailing list