[asterisk-commits] rmudgett: branch rmudgett/cid r269928 - in /team/rmudgett/cid: apps/ channels...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 10 18:21:20 CDT 2010


Author: rmudgett
Date: Thu Jun 10 18:21:16 2010
New Revision: 269928

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=269928
Log:
Red spots and since 1.8 comment changes.

Modified:
    team/rmudgett/cid/apps/app_setcallerid.c
    team/rmudgett/cid/channels/chan_misdn.c
    team/rmudgett/cid/include/asterisk/channel.h

Modified: team/rmudgett/cid/apps/app_setcallerid.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/cid/apps/app_setcallerid.c?view=diff&rev=269928&r1=269927&r2=269928
==============================================================================
--- team/rmudgett/cid/apps/app_setcallerid.c (original)
+++ team/rmudgett/cid/apps/app_setcallerid.c Thu Jun 10 18:21:16 2010
@@ -105,7 +105,7 @@
 		return 0;
 	}
 	
-	/* Set the combined caller id presentation. */	
+	/* Set the combined caller id presentation. */
 	chan->caller.id.XXX_name.presentation = pres;
 	chan->caller.id.XXX_number.presentation = pres;
 	return 0;

Modified: team/rmudgett/cid/channels/chan_misdn.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/cid/channels/chan_misdn.c?view=diff&rev=269928&r1=269927&r2=269928
==============================================================================
--- team/rmudgett/cid/channels/chan_misdn.c (original)
+++ team/rmudgett/cid/channels/chan_misdn.c Thu Jun 10 18:21:16 2010
@@ -7123,7 +7123,7 @@
  					char context_tmp[BUFFERSIZE];
  					misdn_cfg_get(tmp->bc->port, MISDN_CFG_FAXDETECT_CONTEXT, &context_tmp, sizeof(context_tmp));
  					context = ast_strlen_zero(context_tmp) ? (ast_strlen_zero(ast->macrocontext) ? ast->context : ast->macrocontext) : context_tmp;
