[asterisk-commits] dvossel: branch dvossel/sip_request_transaction_matching r276752 - /team/dvos...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 15 14:21:41 CDT 2010


Author: dvossel
Date: Thu Jul 15 14:21:37 2010
New Revision: 276752

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276752
Log:
request to dialog matching fuction documentation

Modified:
    team/dvossel/sip_request_transaction_matching/channels/chan_sip.c

Modified: team/dvossel/sip_request_transaction_matching/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/sip_request_transaction_matching/channels/chan_sip.c?view=diff&rev=276752&r1=276751&r2=276752
==============================================================================
--- team/dvossel/sip_request_transaction_matching/channels/chan_sip.c (original)
+++ team/dvossel/sip_request_transaction_matching/channels/chan_sip.c Thu Jul 15 14:21:37 2010
@@ -7103,12 +7103,7 @@
 	return p;
 }
 
-enum match_req_res {
-	SIP_REQ_MATCH,
-	SIP_REQ_NOT_MATCH,
-	SIP_REQ_LOOP_DETECTED,
-};
-
+/* \brief arguments used for Request/Response to matching */
 struct match_req_args {
 	int method;
 	const char *callid;
@@ -7122,6 +7117,17 @@
 	const char *viasentby;
 };
 
+enum match_req_res {
+	SIP_REQ_MATCH,
+	SIP_REQ_NOT_MATCH,
+	SIP_REQ_LOOP_DETECTED,
+};
+
+/*
+ * \brief Match a incomming Request/Response to a dialog
+ *
+ * \retval enum match_req_res indicating if the dialog matches the arg
+ */
 static enum match_req_res match_req_to_dialog(struct sip_pvt *sip_pvt_ptr, struct match_req_args *arg)
 {
 




More information about the asterisk-commits mailing list