Hold and Unhold call pjsua2 Android

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux