The best way to know when call successfully finished

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

 



Hi,

did you try the method /is_valid()/ of your call instance?

Kind regards,
Paul

Am 20.04.2012 11:24, schrieb ???? ?:
> Hello
> What is the best way to know when call successfully finished, for 
> example after pjsua_call_hangup()?
> I want to make new call immediately after previous call finished. 
> Problem: my sip account supports only one call
> at the same time, and if I'll use the sequence of 
> "pjsua_call_hangup(); pjsua_call_make_call()" I'll receive status 480
> from the server with description "Call Limit". This is because 
> previous call not completely finished yet.
> So, what callback or other way I should use to solve my problem?
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120420/b4f5b10f/attachment.html>


[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