summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalkannel-dispatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/localkannel-dispatch b/localkannel-dispatch
index d2339bd..4041fb3 100755
--- a/localkannel-dispatch
+++ b/localkannel-dispatch
@@ -152,7 +152,7 @@ esac
case "$app" in
@*)
# FIXME: Avoid hardcoding national prefix
- targetphone="$(echo "$app" | perl -pe 's/^@//;' -e 's/^([^+])/+39\1/')"
+ targetphone="$(echo "$app" | perl -pe 's/^@//;' -e 's/^([^+])/+36\1/')"
# TODO: silence errors - or better: bounce those back to original sender
targetfrom=$(lastservicephone "$targetphone")
[ -n "$targetfrom" ] || exit1 "refusing to redirect: unknown target phone number \"$targetphone\"."