SMS related additions

This commit is contained in:
herlesupreeth
2022-02-10 06:53:02 +01:00
parent 114afb8726
commit e7a89c0e66
14 changed files with 579 additions and 4 deletions

View File

@@ -43,6 +43,11 @@ elif [[ "$COMPONENT_NAME" =~ ^(pcscf-[[:digit:]]+$) ]]; then
/mnt/pcscf/pcscf_init.sh && \
mkdir -p /var/run/kamailio_pcscf && \
kamailio -f /etc/kamailio_pcscf/kamailio_pcscf.cfg -P /kamailio_pcscf.pid -DD -E -e
elif [[ "$COMPONENT_NAME" =~ ^(smsc-[[:digit:]]+$) ]]; then
echo "Deploying component: '$COMPONENT_NAME'"
/mnt/smsc/smsc_init.sh && \
mkdir -p /var/run/kamailio_smsc && \
kamailio -f /etc/kamailio_smsc/kamailio_smsc.cfg -P /kamailio_smsc.pid -DD -E -e
else
echo "Error: Invalid component name: '$COMPONENT_NAME'"
fi
fi