How to cancel a call?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



?? wrote:
> hi:
>  
>   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.

 -benny

>   Is there any good idear?
>  
>   Thanks a lot!




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux