SIP Quiddity: The `get_info` method should be refactored
Summary
When initializing a SIP quiddity, the get_info
method of the instance returns only None
.
How to reproduce ?
Write a python script using PyQuid
- Initialize Switcher
- Create a SIP Quiddity
- Register with SIP Server
- Add & Authorize a contact
- Try to retrieve the
buddies
key from the InfoTree usingsip_quid.get_info('buddies')
Expected behavior
I was expecting to get a listing of all buddies
for this quiddity.
What is the frequency of occurrence of this behavior ?
Always.
Other comment
The buddies
dictionnary of the full infotree (retrieved using sip_quid.get_info_tree_as_json()
) should be a list of objects instead of using string integer keys on the buddies
dictionnary to emulate listing behavior.
Edited by OpSocket