Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Remove Leading 0 From Mobile#

Avatar

Avatar
Contributor
Level 3
robertc66522596
Level 3

Likes

35 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Contributor
Level 3
robertc66522596
Level 3

Likes

35 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back
View profile
robertc66522596
Level 3

28-08-2019

Hello,

I am trying to establish our Mobile Channel through Campaign Classic, however our vendor told me that the last remaining issue is that we are sending mobile numbers with a leading 0. This causes the messages to error out in their system.

It appears that the leading zero is added to the recipient field itself and i am unable to remove it from the associated form. I have set up an Extended SMPP External Account and tried using different MT Acknowledgement and Encoding settings per this documentation: SMS connector protocol and settings -- however the leading 0 is not removed from the delivery address.

Is there a different setting in the External Account or something specific to the Recipient field that needs to be updated? What am i missing?

Thank you for your help!

Robbie

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

384 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

384 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile
Milan_Vucetic
MVP

28-08-2019

On the schema list, please look for xtk:common.

Now in this schema definition, you would find the code:

<element dataPolicy="phone" desc="Mobile phone number" label="Mobile" length="32"

           name="mobilePhone" type="string"/>

Here, the dataPolicy="phone" is what governs the format of the phone number you might add.

I would recommend that you extend the recipient (or other) schema, and redefine the attribute related to phone number, without the data policy. That would overwrite the OOB definition.

Extend the nms:recipient schema, and create the attribute <attribute desc="xxx" name="mobilePhone" type="string" label="yyy" length="32" dataPolicy="none"/>

This removes the default data policy associated with this attribute. Then you can save the phone number as you want.

Answers (1)

Answers (1)

Avatar

Avatar
Contributor
Level 3
robertc66522596
Level 3

Likes

35 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Contributor
Level 3
robertc66522596
Level 3

Likes

35 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back
View profile
robertc66522596
Level 3

03-09-2019

Thank you! That did the trick.