betty
betty copied to clipboard
Support separate TEAM and TEAM_TEXT lists
I have a support phone that is for text message replies and data only; it has no voice plan, and calling it results in an operator message that incoming calls are not accepted.
What I'd like is an optional separate TEAM_TEXT variable. If it isn't set, the same lists are used for both voice and SMS. If it is set, the full list of which numbers support voice and SMS should be present.
e.g. export TEAM=Alice:+12125551212,Bob:+12015551212
sends all voice and SMS messages to both Alice and Bob. export TEAM=Alice:+12125551212,Bob:+12015551212; export TEAM_TEXT:Alice:+12125551212,Bob:+12015551212,Carol:+19175551212
sends voice and SMS messages to Alice and Bob, but also just SMS messages to Carol.