Search in sources :

Example 1 with DefaultManagerConnection

use of org.asteriskjava.manager.DefaultManagerConnection in project openmeetings by apache.

the class SipDao method getConnection.

private ManagerConnection getConnection() {
    DefaultManagerConnection con = (DefaultManagerConnection) factory.createManagerConnection();
    con.setDefaultEventTimeout(timeout);
    con.setDefaultResponseTimeout(timeout);
    con.setSocketReadTimeout((int) timeout);
    con.setSocketTimeout((int) timeout);
    return con;
}
Also used : DefaultManagerConnection(org.asteriskjava.manager.DefaultManagerConnection)

Aggregations

DefaultManagerConnection (org.asteriskjava.manager.DefaultManagerConnection)1