[asterisk-commits] mmichelson: branch group/CCSS r230504 - /team/group/CCSS/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 19 14:25:24 CST 2009


Author: mmichelson
Date: Thu Nov 19 14:25:20 2009
New Revision: 230504

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=230504
Log:
Fill in EPA callbacks.


Modified:
    team/group/CCSS/channels/chan_sip.c

Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=230504&r1=230503&r2=230504
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Thu Nov 19 14:25:20 2009
@@ -1656,10 +1656,6 @@
 	CC_OPEN,
 };
 
-struct sip_epa_callbacks {
-	/*XXX STUB */
-};
-
 struct cc_epa_entry {
 	/* The core ID of the CC transaction
      * for which this EPA entry belongs. This
@@ -1697,6 +1693,11 @@
    	 * will use event specific data
    	 */
 	void *event_specific_data;
+};
+
+struct sip_epa_callbacks {
+	void (*handle_ok)(struct sip_pvt *, struct sip_request *, struct sip_epa_entry *);
+	void (*handle_error)(struct sip_pvt *, const int resp, struct sip_request *, struct sip_epa_entry *);
 };
 
 static int cc_epa_hash_fn(const void *obj, const int flags)




More information about the asterisk-commits mailing list