<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<font size="4" class="">Hi, everyone!</font>
<div class=""><font size="4" class=""><br class="">
</font>
<div class=""><font size="4" class="">In one sentence, I want to know how to how to add the
<b class="">shared key </b>(aka. K, Ki) used by AKA algorithm to Kamailio.</font></div>
<div class=""><font size="4" class=""><br class="">
</font>
<div class=""><font size="4" class="">I’m using Kamailio as an IMS server to test my own 5G Core. As you know, UE would send its first SIP Registration message to Kamailio with its IMPI and IMPU, then Kamailio should use the shared key to proceed AKA algorithm
to generate the authentication vector, then respond UE with 401 unauthorized message to challenge the UE. I’ve done my research and I still can’t figure out how to let Kamailio know this shared key. And when I was doing my test, it seems like Kamailio used
some default key to generate the auth vector.</font></div>
</div>
</div>
<div class=""><font size="4" class=""><br class="">
</font></div>
<div class=""><font size="4" class="">Could anybody help me? I’ve been stuck here for days.</font></div>
</body>
</html>