summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalkannel-dispatch3
1 files changed, 2 insertions, 1 deletions
diff --git a/localkannel-dispatch b/localkannel-dispatch
index d478170..5f1a60f 100755
--- a/localkannel-dispatch
+++ b/localkannel-dispatch
@@ -140,7 +140,8 @@ esac
#if [ -n "$REDIRECT_OK" ]; then
case "$app" in
@*)
- to="$(echo "$app" | perl -pe 's/^@//;' -e 's/^([^+])/+45\1/')"
+# FIXME: Avoid hardcoding national prefix
+ to="$(echo "$app" | perl -pe 's/^@//;' -e 's/^([^+])/+39\1/')"
# TODO: silence errors - or better: bounce those back to original sender
$sbindir/localmarkdown2sms "$to" "$@"
exit 0