[asterisk-commits] rmudgett: branch rmudgett/misdn_facility r189390 - /team/rmudgett/misdn_facil...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 20 14:01:40 CDT 2009


Author: rmudgett
Date: Mon Apr 20 14:01:37 2009
New Revision: 189390

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189390
Log:
Minor comment and spacing changes.

Modified:
    team/rmudgett/misdn_facility/channels/chan_misdn.c

Modified: team/rmudgett/misdn_facility/channels/chan_misdn.c
URL: http://svn.digium.com/svn-view/asterisk/team/rmudgett/misdn_facility/channels/chan_misdn.c?view=diff&rev=189390&r1=189389&r2=189390
==============================================================================
--- team/rmudgett/misdn_facility/channels/chan_misdn.c (original)
+++ team/rmudgett/misdn_facility/channels/chan_misdn.c Mon Apr 20 14:01:37 2009
@@ -132,7 +132,6 @@
 /* BEGIN: chan_misdn.h */
 
 #if defined(AST_MISDN_ENHANCEMENTS)
-
 /*
  * This timeout duration is to clean up any call completion records that
  * are forgotten about by the switch.
@@ -144,6 +143,7 @@
 /*!
  * \brief Caller that initialized call completion services
  *
+ * \details
  * This data is the payload for a datastore that is put on the channel that
  * initializes call completion services.  This datastore is set to be inherited
  * by the outbound mISDN channel.  When one of these channels hangs up, the
@@ -840,11 +840,11 @@
  * \return nothing
  */
 static void misdn_cc_set_peer_var(struct misdn_cc_caller *peer, const char *var,
-		const char *value)
+	const char *value)
 {
 	ao2_lock(peer);
 
-	/* XXX This nastiness can go away once ast_channel is ref counted! */
+	/*! \todo XXX This nastiness can go away once ast_channel is ref counted! */
 	while (peer->chan && ast_channel_trylock(peer->chan)) {
 		ao2_unlock(peer);
 		sched_yield();
@@ -6279,7 +6279,7 @@
 #if defined(AST_MISDN_ENHANCEMENTS)
 	if ((ch->peer = misdn_cc_caller_get(ast))) {
 		chan_misdn_log(3, port, " --> Found CC caller data, peer:%s\n",
-				ch->peer->chan ? "available" : "NULL");
+			ch->peer->chan ? "available" : "NULL");
 	}
 
 	if (ch->record_id != -1) {
@@ -6389,11 +6389,14 @@
 			/* Create DivertingLegInformation2 facility */
 			newbc->fac_out.Function = Fac_DivertingLegInformation2;
 			newbc->fac_out.u.DivertingLegInformation2.InvokeID = ++misdn_invoke_id;
-			newbc->fac_out.u.DivertingLegInformation2.DiversionCounter = newbc->redirecting.count;
+			newbc->fac_out.u.DivertingLegInformation2.DiversionCounter =
+				newbc->redirecting.count;
 			newbc->fac_out.u.DivertingLegInformation2.DiversionReason =
 				misdn_to_diversion_reason(newbc->redirecting.reason);
 			newbc->fac_out.u.DivertingLegInformation2.DivertingPresent = 1;
-			misdn_PresentedNumberUnscreened_fill(&newbc->fac_out.u.DivertingLegInformation2.Diverting, &newbc->redirecting.from);
+			misdn_PresentedNumberUnscreened_fill(
+				&newbc->fac_out.u.DivertingLegInformation2.Diverting,
+				&newbc->redirecting.from);
 			newbc->fac_out.u.DivertingLegInformation2.OriginalCalledPresent = 0;
 		}
 #endif	/* defined(AST_MISDN_ENHANCEMENTS) */
@@ -6767,7 +6770,7 @@
 		p->state == MISDN_HOLDED ||
 		p->state == MISDN_HOLD_DISCONNECT) {
 
-		CLEAN_CH:
+CLEAN_CH:
 		/* between request and call */
 		ast_debug(1, "State Reserved (or nothing) => chanIsAvail\n");
 		MISDN_ASTERISK_TECH_PVT(ast) = NULL;




More information about the asterisk-commits mailing list