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