6ae8 SMS Gateway - Outbound routing, Convert phone numbers into international format

                

Search the manual:

Overview Quick start Download Manual How to buy FAQ Contact Us
OZEKI NG SMS Gateway - Product Guide

Regular expressions Contents | SearchSQL logging

Home > Product Manual > User Guide > Configuration > Outbound routing > Convert phone numbers into international format

SMS Gateway SMS Gateway Home

  Product Manual
  Introduction
  SMS technology
  Installation Guide
  User Guide
  Quick Start Guide
  User Interface
  Configuration
  Inbound Routing
  Outbound routing
  Least cost routing
  Backup routing
  Multi provider
  Regular expressions
  Convert phone numbers into international format
  SQL logging
  Source routing
  Sender address
  Content manipulation
  Charset handling
  Client software
  Administrator's guide
  Developers Guide
  Examples and Solutions
  Appendix
  FAQ
  Feature list
  Commercial Information
  Search
 



Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.


Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create:

Webphone solutions:
- Adobe Flash video phone
- Silverlight video phone
- Web to web calls
- Web to VoIP calls

Custom SIP clients:
- Silverlight SIP VoIP client
- Flash SIP VoIP client
- C# .net SIP VoIP client
- ASP .net SIP VoIP client
- Web based SIP VoIP client

Custom VoIP solutions:
- VoIP SIP softphones
- VoIP call center clients
- VoIP IVR systems
- VoIP predictive dialer systems
- VoIP auto dialer systems
- VoIP call assistant
- VoIP call recording systems
- VoIP intercom solutions

How to convert local phone numbers into international phone numbers


This article provides information on how to convert local telephone numbers into international ones. You can learn how to configure your SMS gateway to convert phone numbers into international numbers automatically to make mobile messaging easier and convenient. With this solution you can also prevent several problems deriving from the use of phone numbers in not the proper forms. Therefore by applying an outbound route condition you can be sure that your messages will arrive at the mobile devices of recipients.

Outbound route expression:

s/^.*(.{10})$/+3$1 /

First of all you need to apply an outbound route condition that will convert phone numbers automatically. Therefore if you enter s/^.*(.{10})$/+3$1 / into "Condition 2. (Recipient phone number)" field, you can easily achieve this function (Figure 1).


Figure 1 - Outbound route expression

Please note that in Hungary local phone numbers start with "06" while international number form means that "+36" is placed at the beginning of the phone number. In "s/^.*(.{10})$/+3$1 /" expression "10" refers to the fact that it counts back 10 from the end of the phone number and cuts down the numbers. "+3" refers to the fact that it places "+3" at the beginning of the phone number (in this way it becomes an international phone number that starts with "+36" as it cuts down "0" from the beginning of the phone number and replaces it by "+3").
You can freely configure this expression by changing the numbers in it according to the local phone numbers of your country.

To demonstrate this solution I send a test message and I define a local phone number (06301122334) as a recipient phone number (Figure 2).


Figure 2 - Test message with a local phone number

In the Events of "admin" user in Ozeki NG SMS Gateway you can see that the message has been sent out with local phone number (starts with 06) but it arrives at the SMS center with international phone number (starts with +36), due to the regular expression of outbound route (Figure 3).


Figure 3 - Sent message at the events

Figure 4 shows the Events of SMPP service provider connection in Ozeki NG SMS Gateway. You can see that the sent message has been sent in international form.


Figure 4 - Sent message at the SMPP service provider

Dig deeper!
People who read this also read...





Next page: SQL logging
Copyright © 2000 - 2013 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com


0