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

Aduílio aduiliosilva at leucotron.com.br
Mon May 26 07:28:01 EDT 2014


I've experienced this way: call.makeCall("sip:user at domain", prm) and do 
not work too.

Aduilio

Em 25-05-2014 01:49, Blend escreveu:
> after modified,like this:
> call.makeCall("sip:user at domain", prm);
>
>
> ------------------ Original ------------------
> *From: * "Aduíli";<aduiliosilva at leucotron.com.br>;
> *Date: * Fri, May 23, 2014 08:18 PM
> *To: * "pjsip"<pjsip at lists.pjsip.org>;
> *Subject: * [pjsip] makecall() with pjsua2 do not create an invite
>
> 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
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140526/f7d2e00f/attachment-0002.html>


More information about the pjsip mailing list