[asterisk-commits] oej: branch oej/rana-moh-queue-transfer-1.8 r393522 - /team/oej/rana-moh-queu...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 3 03:22:01 CDT 2013
Author: oej
Date: Wed Jul 3 03:21:59 2013
New Revision: 393522
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393522
Log:
Update
Modified:
team/oej/rana-moh-queue-transfer-1.8/README.rana-moh-queue-transfer.txt
Modified: team/oej/rana-moh-queue-transfer-1.8/README.rana-moh-queue-transfer.txt
URL: http://svnview.digium.com/svn/asterisk/team/oej/rana-moh-queue-transfer-1.8/README.rana-moh-queue-transfer.txt?view=diff&rev=393522&r1=393521&r2=393522
==============================================================================
--- team/oej/rana-moh-queue-transfer-1.8/README.rana-moh-queue-transfer.txt (original)
+++ team/oej/rana-moh-queue-transfer-1.8/README.rana-moh-queue-transfer.txt Wed Jul 3 03:21:59 2013
@@ -2,7 +2,7 @@
Olle E. Johansson
Project initiated: 2013-06-24
-
+Update: 2013-07-03
@@ -28,23 +28,19 @@
no known status to reset. There's a flag in the channel indicating that
MOH is active, but there's no saved music class to reset it.
-Possible Solution:
+Solution:
==================
-When setting the AST_MOH flag on the channel, also set the music class.
-In the SIP channel, store the music class and reset MOH after transfer
-succeeded, much like hold states.
+Implement a new function in the Asterisk MOH interface to query
+the musicclass. This is ONLY returned if MOH is active.
-This requires changes to at least the music on hold system and the
-SIP channel driver, and the ast_channel structure.
+Chan_sip reads this before masquerading channels and resets
+MOH after masquerade, since the transfer code resets all generators.
-Todo:
-=====
-1. Figure out what to do.
-2. Do it.
-3. Test it.
-4. Commit it1. Figure out what to do.
-2. Do it.
-3. Test it.
-4. Commit it.
+This only applies to attended transfers where one leg of the call
+is not bridged. Like transfer to queue, IVR, or simply parking.
+Testing:
+========
+This has been tested with a number of SIP phones and proved
+to work.
More information about the asterisk-commits
mailing list