...
Regardless the protocol used to receive SMS-s, first create a wholesale client account for the provider. Then, create a tariff with SMS rates and assign it to the account.
Wholesale model
If the inbound messages are sent using SIP they will come to voipswitch SIP listener directly. If the protocol is HTTP or SMPP the messages come first to VSServices which then decides where they will be forwarded.
...
The dialed number format from the incoming messages can be modified by the Dialing plan rules configured for the client account.
Retail model - conversion to IM
If you want to forward the inbound SMS to retail clients make sure that the following key is set to false in the VSServices’s Web.config file (usually the full path is c:\inetpub\wwwroot\VSServices\Web.Config):
...
If the SMS are addressed to the numbers which are DIDs associated with the accounts but not the account login you will have to create a Routing plan entry pointing to the lookup procedure using an SQL query to retrieve the account login.
Supported protocols
The inbound SMSes from providers to voipswitch can be sent in various protocols which configuration is described below.
SIP
In the client account add the IP address or addresses used for authentication of inbound traffic. If the provider requires username based authentication you will have to give the account’s login and password credentials.
Your provider will need from you the IP or FQDN of your voipswitch along with the SIP port. All SMS should be delivered to the voipswitch in form of SIP MESSAGE requests.
HTTP
The SMS are delivered to the VSServices SMS API which in turn convert them to SIP and sends to voipswitch using the credentials received in the request. It basically works as a bridge from HTTP to SIP.
...
For security reasons it is recommended to restrict access to the VSServices on a firewall and allow only the IP addresses of your SMS providers that send SMS to your network.
SMPP
VSServices supports inbound SMPP through an additional server component which is not shipped with the installation package. In order to use it please contact our support.