Support deployment with third-party IMS

This commit is contained in:
herlesupreeth
2023-08-06 15:27:21 +02:00
parent a86b829edb
commit 03e1634b61
18 changed files with 365 additions and 18 deletions

View File

@@ -5,7 +5,7 @@ hss:
bind_ip: ["PYHSS_IP"]
#Port to listen on (Same for TCP & SCTP)
bind_port: 3868
bind_port: PYHSS_BIND_PORT
#Value to populate as the OriginHost in Diameter responses
OriginHost: "hss.IMS_DOMAIN"

View File

@@ -50,6 +50,7 @@ cp /mnt/pyhss/default_ifc.xml ./
cp /mnt/pyhss/default_sh_user_data.xml ./
sed -i 's|PYHSS_IP|'$PYHSS_IP'|g' ./config.yaml
sed -i 's|PYHSS_BIND_PORT|'$PYHSS_BIND_PORT'|g' ./config.yaml
sed -i 's|IMS_DOMAIN|'$IMS_DOMAIN'|g' ./config.yaml
sed -i 's|OP_MCC|'$MCC'|g' ./config.yaml
sed -i 's|OP_MNC|'$MNC'|g' ./config.yaml