Core Interfaces¶
Most-Voip Interfaces
-
class
most.voip.interfaces.
IAccount
[source]¶ This class contains informations about the local sip account.
-
add_buddy
(extension)[source]¶ Add the specified buddy to this account (so its current state can be notified)
Parameters: extension – the extension related to the buddy to add
-
get_buddies
()[source]¶ Get the list of buddies of the current registered account
Returns: the list of most.voip.interfaces.IBuddy
subscribed by the local account
-
get_buddy
(extension)[source]¶ Get the buddy with the given extension
Parameters: extension – the extension of the buddy Returns: the most.voip.interfaces.IBuddy
with the specified extension
-
get_state
()[source]¶ Returns: the current state of this account (see most.voip.constants.AccountState
)
-
-
class
most.voip.interfaces.
IBuddy
[source]¶ This class contains informations about a buddy. A buddy is a Sip user that notify its presence status to sip accounts that are interested to get informations by them.
-
get_state
()[source]¶ Returns: the current state of this buddy (see most.voip.constants.BuddyState
)
-
-
class
most.voip.interfaces.
ICall
[source]¶ This class contains informations about a call between 2 sip accounts.
-
get_state
()[source]¶ Returns: the current state of this call (see most.voip.constants.CallState
)
-