on_rejected_incoming_call property

pjsua_on_rejected_incoming_call_cb on_rejected_incoming_call
getter/setter pair

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;