[asterisk-dev] pjsip with akav1-md5 algorithm for asterik

George Joseph gjoseph at digium.com
Mon Dec 11 14:43:43 CST 2017


On Mon, Dec 11, 2017 at 1:07 PM, George Joseph <gjoseph at digium.com> wrote:

>
>
> On Mon, Dec 11, 2017 at 12:58 PM, George Joseph <gjoseph at digium.com>
> wrote:
>
>>
>>
>> On Thu, Dec 7, 2017 at 12:19 AM, Franck Bouteille <
>> franck.bouteille at 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.


>
>
>
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20171211/7565b984/attachment-0001.html>


More information about the asterisk-dev mailing list