diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-09-22 14:58:52 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-09-22 14:58:52 +0200 |
commit | 6790e77d5b2c5912b9d25a1cf3014221d83a4eeb (patch) | |
tree | 4f27722c9f7af8fb2fdfc0ba96298aadb77ee09e /localkannel-dispatch | |
parent | ec21a65b018884c78235ec16b61fd3241ecca68e (diff) |
Switch to hardcoding hungarian prefix.
Diffstat (limited to 'localkannel-dispatch')
-rwxr-xr-x | localkannel-dispatch | 2 |
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\"." |