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
How to set message Priority in MS-SQL?
sp_NewPost Add Reply sp_NewTopic Add Topic
July 27, 2013
1:28 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

In this case the priority does not matter, since modem B is idle anyway and the message is sent immediately with modem B while the other messages are queued and sent with modem A.

When one of the modems is idle, Diafaan SMS Server looks for the first messages in the queue that is allowed to be routed with that modem and sends these messages. The priority only matters if there are multiple messages in the queue for the same modem or SMPP connection.

Regards, Henk

July 27, 2013
7:52 am
Sohail Ahmad
Guest
Guests

Sorry,
What kind of this priority is?
if there is 10k messages in the queue with lowest priority for modem "A", then a message come to the SQL database with highest priority and to be sent by modem "B"

let me reface the scenario,

10k messages are already queued for Modem "A" with lowest priority.
1 message come with highest priority for Modem "B"

How to handle diafaan this scenario ?

July 25, 2013
8:29 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Sohail Ahmad,

The higher priority value will be sent first, in your example that will be message B.

The priority can be any number, the messages with the highest priority number is put in front of the queue and the messages with the lowest priority are in the back of the queue. Priority 0 is the default priority in Diafaan SMS Server but you can set a custom default priority for each connector.

Regards, Henk

July 25, 2013
8:07 pm
Sohail Ahmad
Guest
Guests

Hello,

i just want to know to set the Priority or the message which is to be sent using MS-SQL?

for example,
Message "A" have Priority = 0
Message B"" have Priority = 1

which message will be sent first by the Diafaan Server?

0 is the highest Priority or the last number ?

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: 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