Package org.openmeetings.app.sip.api.result

Examples of org.openmeetings.app.sip.api.result.SipCreateConferenceRequestResult


        if(request.getSipNumber() != null && !request.getSipNumber().isEmpty()) {
            confno = asteriskDAO.addMeetMeConference(request.getSipNumber());
        } else {
            confno = asteriskDAO.addMeetMeConference();
        }
        return new SipCreateConferenceRequestResult(confno, "") {
            public boolean hasError() {
                return false;
            }

            public String getErrorMessage() {
View Full Code Here


            Configuration conf = cfgManagement.getConfKey(3L, "red5sip.enable");
            if(conf != null && conf.getConf_value().equals("yes")) {
                if(room.getSipNumber() != null && !room.getSipNumber().isEmpty()) {
                    asteriskDbSipClient.createSIPConference(new SIPCreateConferenceRequest(room.getSipNumber()));
                } else {
                    SipCreateConferenceRequestResult requestResult = asteriskDbSipClient.createSIPConference(new SIPCreateConferenceRequest());
                    if(!requestResult.hasError()) {
                        room.setSipNumber(requestResult.getConferenceNumber());
                        room.setConferencePin(requestResult.getConferencePin());
                    }
                }
            }
            /*****************************************************************************************************/
      room.setStarttime(new Date());
View Full Code Here

        }

                /* Red5SIP integration *******************************************************************************/
                Configuration conf = cfgManagement.getConfKey(3L, "red5sip.enable");
                if(conf != null && conf.getConf_value().equals("yes")) {
                    SipCreateConferenceRequestResult requestResult = asteriskDbSipClient
                            .createSIPConference(new SIPCreateConferenceRequest(sipNumber));

                    if(!requestResult.hasError()) {
                        r.setSipNumber(requestResult.getConferenceNumber());
                        r.setConferencePin(requestResult.getConferencePin());
                    }
                }
                /*****************************************************************************************************/

        r = em.merge(r);
View Full Code Here

TOP

Related Classes of org.openmeetings.app.sip.api.result.SipCreateConferenceRequestResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.