voici la fonction interressante :
private void statusBAPX(String callNumber) {
try {
JtapiPeer peer = JtapiPeerFactory.getJtapiPeer("nom.classe.proprietaire" );
Provider myprovider = peer.getProvider("nom.du.provider" );
Terminal terminal = myprovider.getTerminals()[0];
Address address = myprovider.getAddress("numero.desire" );
Call mycall = myprovider.createCall();
Connection c[] = mycall.connect(terminal,address,callNumber);
}
catch (Exception ex) {
ex.printStackTrace();
}
}