- 					if (ast_exists_extension(ast, context, "fax", 1,
+					if (ast_exists_extension(ast, context, "fax", 1,
 						S_COR(ast->caller.id.XXX_number.valid, ast->caller.id.XXX_number.str, NULL))) {
  						ast_verb(3, "Redirecting %s to fax extension (context:%s)\n", ast->name, context);
   						/* Save the DID/DNIS when we transfer the fax call to a "fax" extension */

Modified: team/rmudgett/cid/include/asterisk/channel.h
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/cid/include/asterisk/channel.h?view=diff&rev=269928&r1=269927&r2=269928
==============================================================================
--- team/rmudgett/cid/include/asterisk/channel.h (original)
+++ team/rmudgett/cid/include/asterisk/channel.h Thu Jun 10 18:21:16 2010
@@ -1973,8 +1973,8 @@
 void ast_set_callerid(struct ast_channel *chan, const char *cid_num, const char *cid_name, const char *cid_ani);
 
 /*!
- * \since 1.8
  * \brief Set the caller id information in the Asterisk channel
+ * \since 1.8
  *
  * \param chan Asterisk channel to set caller id information
  * \param caller Caller id information
@@ -1987,9 +1987,9 @@
 void ast_channel_set_caller(struct ast_channel *chan, const struct ast_party_caller *caller, const struct ast_set_party_caller *update);
 
 /*!
- * \since 1.8
  * \brief Set the caller id information in the Asterisk channel and generate an AMI event
  * if the caller id name or number changed.
+ * \since 1.8
  *
  * \param chan Asterisk channel to set caller id information
  * \param caller Caller id information
@@ -2501,8 +2501,8 @@
 
 
 /*!
- * \since 1.8
  * \brief Initialize the given name structure.
+ * \since 1.8
  *
  * \param init Name structure to initialize.
  *
@@ -2511,8 +2511,8 @@
 void ast_party_name_init(struct ast_party_name *init);
 
 /*!
- * \since 1.8
  * \brief Copy the source party name information to the destination party name.
+ * \since 1.8
  *
  * \param dest Destination party name
  * \param src Source party name
@@ -2522,9 +2522,9 @@
 void ast_party_name_copy(struct ast_party_name *dest, const struct ast_party_name *src);
 
 /*!
- * \since 1.8
  * \brief Initialize the given party name structure using the given guide
  * for a set update operation.
+ * \since 1.8
  *
  * \details
  * The initialization is needed to allow a set operation to know if a
@@ -2541,8 +2541,8 @@
 void ast_party_name_set_init(struct ast_party_name *init, const struct ast_party_name *guide);
 
 /*!
- * \since 1.8
  * \brief Set the source party name information into the destination party name.
+ * \since 1.8
  *
  * \param dest The name one wishes to update
  * \param src The new name values to update the dest
@@ -2552,8 +2552,8 @@
 void ast_party_name_set(struct ast_party_name *dest, const struct ast_party_name *src);
 
 /*!
- * \since 1.8
  * \brief Destroy the party name contents
+ * \since 1.8
  *
  * \param doomed The party name to destroy.
  *
@@ -2562,8 +2562,8 @@
 void ast_party_name_free(struct ast_party_name *doomed);
 
 /*!
- * \since 1.8
  * \brief Initialize the given number structure.
+ * \since 1.8
  *
  * \param init Number structure to initialize.
  *
@@ -2572,8 +2572,8 @@
 void ast_party_number_init(struct ast_party_number *init);
 
 /*!
- * \since 1.8
  * \brief Copy the source party number information to the destination party number.
+ * \since 1.8
  *
  * \param dest Destination party number
  * \param src Source party number
@@ -2583,9 +2583,9 @@
 void ast_party_number_copy(struct ast_party_number *dest, const struct ast_party_number *src);
 
 /*!
- * \since 1.8
  * \brief Initialize the given party number structure using the given guide
  * for a set update operation.
+ * \since 1.8
  *
  * \details
  * The initialization is needed to allow a set operation to know if a
@@ -2602,8 +2602,8 @@
 void ast_party_number_set_init(struct ast_party_number *init, const struct ast_party_number *guide);
 
 /*!
- * \since 1.8
  * \brief Set the source party number information into the destination party number.
+ * \since 1.8
  *
  * \param dest The number one wishes to update
  * \param src The new number values to update the dest
@@ -2613,8 +2613,8 @@
 void ast_party_number_set(struct ast_party_number *dest, const struct ast_party_number *src);
 
 /*!
- * \since 1.8
  * \brief Destroy the party number contents
+ * \since 1.8
  *
  * \param doomed The party number to destroy.
  *
@@ -2685,6 +2685,7 @@
 
 /*!
  * \brief Initialize the given party id structure.
+ * \since 1.8
  *
  * \param init Party id structure to initialize.
  *
@@ -2694,6 +2695,7 @@
 
 /*!
  * \brief Copy the source party id information to the destination party id.
+ * \since 1.8
  *
  * \param dest Destination party id
  * \param src Source party id
@@ -2705,6 +2707,7 @@
 /*!
  * \brief Initialize the given party id structure using the given guide
  * for a set update operation.
+ * \since 1.8
  *
  * \details
  * The initialization is needed to allow a set operation to know if a
@@ -2722,6 +2725,7 @@
 
 /*!
  * \brief Set the source party id information into the destination party id.
+ * \since 1.8
  *
  * \param dest The id one wishes to update
  * \param src The new id values to update the dest
@@ -2733,6 +2737,7 @@
 
 /*!
  * \brief Destroy the party id contents
+ * \since 1.8
  *
  * \param doomed The party id to destroy.
  *
@@ -2751,8 +2756,8 @@
 int ast_party_id_presentation(const struct ast_party_id *id);
 
 /*!
- * \since 1.8
  * \brief Initialize the given dialed structure.
+ * \since 1.8
  *
  * \param init Dialed structure to initialize.
  *
@@ -2762,6 +2767,7 @@
 
 /*!
  * \brief Copy the source dialed party information to the destination dialed party.
+ * \since 1.8
  *
  * \param dest Destination dialed party
  * \param src Source dialed party
@@ -2771,9 +2777,9 @@
 void ast_party_dialed_copy(struct ast_party_dialed *dest, const struct ast_party_dialed *src);
 
 /*!
- * \since 1.8
  * \brief Initialize the given dialed structure using the given
  * guide for a set update operation.
+ * \since 1.8
  *
  * \details
  * The initialization is needed to allow a set operation to know if a
@@ -2790,8 +2796,8 @@
 void ast_party_dialed_set_init(struct ast_party_dialed *init, const struct ast_party_dialed *guide);
 
 /*!
- * \since 1.8
  * \brief Set the dialed information based on another dialed source
+ * \since 1.8
  *
  * This is similar to ast_party_dialed_copy, except that NULL values for
  * strings in the src parameter indicate not to update the corresponding dest values.
@@ -2804,8 +2810,8 @@
 void ast_party_dialed_set(struct ast_party_dialed *dest, const struct ast_party_dialed *src);
 
 /*!
- * \since 1.8
  * \brief Destroy the dialed party contents
+ * \since 1.8
  *
  * \param doomed The dialed party to destroy.
  *
@@ -2835,9 +2841,9 @@
 void ast_party_caller_copy(struct ast_party_caller *dest, const struct ast_party_caller *src);
 
 /*!
- * \since 1.8
  * \brief Initialize the given caller structure using the given
  * guide for a set update operation.
+ * \since 1.8
  *
  * \details
  * The initialization is needed to allow a set operation to know if a
@@ -2854,8 +2860,8 @@
 void ast_party_caller_set_init(struct ast_party_caller *init, const struct ast_party_caller *guide);
 
 /*!
- * \since 1.8
  * \brief Set the caller information based on another caller source
+ * \since 1.8
  *
  * This is similar to ast_party_caller_copy, except that NULL values for
  * strings in the src parameter indicate not to update the corresponding dest values.
@@ -2869,8 +2875,8 @@
 void ast_party_caller_set(struct ast_party_caller *dest, const struct ast_party_caller *src, const struct ast_set_party_caller *update);
 
 /*!
- * \since 1.8
  * \brief Destroy the caller party contents
+ * \since 1.8
  *
  * \param doomed The caller party to destroy.
  *
@@ -2959,8 +2965,8 @@
 void ast_party_connected_line_free(struct ast_party_connected_line *doomed);
 
 /*!
- * \since 1.8
  * \brief Initialize the given redirecting structure.
+ * \since 1.8
  *
  * \param init Redirecting structure to initialize.
  *
@@ -2999,8 +3005,8 @@
 void ast_party_redirecting_set_init(struct ast_party_redirecting *init, const struct ast_party_redirecting *guide);
 
 /*!
- * \since 1.8
  * \brief Set the redirecting information based on another redirecting source
+ * \since 1.8
  *
  * This is similar to ast_party_redirecting_copy, except that NULL values for
  * strings in the src parameter indicate not to update the corresponding dest values.




More information about the asterisk-commits mailing list