[asterisk-dev] pjsip vs ca path

Matthew Jordan mjordan at digium.com
Mon Dec 1 15:00:24 CST 2014


On Mon, Dec 1, 2014 at 2:58 PM, James Cloos <cloos at jhcloos.com> wrote:
>>>>>> "MM" == Mark Michelson <mmichelson at digium.com> writes:
>
> MM> For res_pjsip, we're using the mechanisms that PJSIP exposes in its
> MM> TLS transport. Since a CA path option is not exposed, the option to
> MM> provide one in pjsip.conf does not exist. If you want to provide a
> MM> patch, that's totally fine, but the patch would need to be made
> MM> against PJProject instead of Asterisk.
>
> As it happens, I worked on that last night.
>
> pjsip calls openssl's api which takes both a file and a directory, just
> with NULL for the latter.
>
> Adding support for capath in parallel for cafile was trivial:
>
> Twelve added and five changed lines for https://github.com/asterisk/pjproject
> and twelve added lines for asterisk trunk.
>
> I still need to test, though.
>
> Should the pjproject diff go via github or via the asterisk bug tracker?
>

In order to keep the contributor license agreement stuff sane, the
Asterisk bug tracker please.

And thanks! Sounds like a useful contribution.

Matt

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-dev mailing list