[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819

Klaus Kurzmann mok at fluxnetz.de
Sat Aug 6 08:19:42 UTC 2011


The following commit has been merged in the debian branch:
commit 5e628da363ea14ea62f56a6fc0bb25d532530a62
Author: Klaus Kurzmann <mok at fluxnetz.de>
Date:   Mon Apr 12 14:57:08 2010 +0200

    opimd: make call logging work with fsogsmd too
    
    In fsogsmd the status in CallStatus signals is uppercase.
    
    Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>

diff --git a/framework/subsystems/opimd/pimd_calls.py b/framework/subsystems/opimd/pimd_calls.py
index bfd368c..e6a7eee 100644
--- a/framework/subsystems/opimd/pimd_calls.py
+++ b/framework/subsystems/opimd/pimd_calls.py
@@ -419,19 +419,19 @@ class CallsLogFSO(object):
         elif self.props[line].has_key('Peer'):
             peer = self.props[line]['Peer']
 
-        if call_status == "incoming":
+        if call_status.lower() == "incoming":
             try:
                 self.props[line]['Peer'] = peer
             except:
                 pass
             self.props[line]['Direction'] = 'in'
-        elif call_status == "outgoing":
+        elif call_status.lower() == "outgoing":
             self.props[line]['Peer'] = peer
             self.props[line]['Direction'] = 'out'
-        elif call_status == "active":
+        elif call_status.lower() == "active":
             self.props[line]['Answered'] = 1
             self.props[line]['Timestamp'] = int(time.time())
-        elif call_status == "release":
+        elif call_status.lower() == "release":
             if self.props[line].has_key('Timestamp'):
                 self.props[line]['Duration'] = int(time.time() - self.props[line]['Timestamp'])
             else:

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list