[pjsip] makecall() with pjsua2 do not create an invite

Aduílio aduiliosilva at leucotron.com.br
Fri May 23 08:18:02 EDT 2014


I'm using pjsua2 with Android build. My app and the pjsua2 sample is not 
making outgoing calls. The makecall() method is not creating an INVITE 
to the server. REGISTER and INCOMING CALLS are working normally.

MyCall call = new MyCall(account, -1);
CallOpParam prm = new CallOpParam(true);
CallSetting opt = prm.getOpt();
opt.setAudioCount(1);
opt.setVideoCount(0);

try {
     call.makeCall("sip:user at domain:port", prm);
} catch (Exception e) {
     e.printStackTrace();
     call.delete();
     return;
}


Aduilio





More information about the pjsip mailing list