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
CMS Error 21: Can't send sms to Diafaan
sp_NewPost Add Reply sp_NewTopic Add Topic
July 20, 2023
8:44 pm
Henk Helmantel
Admin
Forum Posts: 1502
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Yes, you can use the HTTP API to change individual settings of the gateways and connectors. You can find more information in the send-server-command section in the HTTP API specification in the online manual.

Regards, Henk

July 19, 2023
10:48 pm
Max
Guest
Guests

How can I automatically change GSM modem settings using the HTTP API? Is it possible?

Screenshot: [*REMOVED*]

Thanks Hank!

July 19, 2023
10:18 pm
Max
Guest
Guests

Thank You, Henk! <3

July 19, 2023
4:09 pm
Henk Helmantel
Admin
Forum Posts: 1502
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Max,

Numbers in an SMS message always have a corresponding Address Type. By default, Diafaan SMS Server uses Address Type 'Network Specific' for short codes (numbers with less than 5 digits). The default Address Type in Diafaan SMS Server for longer numbers is 'International'. You can also use prefix '+' to indicate that a number is 'International', '#' for 'Nationa'l or '*' for the 'Unknown' Address Type.

Apparently, your network operator does not like the 'Network Specific' Address Type and that is why adding the + prefix works. If you set the MaxShortCodeLength in the advanced settings of the GSM Modem Gateway to '0', the number 333 will not be marked as a short code but will be handled as an 'International' number.

Regards, Henk

July 19, 2023
2:26 am
Max
Guest
Guests

Hello!

I'm trying to send an SMS to the short number "333" and it returns an error 21, but when I try to send the same SMS using a third-party application (SMSCaster), it is successfully sent. I also noticed that if you specify the number as "+333", then it is also successfully sent. Help me to understand;

Help me please.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
4 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