"Work expands so as to fill the time available for its completion."

                                  - C. Northcote Parkinson

Today we will complete our work on the Client Library Reference Design.  We will cover all the major objects inside the library (Object Factory, Connector, call, etc) and explain how to use the finished Library to create fully functional XMS Rest Applications.  We will also walk though some library internals and review examples on how to use the library in both sync and async modes.   

I want to thank all you travelers for sticking along while we completed these efforts.  The entire Reference Design walk though took a few more episodes then I had anticipated, but I am happy with the videos and hope that it was useful.  Our journey will continue with some higher level topics before we jump into another interface or programming topics.  I am still collecting feedback on the series with this survey, so come make your thoughts heard!

YouTube Link: https://youtu.be/JUIwHeMh8nw 

Original Goal/Mission Statement:

Further our understanding of the PowerMedia XMS by chronicling the step-by-step design and implementation of a Client Library using one of the PowerMedia XMS Interfaces.  This library should allow for the development of an Outbound Call+video file play demo in 15lines of code or less!  

Final Code: 

package referencedesignexample;

import com.dialogic.XMSClientLibrary.*;
public class ReferenceDesignExample {
    public static void main(String[] args) {
        XMSObjectFactory myFactory = new XMSObjectFactory();
        XMSConnector myConnector = myFactory.CreateConnector("XMSConnectorConfig.xml");
        XMSCall myCall = myFactory.CreateCall(myConnector);
        
        myCall.MakecallOptions.SetMediaType(XMSMediaType.VIDEO);
        myCall.Makecall("sip:dan@192.168.1.7:5080");
        myCall.PlayOptions.SetMediaType(XMSMediaType.VIDEO);
        myCall.Play("./verification/Dialogic_NetworkFuel");
            
        myCall.Dropcall();
    }
    
}

Links referenced in the video:

I invite you to comment below with your thoughts on "What are your thoughts on the Client Library Reference Design process?” 

-Dan

@Dan_Wolanski