Search in sources :

Example 1 with DbGetAction

use of org.asteriskjava.manager.action.DbGetAction in project openmeetings by apache.

the class SipDao method get.

public String get(String confno) {
    String pin = null;
    DbGetAction da = new DbGetAction(ASTERISK_OM_FAMILY, getKey(confno));
    ManagerResponse r = exec(da);
    if (r != null) {
        pin = r.getResponse();
    }
    return pin;
}
Also used : ManagerResponse(org.asteriskjava.manager.response.ManagerResponse) DbGetAction(org.asteriskjava.manager.action.DbGetAction)

Aggregations

DbGetAction (org.asteriskjava.manager.action.DbGetAction)1 ManagerResponse (org.asteriskjava.manager.response.ManagerResponse)1