Update expose_voipms_sms_url.sh
This commit is contained in:
parent
03f0975992
commit
932c27739d
1 changed files with 2 additions and 1 deletions
|
|
@ -43,13 +43,14 @@ BEGIN {
|
|||
" </variable>\n" \
|
||||
" <!--<field name=\"MessagingUrl\">https://voip.ms/api/3cx/msg</field>-->"
|
||||
}
|
||||
/<field name="MessagingUrl">https:\/\/voip\.ms\/api\/3cx\/msg<\/field>/ {
|
||||
/<field[[:space:]]+name="MessagingUrl"[^>]*>https:\/\/voip\.ms\/api\/3cx\/msg<\/field>/ {
|
||||
print repl
|
||||
next
|
||||
}
|
||||
{ print }
|
||||
' "$CUSTOM_PATH" > "${CUSTOM_PATH}.tmp" && mv "${CUSTOM_PATH}.tmp" "$CUSTOM_PATH"
|
||||
|
||||
|
||||
chown phonesystem:phonesystem $CUSTOM_PATH
|
||||
|
||||
echo "Custom template created at: $CUSTOM_PATH"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue