PJSIP for Python - TLS and SRTP support

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

 



I've got SSL installed and the appropriate option in the config_site.h file.

I'm just wondering how intense it'd be to port the TLS / SRTP code from the C version of PJSUA (this of course is separate from the _pjsua.c file in the pjsip-apps/src/python directory) where the features do exist over to the python wrapper, or if that's possible. I guess I assumed they were both calling the PJSIP core apis.



----- Original Message -----
From: "Sa?l Ibarra Corretg?" <saul@xxxxxxxxxxxxxxx>
To: "pjsip list" <pjsip at lists.pjsip.org>
Sent: Friday, November 18, 2011 9:30:49 AM
Subject: Re: PJSIP for Python - TLS and SRTP support

Hi Darren,

On Nov 18, 2011, at 4:25 PM, Darren Sessions wrote:

> I'm in the middle of integrating the PJSIP Python module into our test-suite and just noticed, after getting the 'Assertion failed: (!"Unsupported transport")' error message when I tried to select TLS as the transport type, that although there are configuration points in the pjsua Python module (which is misleading) there is literally nothing in the _pjsua.c code, which the pjsua module relies on, for TLS or SRTP.
>
> I haven't looked at the pjsua c code extensively and am wondering what people's opinions are in terms of the time it would take to implement or port the TLS and SRTP functionality into _pjsua.c and finish off the pjsua.py module.
>
> It's a shame the Python module isn't feature complete as it certainly is an excellent tool on a lot of levels.
>

IIRC it does support it, it's built together with pjsua (the C part). Did you have OpenSSL library headers installed when you built the module?


Regards,

--
Sa?l Ibarra Corretg?
AG Projects




_______________________________________________
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