Author: jerome
Date: 2009-12-22 11:46:53 +0100 (Tue, 22 Dec 2009)
New Revision: 6007
Modified:
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py
Log:
* Returning empty list in case of no online contact.
* Sending Outgoing call event while ringing instead of routing ( bug detected
while proceeding call from user Skype interface ).
Modified:
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py
===================================================================
---
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py
2009-12-22 10:43:39 UTC (rev 6006)
+++
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py
2009-12-22 10:46:53 UTC (rev 6007)
@@ -203,8 +203,10 @@
except:
#do not add this contact in case of exception.
pass
-
- return sorted(online)
+ if len(online) > 0:
+ return sorted(online)
+ else:
+ return []
#
--------------------------------------------------------------------------
# Proceed to call a contact.
@@ -617,7 +619,7 @@
self.call = Call
partnerHandle = Call.PartnerHandle
#Call status is ringing, then trigger outgoing call event.
- if Status == Skype4Py.clsRouting:
+ if Status == Skype4Py.clsRinging:
if self.OnOutgoingCall != None:
thread = threading.Thread(target=self.OnOutgoingCall, args
= [partnerHandle, ])
thread.start()
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn