From 6810d16382ac42f8e994fb3f950a72ac01e9d66e Mon Sep 17 00:00:00 2001 From: davidkneipp Date: Wed, 31 Jan 2024 09:59:59 +1000 Subject: [PATCH] Add supported features --- lib/diameter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/diameter.py b/lib/diameter.py index 67844d3..766a16c 100755 --- a/lib/diameter.py +++ b/lib/diameter.py @@ -2805,6 +2805,8 @@ def Answer_16777236_265(self, packet_vars, avps): avp += self.generate_avp(258, 40, format(int(16777236),"x").zfill(8)) avp += self.generate_avp(264, 40, self.OriginHost) #Origin Host avp += self.generate_avp(296, 40, self.OriginRealm) #Origin Realm + avp += self.generate_vendor_avp(628, 80, 10415, "0000010a4000000c000028af0000027580000010000028af000000010000027680000010000028af00000001") #Supported Features + subscriptionId = bytes.fromhex(self.get_avp_data(avps, 444)[0]).decode('ascii') self.logTool.log(service='HSS', level='debug', message=f"[diameter.py] [Answer_16777236_265] [AAA] Received subscription ID: {subscriptionId}", redisClient=self.redisMessaging) subscriptionId = subscriptionId.replace('sip:', '')