[pjsip] How to cancel a call?
bennylp at pjsip.org
Tue Nov 13 08:14:57 EST 2007
> I want to cancel a call when the call is not arrive.
> pjsua_call_hangup() must set the call_id.
> but the pjsua_call_make_call() can't get the call_id immediately.
Sorry I don't understand. pjsua_call_make_call() *will* give you the
call id immediately. And this function is an atomic operation as far
as application is concerned, so you can't cancel it before it completes.
> Is there any good idear?
> Thanks a lot!
More information about the pjsip