Idk if I'm missing something but is it impossible right now to cancel the INVITE (when user "hangs up" before the other side pick up) after calling DialogLayer::do_invite? Do I have to manually do something like the implementation of the do_invite, or somehow maybe take the state receiver, wait for state update and then lookup the dialog and cancel it?
I'm trying to figure out the intended API here, can someone guide?
Idk if I'm missing something but is it impossible right now to cancel the INVITE (when user "hangs up" before the other side pick up) after calling
DialogLayer::do_invite? Do I have to manually do something like the implementation of thedo_invite, or somehow maybe take the state receiver, wait for state update and then lookup the dialog and cancel it?I'm trying to figure out the intended API here, can someone guide?