Skip to content

Commit

Permalink
Add supported features
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkneipp committed Jan 30, 2024
1 parent b1c4736 commit 6810d16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/diameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:', '')
Expand Down

0 comments on commit 6810d16

Please sign in to comment.