Re: PJSUA2 detect wether callee rejects call or hangs up

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

 



if you get the object call you should override the virtual method onCallState, that way you will receive the messages of disconnected. In android at least I receive.


2016-05-30 14:08 GMT+01:00 Jason Stäuble <mokitto@xxxxxxxxxxx>:
I am using PJSUA2 in C++
I want to get a callback whenever the callee rejects an incoming call or hangs up.
Currently, if the callee rejects an incoming call the application interprets it as [CONFIRMED] and if the callee hangs up the application doesn't detect it at all.

_______________________________________________
Visit our blog: http://blog.pjsip.org

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


_______________________________________________
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