Unexpected hangup when use pjsua2 on Android.

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

 



Hi,

I use the pjsua2 module to build an app on Android, when call state change to PJSIP_INV_STATE_DISCONNECTED, I un-reference the Call(without calling delete).

After several calls(max calls out of use), my new call got hangup unexpectedly. After looking at the logs and code, it seems caused by a hangup in the finalizer called by Java GC.

By looking at the demo, I can manually delete the call in the onCallState callback. But doesn't the Call should also check whether the call_id is owned by it or not before hanging it up?



--
xiaofeng

--
gpg key fingerprint:
2048R/5E63005B
C84F 671F 70B7 7330 4726  5EC8 02BC CBA2 5E63 005B

--
trans-zh_cn mailing list
trans-zh_cn@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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