Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

notify-via-isms: + sign in phone number not compatible with all gateways #16

Open
kucert opened this issue Jan 20, 2021 · 0 comments
Open

Comments

@kucert
Copy link

kucert commented Jan 20, 2021

My solution:

# replace + by 00 and delete whitespaces
my $phone = $p{CONTACTPAGER};
$phone =~ s/\s+//g;
$phone =~ s/\+/00/g;

And use $phone instead of $p{CONTACTPAGER} for sending

@kucert kucert changed the title + sign in phone number not compatible with all gateways notify-via-isms: + sign in phone number not compatible with all gateways Jan 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant