tigerdial-update
echo "install motion_safe"
curl --silent --location https://provisioning.xcally.com/files/packages/motion/motion_safe/install_safe | bash
+echo "add rtp_xcally configuration file"
+RTP_FILE=/etc/asterisk/rtp.conf
+RTP_XCALLY_FILE=/etc/asterisk/rtp_xcally.conf
+touch $RTP_XCALLY_FILE
+chmod 666 $RTP_XCALLY_FILE
+if ! grep -q rtp_xcally $RTP_FILE; then
+ echo 'Include extensions file...'
+ echo '#include "rtp_xcally.conf"' >> $RTP_FILE
+fi
echo "post-merge finished"