[asterisk-commits] rmudgett: branch rmudgett/sig_ss7 r263201 - /team/rmudgett/sig_ss7/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 14 17:13:23 CDT 2010


Author: rmudgett
Date: Fri May 14 17:13:19 2010
New Revision: 263201

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=263201
Log:
Whitespace clean up.

Modified:
    team/rmudgett/sig_ss7/channels/chan_dahdi.c
    team/rmudgett/sig_ss7/channels/sig_ss7.c

Modified: team/rmudgett/sig_ss7/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/sig_ss7/channels/chan_dahdi.c?view=diff&rev=263201&r1=263200&r2=263201
==============================================================================
--- team/rmudgett/sig_ss7/channels/chan_dahdi.c (original)
+++ team/rmudgett/sig_ss7/channels/chan_dahdi.c Fri May 14 17:13:19 2010
@@ -16438,8 +16438,8 @@
 					confp->ss7.ss7.called_nai = SS7_NAI_INTERNATIONAL;
 				} else if (!strcasecmp(v->value, "subscriber")) {
 					confp->ss7.ss7.called_nai = SS7_NAI_SUBSCRIBER;
-	 			} else if (!strcasecmp(v->value, "dynamic")) {
- 					confp->ss7.ss7.called_nai = SS7_NAI_DYNAMIC;
+				} else if (!strcasecmp(v->value, "dynamic")) {
+					confp->ss7.ss7.called_nai = SS7_NAI_DYNAMIC;
 				} else {
 					ast_log(LOG_WARNING, "Unknown SS7 called_nai '%s' at line %d.\n", v->value, v->lineno);
 				}

Modified: team/rmudgett/sig_ss7/channels/sig_ss7.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/sig_ss7/channels/sig_ss7.c?view=diff&rev=263201&r1=263200&r2=263201
==============================================================================
--- team/rmudgett/sig_ss7/channels/sig_ss7.c (original)
+++ team/rmudgett/sig_ss7/channels/sig_ss7.c Fri May 14 17:13:19 2010
@@ -737,7 +737,7 @@
 				ss7_block_cics(linkset, e->gra.startcic, e->gra.endcic, e->gra.opc, e->gra.status, 1);
 				break;
 			case ISUP_EVENT_IAM:
- 				ast_debug(1, "Got IAM for CIC %d and called number %s, calling number %s\n", e->iam.cic, e->iam.called_party_num, e->iam.calling_party_num);
+				ast_debug(1, "Got IAM for CIC %d and called number %s, calling number %s\n", e->iam.cic, e->iam.called_party_num, e->iam.calling_party_num);
 				chanpos = ss7_find_cic(linkset, e->iam.cic, e->iam.opc);
 				if (chanpos < 0) {
 					ast_log(LOG_WARNING, "IAM on unconfigured CIC %d\n", e->iam.cic);
@@ -925,24 +925,24 @@
 				}
 				break;
 			case ISUP_EVENT_CGB:
- 				chanpos = ss7_find_cic(linkset, e->cgb.startcic, e->cgb.opc);
- 				if (chanpos < 0) {
- 					ast_log(LOG_WARNING, "CGB on unconfigured CIC %d\n", e->cgb.startcic);
- 					break;
- 				}
- 				p = linkset->pvts[chanpos];
+				chanpos = ss7_find_cic(linkset, e->cgb.startcic, e->cgb.opc);
+				if (chanpos < 0) {
+					ast_log(LOG_WARNING, "CGB on unconfigured CIC %d\n", e->cgb.startcic);
+					break;
+				}
+				p = linkset->pvts[chanpos];
 				ss7_block_cics(linkset, e->cgb.startcic, e->cgb.endcic, e->cgb.opc, e->cgb.status, 1);
- 				isup_cgba(linkset->ss7, e->cgb.startcic, e->cgb.endcic, e->cgb.opc, e->cgb.status, e->cgb.type);
+				isup_cgba(linkset->ss7, e->cgb.startcic, e->cgb.endcic, e->cgb.opc, e->cgb.status, e->cgb.type);
 				break;
 			case ISUP_EVENT_CGU:
- 				chanpos = ss7_find_cic(linkset, e->cgu.startcic, e->cgu.opc);
- 				if (chanpos < 0) {
- 					ast_log(LOG_WARNING, "CGU on unconfigured CIC %d\n", e->cgu.startcic);
- 					break;
- 				}
- 				p = linkset->pvts[chanpos];
+				chanpos = ss7_find_cic(linkset, e->cgu.startcic, e->cgu.opc);
+				if (chanpos < 0) {
+					ast_log(LOG_WARNING, "CGU on unconfigured CIC %d\n", e->cgu.startcic);
+					break;
+				}
+				p = linkset->pvts[chanpos];
 				ss7_block_cics(linkset, e->cgu.startcic, e->cgu.endcic, e->cgu.opc, e->cgu.status, 0);
- 				isup_cgua(linkset->ss7, e->cgu.startcic, e->cgu.endcic, e->cgu.opc, e->cgu.status, e->cgu.type);
+				isup_cgua(linkset->ss7, e->cgu.startcic, e->cgu.endcic, e->cgu.opc, e->cgu.status, e->cgu.type);
 				break;
 			case ISUP_EVENT_UCIC:
 				chanpos = ss7_find_cic(linkset, e->ucic.cic, e->ucic.opc);




More information about the asterisk-commits mailing list