[asterisk-scf-commits] asterisk-scf/examples.git branch "decorator" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jul 20 14:59:33 CDT 2011


branch "decorator" has been updated
       via  245a6efdd8207e5019438a07c6736c070cbf74f5 (commit)
      from  819f1c6b8c26d5dae04fdad906eb24e765591eef (commit)

Summary of changes:
 Session_Decorator.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 245a6efdd8207e5019438a07c6736c070cbf74f5
Author: Mark Michelson <mmichelson at digium.com>
Date:   Wed Jul 20 14:33:31 2011 -0500

    decorateSession->modifySession

diff --git a/Session_Decorator.py b/Session_Decorator.py
index 32d94c9..a58336c 100755
--- a/Session_Decorator.py
+++ b/Session_Decorator.py
@@ -156,7 +156,7 @@ class SessionDecorator(AsteriskSCF.SessionCommunications.V1.Session, AsteriskSCF
 class SessionDecoratorHook(AsteriskSCF.SessionCommunications.ExtensionPoints.V1.SessionCreationHook):
     def __init__(self, adapter):
         self.adapter = adapter
-    def decorateSession(self, originalData, current = None):
+    def modifySession(self, originalData, current = None):
         decorator = SessionDecorator(originalData.session, originalData.listeners, self.adapter)
         objPrx = self.adapter.addWithUUID(decorator)
         decoratorPrx = AsteriskSCF.SessionCommunications.V1.SessionPrx.uncheckedCast(objPrx)

-----------------------------------------------------------------------


-- 
asterisk-scf/examples.git



More information about the asterisk-scf-commits mailing list