PJSUA2 detect wether callee rejects call or hangs up

JS
Jason Stäuble
Mon, May 30, 2016 1:08 PM

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.

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.
JR
João Resende
Mon, May 30, 2016 1:15 PM

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@hotmail.com:

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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

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@hotmail.com>: > 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@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >