[asterisk-commits] mmichelson: branch mmichelson/transfer r387029 - /team/mmichelson/transfer/in...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 30 16:39:08 CDT 2013


Author: mmichelson
Date: Tue Apr 30 16:39:05 2013
New Revision: 387029

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387029
Log:
Add note not to call transfer functions with channels locked.


Modified:
    team/mmichelson/transfer/include/asterisk/bridging.h

Modified: team/mmichelson/transfer/include/asterisk/bridging.h
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/transfer/include/asterisk/bridging.h?view=diff&rev=387029&r1=387028&r2=387029
==============================================================================
--- team/mmichelson/transfer/include/asterisk/bridging.h (original)
+++ team/mmichelson/transfer/include/asterisk/bridging.h Tue Apr 30 16:39:05 2013
@@ -1285,6 +1285,8 @@
  * by the caller of ast_bridge_blind_transfer(). If the transfer fails, then
  * the hook will not be attached to any call.
  *
+ * \note Do not call this function with the transferer or its tech_pvt locked.
+ *
  * \param transferer The channel performing the blind transfer
  * \param exten The dialplan extension to send the call to
  * \param context The dialplan context to send the call to
@@ -1306,6 +1308,9 @@
  * resulting call after the transfer completes. If the transfer fails, the
  * hook will not be attached to any call.
  *
+ * \note Do not call this function with either of the channels or their
+ * tech_pvts locked.
+ *
  * \param to_transferee Transferer channel on initial call (presumably bridged to transferee)
  * \param to_transfer_target Transferer channel on consultation call (presumably bridged to transfer target)
  * \param hook A frame hook to attach to the resultant call




More information about the asterisk-commits mailing list