Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
USA phone number template
sp_NewPost Add Reply sp_NewTopic Add Topic
November 15, 2016
12:13 pm
rhaber123
Guest
Guests

Step 1 - Web Connector advanced settings of the number template regex:[^\d]replace:
Step 2 - Clickatell Gateway advanced settings of the number template [1]##########

Now it is working
THANK YOU

November 15, 2016
10:20 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

In the current version of Diafaan SMS Server this number translation must be done in two steps, in future versions it will be possible to do it in one step.

To add the US international access number prefix to the phone number for the Clickatell service, set the 'NumberTemplate' property of the Clickatell Gateway to '[1]##########'.

Regards, Henk

November 15, 2016
5:20 am
rhaber123
Guest
Guests

That code worked. THANK YOU.

But now I need your help one more time.

I signed up for Clickatell account. They require to use the country code first, and the phone numbers after.
All the phone numbers in our old programs are ten digit numbers, but we do not have the country code (1) at the beginning of these numbers.

What is code that diafaan should use now in the "number template" to ad the country code of the USA , 1 , BEFORE THE 10 DIGITS PHONE NUMBER, and we still need to strip the phone numbers of all non digit numbers??

November 14, 2016
9:44 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

You can use the following text in the 'NumberTemplate' property in the advanced settings of the connectors to strip the phone numbers of all non-digit characters:

regex:[^\d]replace:

Regards, Henk

November 13, 2016
7:05 pm
rhaber123
Guest
Guests

USA FORMAT to make calls in the states :(###)###-####

We use an older software, and the phone numbers entered PREVIOUSLY have many BAD different formats, FOR EXAMPLE:
(### ### -#### missing parenthesis and extra space
###-###-#### extra dash
(###)####### no dash
###) ### #### missing different parenthesis and extra space

When we try to send text message, an error message says it is an "Invalid SMS number"
How to solve this problem?
How to tell Diafaan to ignore all the symbols or letters or spaces and use only the numbers?

I READ ABOUT THE NUMBER TEMPLATE OPTION THAT YOU HAVE IN THE MANUAL, BUT I WAS NOT ABLE TO FIGURE IT OU.
NEED YOUR HELP

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488