Changeset 4810
- Timestamp:
- Apr 7, 2014 6:56:06 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/python/pjsua.py
r4724 r4810 776 776 srtp_secure_signaling = 1 777 777 rtp_transport_cfg = None 778 mwi_enabled = False 778 779 779 780 def __init__(self, domain="", username="", password="", … … 866 867 self.use_srtp = cfg.use_srtp 867 868 self.srtp_secure_signaling = cfg.srtp_secure_signaling 869 self.mwi_enabled = cfg.mwi_enabled 868 870 if (self.rtp_transport_cfg is not None): 869 871 self.rtp_transport_cfg._cvt_from_pjsua(cfg.rtp_transport_cfg) … … 897 899 cfg.use_srtp = self.use_srtp 898 900 cfg.srtp_secure_signaling = self.srtp_secure_signaling 901 cfg.mwi_enabled = self.mwi_enabled 899 902 900 903 if (self.rtp_transport_cfg is not None): … … 2338 2341 return Account(self, acc_id, cb) 2339 2342 2343 def modify_account(self, acc_id, acc_config): 2344 """Modify configuration of a pjsua account. 2345 2346 Keyword arguments: 2347 acc_id -- ID of the account to be modified. 2348 acc_config -- New account configuration. 2349 2350 """ 2351 lck = self.auto_lock() 2352 err = _pjsua.acc_modify(acc_id, acc_config._cvt_to_pjsua()) 2353 self._err_check("modify_account()", self, err) 2354 2340 2355 def hangup_all(self): 2341 2356 """Hangup all calls.
Note: See TracChangeset
for help on using the changeset viewer.