Package org.apache.openmeetings.core.sip
Class SipManager
java.lang.Object
org.apache.openmeetings.core.sip.SipManager
- All Implemented Interfaces:
ISipManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcallExternalNumber(String number, Room r) Perform call to specified phone number and join to conferencelongcountUsers(String confno) createSipStackProcessor(String name, Room r, ISipCallbacks callbacks) voiddelete()voidvoiddestroy()getSipUser(Room r) voidvoidinit()voidsetUserPicture(Function<User, String> pictureCreator) void
-
Field Details
-
ASTERISK_OM_FAMILY
- See Also:
-
ASTERISK_OM_KEY
- See Also:
-
SIP_FIRST_NAME
- See Also:
-
SIP_USER_NAME
- See Also:
-
-
Constructor Details
-
SipManager
public SipManager()
-
-
Method Details
-
init
@PostConstruct public void init() -
destroy
@PreDestroy public void destroy() -
get
-
update
- Specified by:
updatein interfaceISipManager
-
delete
public void delete() -
delete
- Specified by:
deletein interfaceISipManager
-
countUsers
-
callExternalNumber
Perform call to specified phone number and join to conference- Parameters:
number- number to callr- room to be connected to the call
-
hangup
-
setUserPicture
-
getSipUser
-
createSipStackProcessor
public Optional<SipStackProcessor> createSipStackProcessor(String name, Room r, ISipCallbacks callbacks) throws Exception - Throws:
Exception
-