sms_provider table

Abstract: Different SMS messaging providing networks and how to send messages to their numbers.

Fields:

ID - Key field.

name - Name of SMS provider company.

region - Country/region of SMS provider.

related_URL - Optional URL to home page of this phone company, for curious.

sms_URL - URL that is used to send messages through this SMS provider, beginning with protocol 'mailto:' or 'http:' (message should be emailed or sent as through web form). '{nr}' is substituted with phone number in URL and '{message}' with message text to be sent. For example “mailto:{nr}@sms.emt.ee” or “http://sms.gateway.someone.com?nr={nr}&text={message}”.

success_response - If notification was sent throug http gateway, then applying this regexp to resulting page should match it only if page indicates that message was sent OK.

validate_mask - regexpt, that when applied to full phone number should match it if the number belongs to this sms provider network.

use_mask - regexpt, that when applied to full phone number should result in this part of number in $1, which is then used in sms_URL to send message.