[asterisk-commits] kmoore: branch kmoore/pjsip_path_support r405004 - /team/kmoore/pjsip_path_su...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 6 15:46:28 CST 2014


Author: kmoore
Date: Mon Jan  6 15:46:26 2014
New Revision: 405004

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=405004
Log:
Add a comment about contact lifetime to response creation as well

Modified:
    team/kmoore/pjsip_path_support/include/asterisk/res_pjsip.h

Modified: team/kmoore/pjsip_path_support/include/asterisk/res_pjsip.h
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/pjsip_path_support/include/asterisk/res_pjsip.h?view=diff&rev=405004&r1=405003&r2=405004
==============================================================================
--- team/kmoore/pjsip_path_support/include/asterisk/res_pjsip.h (original)
+++ team/kmoore/pjsip_path_support/include/asterisk/res_pjsip.h Mon Jan  6 15:46:26 2014
@@ -1265,6 +1265,11 @@
  * \param st_code The response code to transmit.
  * \param contact The contact with which this request is associated.
  * \param[out] tdata The newly-created response
+ *
+ * The provided contact is attached to tdata with its reference bumped, but will
+ * not survive for the entire lifetime of tdata since the contact is cleaned up
+ * when all supplements have completed execution.
+ *
  * \retval 0 Success
  * \retval -1 Failure
  */




More information about the asterisk-commits mailing list