I have 2 SMSC - the main and reserve.

It is necessary to disable SMS with the main SMSC is automatically sent through 
the backup SMSC.

After the restoration of connection with the main SMSC came sms return to it.

SMS sent via SMPP

--
С уважением,
Беляев В.Н.



From: spameden [mailto:spame...@gmail.com] 
Sent: Thursday, February 11, 2016 10:29 AM
To: Беляев Владимир Николаевич
Cc: users@kannel.org
Subject: Re: Not work "priority" in settings SMSC

 

 

 

2016-02-11 7:31 GMT+03:00 Беляев Владимир Николаевич <v.bely...@sngb.ru 
<mailto:v.bely...@sngb.ru> >:

While you can install one primary center and the other - a reserve that it went 
SMS only in case of unavailability of the ground?

 

If I got you right you want to have multiple SMSC connections and balance 
between them if ONLY one of the link goes down?

 

You can do this if you assign different smsc-id for each SMSC connection and 
specify smsc-id at your application level, e.g.:

for smsbox: http://.../sendsms?receiver=... 
<http://.../sendsms?receiver=...&smsc_id=smscid1> &smsc_id=smscid1 
sendsms?receiver=...&smsc_id=smscid2

 

or for sqlbox: you can just set smsc-id="smscid1" upon INSERT.

 

You can monitor current state of SMSC uplinks via berearebox status page.


--
С уважением,
Беляев В.Н.

-----Original Message-----
From: users [mailto:users-boun...@kannel.org <mailto:users-boun...@kannel.org> 
] On Behalf Of Milan P. Stanic
Sent: Wednesday, February 10, 2016 11:05 PM
To: users@kannel.org <mailto:users@kannel.org> 
Subject: Re: Not work "priority" in settings SMSC

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