Can callback be entered twice?

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

 



On Fri, Jul 4, 2008 at 5:23 AM, Turnaev Eugeny <turnaev at t72.ru> wrote:

>
> Suppose i installed a callback
> on_call_state
>
> and have more than 1 call simul..
> can a callback on_call_state to be entered more than once?
>
>
Yes it can. Consider this scenario:
  - on_call_state() is called for call 1
  - in the callback, the application do something that triggers state change
of a call (e.g. make another call, or even disconnecting current call may
trigger immediate state change on some cases).
  - the on_call_state() will be called again

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080704/ee7a6666/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