[pjsip] Hold and Unhold call pjsua2 Android

Ming ming at teluu.com
Tue May 27 21:45:46 EDT 2014


Hi Aduilio,

Please have a look at: https://trac.pjsip.org/repos/changeset/4780 (which
is included in release 2.2.1).

Regards,
Ming


On Tue, May 27, 2014 at 10:25 PM, Aduílio <aduiliosilva at leucotron.com.br>wrote:

> I'm using pjsua2 with Android build.
> I can put a call on hold using:
>
> CallOpParam prm = new CallOpParam(true);
> try {
>     currentCall.setHold(prm);
> } catch (Exception e) {
>     e.printStackTrace();
> }
>
> To unhold call I tried this, but does not work:
>
> CallOpParam prm = new CallOpParam(true);
> try {
>     currentCall.reinvite(prm);
> } catch (Exception e) {
>     e.printStackTrace();
> }
>
> How should I call the reinvite method?
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140528/e6ce16e9/attachment-0002.html>


More information about the pjsip mailing list