We are attempting to set up sending notifications via SMS to our team. I have it confirmed working with T-Mobile and RepublicWireless. But we cannot get our Sprint user to receive SMS notifications. Is there something we are missing? I’ve tried the following:
as far as I know, only one pager number is supported. If you want to send 2 sms, you have to create a new user with the second pager number and assign the user to the notifications.
Ok, so the NotificationCommand populates the $USERPAGER environment variable, likely from $user.pager$. This can only be a single string containing one number.
If you want to page multiple numbers, need to
Create a second User object and assign the pager number to it.
Add this user to the notification apply rule inside the users array.
You may also want to create a UserGroup, add both users into it, and assign it to the notification apply rule via user_groups
object User "sms-pager1" {
pager = "1..."
}
object User "sms-pager2" {
pager = "2..."
}
object UserGroup "sms-pager" {
assign where match("sms-pager*", user.name)
}
apply Notification "sms-notification" to Service {
...
users_groups = [ "sms-pager" ]
}
Thanks. I have implemented this, testing and working with our T-Mo users. Still not working for the Sprint user. It may be that Sprint is blocked Email to SMS. We will have the user call Sprint and check if this feature is blocked.
Sprint is an email2sms gateway provider, right? Maybe they provide extended logging, or support to troubleshoot why those emails remain blocked. Could be a missing mail header or some authentication details.