The best way to know when call successfully finished

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

 



I used the Python bindings and the function I meant is described here: 
http://www.pjsip.org/python/pjsua.htm#Call
If you use the C library directly, I suggest the corresponding function might be 
  pj_bool_t pjsua_call_is_active  ( pjsua_call_id  call_id  )  
Take a look here:
http://www.pjsip.org/docs/latest/pjsip/docs/html/group__PJSUA__LIB__CALL.htm

Greeting,
Paul
_______________________________________
Von: pjsip-bounces at lists.pjsip.org [pjsip-bounces at lists.pjsip.org] im Auftrag von Oleg G [verdrehung at gmail.com]
Gesendet: Freitag, 20. April 2012 19:18
An: pjsip at lists.pjsip.org
Betreff: Re: [pjsip] The best way to know when call successfully finished

No. Can't find documentation for this function. Can you provide me a link?
> Hi,
>
> did you try the method /is_valid()/ of your call instance?
>
> Kind regards,
> Paul
>"Pawel Kuzak"
> 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?

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


[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