Python Bindings

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

 



I am using the pjsua Python bindings, with updates to compile for Python
3.5. I tried using the SWIG bindings, but had two issues: 1) Frequent
segfaults and 2) Python built in functions (such as print and str) were not
available in the callbacks.

As best I can tell, calls are not being destroyed even after sending the
BYE -- resulting in a PJ_ETOOBIG error after a few hundred calls at 20 cps.
In my tests I am sending the BYE immediately after answer, so concurrent
calls should be similar to CPS.

On Sun, Jan 10, 2016 at 9:51 PM, Nanang Izzuddin <nanang at pjsip.org> wrote:

> Hi,
>
> Yes, generally Call (Python) object should remain valid during an active
> call, but perhaps this is not the case, so could you clarify a bit more
> about 'destroying a call' and more detail about the problem (e.g: sample
> scenario, pjsip version, which API or Python binding you are using) would
> be useful.
>
> Btw, in case you are still using the pjsua Python
> <https://trac.pjsip.org/repos/wiki/Python_SIP_Tutorial> module (in
> pjsip-apps/src/python), just FYI, it is about to be deprecated and replaced
> by the new pjsua2 API
> <http://www.pjsip.org/docs/book-latest/html/index.html> that has Python
> binding via SWIG.
>
> BR,
> nanang
>
>
> On Fri, Jan 8, 2016 at 11:24 PM, Matthew Williams <mgwilliams at gmail.com>
> wrote:
>
>> Hi,
>>
>> I'm using the Python bindings (updated for Python 3.5), but it seems
>> calls are not being destroyed. I've dug around, but do not see any way to
>> destroy a call other than calling hangup(). Am I missing something?
>>
>> Thanks!
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20160111/995947ab/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