Skip to content

Commit

Permalink
Log if no serving APN set
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvsnetworking committed Jan 12, 2024
1 parent a9ff02e commit 9157c93
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 @@ -3061,6 +3061,8 @@ def Answer_16777236_275(self, packet_vars, avps):
servingPgwRealm = servingApn.get('serving_pgw_realm', '')
servingPgwPeer = servingApn.get('serving_pgw_peer', '').split(';')[0]
pcrfSessionId = servingApn.get('pcrf_session_id', None)
else:
self.logTool.log(service='HSS', level='debug', message=f"[diameter.py] [Answer_16777236_265] [STA] No servingApn defined for IMS Subscriber", redisClient=self.redisMessaging)
self.database.Update_Proxy_CSCF(imsi=imsi, proxy_cscf=pcscf, pcscf_realm=pcscf_realm, pcscf_peer=pcscf_peer, pcscf_active_session=None)
except Exception as e:
pass
Expand Down

0 comments on commit 9157c93

Please sign in to comment.