Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

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

MessageFrom with Special Characters
sp_NewPost Add Reply sp_NewTopic Add Topic
November 17, 2022
5:31 pm
Henk Helmantel
Forum Posts: 1502
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Sarfaraz,

The problem is caused by the underscore '_' character in the source address. An alphanumeric source address in an SMS message can only contain characters from the default SMS character set but instead of only filtering out the characters that are not in the default SMS character set, the SMPP Gateway also converts the character to the corresponding hexadecimal number of the character in the default SMS character set. This is OK for most characters, but a few ASCII characters do not have the same character number as in the default SMS character set, like the underscore, and there it goes wrong.

I will send you a plugin for the SMPP Gateway with a fix for this problem tomorrow.

Regards, Henk

November 17, 2022
12:08 pm

Hello Henk,

Hope you are doing well. Again a big thank you for such a wonderful application and for your continues support & updates.

Today we came across a rather strange issue. When we use a sender as mqjc_sg, magic_sms in the MessageFrom it goes as a different character all together to the SMPP Gateways. Below is the submit response.

2022/11/17 16:28:29.410 - command:enquire_link_resp status:ok sequence:68660
2022/11/17 16:28:34.395 00000010800000150000000000000002
2022/11/17 16:28:34.395 - command:enquire_link_resp status:ok sequence:2
2022/11/17 16:28:43.895 > 0000004F000000040000000000010C350005006D716A63117367000101323031313439393336353730000000000000010000001B596F7572204F5450206973203233333220465159516C5844686854
2022/11/17 16:28:43.895 - command:submit_sm status:ok sequence:68661 source:mqjcsg dest:+201149936570 short_message:Your OTP is 2332 FQYQlXDhhT
2022/11/17 16:28:44.035 < 00000031800000040000000000010C35313834383533646232373930303030356664333831323965666638613465653500
2022/11/17 16:28:44.035 - command:submit_sm_resp status:ok sequence:68661 message_id:184853db27900005fd38129eff8a4ee5
2022/11/17 16:29:04.426 < 00000010000000150000000000000003

Request you to please look into this and let us know the work around.

Thanks in advance. Have a great day ahead!!

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 677

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1149

Posts: 3928

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1502