Hello.

According to documentation:

priority number
Optional, sets the default priority of messages transmitted over this smsc
link. (Defaults to 0, which is the highest priority)
which means that default priority is 0 (highest), range of priority field
is 0-3, 0 is highest, 3 is lowest.

so you need to form a queue where all messages are going with priority = 3
or priority = 2 if you like and set priority=0 for messages which should go
in hurry first.

in kannel there is a prioqueue algorythm implemented, so generally it
should work.

If it's not - you might try this solution with sqlbox:
http://stackoverflow.com/questions/8458566/implementing-priority-queue-in-kannel

2016-02-10 21:05 GMT+03:00 Milan P. Stanic <m...@arvanta.net>:

> On Wed, 2016-02-10 at 16:31, Беляев Владимир Николаевич wrote:
> > Option does not work "priority" in settings SMSC.
> >
> > I set up the SMSC1 priority=0, SMSC2 priority=3, but SMS is distributed
> > evenly.
> >
> > Why can this be?
>
> I don't have time to look into the code but from memory I think that the
> priority parameter is for setting default message priority for
> particular SMSC and is not global parameter which set priorities between
> SMSCs. But, I could be wrong.
>
> > Kannel 1.5.0
> >
> > Config:
> > group=smsc
> > smsc=smpp
> >
> > smsc-id=devino_mrk
> >
> > system-type=
> >
> > interface-version=34
> >
> > enquire-link-interval=270
> >
> > source-addr-ton=5
> >
> > source-addr-npi=1
> >
> > dest-addr-ton=1
> >
> > dest-addr-npi=1
> >
> > msg-id-type=0x00
> >
> > log-file="/var/log/kannel/devino_mrk.log"
> >
> > log-level=0
> >
> > priority=0
> >
> >
> >
> > # СМС-Трафик тест
> >
> > group=smsc
> >
> > smsc=smpp
> >
> > smsc-id=smstraffic_test
> >
> > system-type=smpp
> >
> > interface-version=34
> >
> > enquire-link-interval=270
> >
> > source-addr-ton=1
> >
> > source-addr-npi=1
> >
> > dest-addr-ton=1
> >
> > dest-addr-npi=1
> >
> > msg-id-type=0x00
> >
> > log-file="/var/log/kannel/smstraffic_test.log"
> >
> > log-level=0
> >
> > priority=3
>
>

Reply via email to