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
Process queue by user or another paramter
sp_NewPost Add Reply sp_NewTopic Add Topic
January 24, 2023
3:23 pm
John
Guest
Guests

Thank you, Henk.

I appreciate the support.

I will see to handle it this way.

Regards,
John.

January 16, 2023
9:45 am
Henk Helmantel
Admin
Forum Posts: 1502
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello John,

The message queue in Diafaan SMS Server does not offer such refined control over the message sending process.

Normally, a message is sent when it is in front of the message queue and one of the gateways is available (and allowed) to send the message. The gateway routing options (which gateway can send which messages) can be set in the 'Gateways' setting of each connector.

If you want to control the message sending process more precise, you can use the priority setting for each message. The priority is a number from 0 til 2^63-1 where a higher number means that the message is put more in front of the queue than messages with a lower number priority. What you could do is to give the first 10 messages of each client priority 2^63-1, the next 10 messages of each client priority 2^63-2 etc. It takes a long time to get to priority 0 and you could reset the priority number each time the queue is empty to make sure that you never get to priority 0.

I am not sure if this solution would work properly in practice but it is the only solution I can think of.

Regards, Henk

January 13, 2023
9:39 pm
John
Guest
Guests

Hi,

I am considering using Diafaan to process SMS for my company, but I wanted to ask something I am not clear on.

I understand that you have one main queue to send messages and they are processed one by one in the order they came in.

I have many clients that send messages through my infrastructure, but I need to send a set number of messages for each client, regardless of how many messages there are in total. Say, if I have a queue of 100.000 SMS sent by 3 different clients - I need to process 10 messages for each, until the queue is finished (basically process 10 for client A, 10 for B, 10 for C - and repeat).

Is there any way to solve this using Diafaan?

Many thanks,
John.

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

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1149

Posts: 3929

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1502