on_rejected_incoming_call property
This callback will be invoked when the library implicitly rejects an incoming call.
In addition to being declined explicitly using the #pjsua_call_answer()/#pjsua_call_answer2() method, the library may also automatically reject the incoming call due to different scenarios, e.g:
- no available call slot.
- no available account to handle the call.
- when an incoming INVITE is received with, for instance, a message containing invalid SDP.
See also #pjsua_on_rejected_incoming_call_cb.
Implementation
external pjsua_on_rejected_incoming_call_cb on_rejected_incoming_call;