On Mon, Dec 11, 2017 at 1:43 PM, George Joseph <gjos...@digium.com> wrote:

>
>
> On Mon, Dec 11, 2017 at 1:07 PM, George Joseph <gjos...@digium.com> wrote:
>
>>
>>
>> On Mon, Dec 11, 2017 at 12:58 PM, George Joseph <gjos...@digium.com>
>> wrote:
>>
>>>
>>>
>>> On Thu, Dec 7, 2017 at 12:19 AM, Franck Bouteille <
>>> franck.boutei...@prescom.fr> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am looking for information to how compile PJSIP bundle Asterisk with
>>>> AKAv1-MD5  activated.
>>>>
>>>> Could you help me ?
>>>>
>>>
>>> Hi Franck,
>>>
>>> Enabling it in pjproject is easy by setting
>>> #define PJSIP_HAS_DIGEST_AKA_AUTH 1
>>> in third-party/pjproject/patches/config_site.h.
>>>
>>
>> Oh dear,  I lied.  Just enabling PJSIP_HAS_DIGEST_AKA_AUTH causes
>> compile errors because it requires the third-party library "milenage" which
>> is bundled with pjproject but which we don't compile.  Let me test a bit to
>> see if I can get it to compile.
>>
>
> Well, milenage isn't actually built by pjproject itself any more.  I had
> to modify their build.mak.in to build it before I could get a successful
> build of pjproject.  I'll ask them about it but you could also join the
> pjsip users mailing list at http://lists.pjsip.org/
> mailman/listinfo/pjsip_lists.pjsip.org and ask there how to build AKA and
> milenage even without asterisk.
>


I got word back from the pjproject team.  It was disabled by default
because it was rarely used.  If you open an issue at
https://issues.asterisk.org with the title "Enable AKA authentication in
bundled pjproject" we can turn it on again.

The asterisk authenticator modules would still need to be written though.
Were you going to do this yourself?




>
>
>>
>>
>>
>>> Unfortunately though, Asterisk doesn't have an authenticator module to
>>> handle AKA authentication.  If you're thinking of writing one, you can
>>> use res/res_pjsip_authenticator_digest.c and 
>>> res/res_pjsip_outbound_authenticator_digest.c
>>> as examples.
>>>
>>>
>>>
>>>>
>>>> Best regards,
>>>>
>>>> Franck
>>>>
>>>> --
>>>> _____________________________________________________________________
>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>
>>>> asterisk-dev mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>>>>
>>>
>>>
>>>
>>> --
>>> George Joseph
>>> Digium, Inc. | Software Developer
>>> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
>>> Check us out at: www.digium.com & www.asterisk.org
>>>
>>>
>>
>>
>> --
>> George Joseph
>> Digium, Inc. | Software Developer
>> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
>> Check us out at: www.digium.com & www.asterisk.org
>>
>>
>
>
> --
> George Joseph
> Digium, Inc. | Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
>


-- 
George Joseph
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to