Router for handling SMS messages