Re: Need an Assistance in my Kannel Config

2020-02-23 Thread Davor Spasoski




Another possibility is that the number base of the msg-id does not match with the SMSC. Do you maybe have connecion to more than one SMSC, either explicitelly or behind the virtual IP of the smsc? Check the manual:






msg-id-type
number
Optional, specifies which number base the SMSC is using for the message ID numbers in the corresponding submit_sm_resp and deliver_sm PDUs. This is required to make delivery reports
 (DLR) work on SMSC that behave differently. The number is a combined set of bit 1 and bit 2 that indicate as follows: bit 1: type for submit_sm_resp, bit 2: type for deliver_sm. If the bit is set then the value
 is in hex otherwise in decimal number base. Which means the following combinations are possible and valid: 0x00 deliver_sm decimal, submit_sm_resp decimal; 0x01 deliver_sm decimal, submit_sm_resp hex;
 0x02 deliver_sm hex, submit_sm_resp decimal; 0x03 deliver_sm hex, submit_sm_resp hex. In accordance to the SMPP v3.4 specs the default will be a C string literal
 if no of the above values is explicitly indicated using the config directive.







On Feb 18, 2020, at 06:13, Robin C  wrote:



Hi,


The same is happening to me also. Sometimes I am not receiving the DLR of delivered messages also. If i sent 1000  messages i might get 900 DLRs. What might be the reason.



On Mon, Feb 17, 2020 at 3:57 PM Tolga Ulas  wrote:


Also check your smpp logs (raise it to debug level in your config) and
check if kannel can successfully create outgoing dlr records and can
match them with incoming dlrs during transactions. If all goes well
you will see no warning or error for all messages

> - Maybe you have messages that are pending and they have different status. - Try with a simple mask (3) and then set a short expiration of the messages that you are going to test. Have one test phones on, one that you will turn on before expiration and a
 third one that you don’t turn-on before the expiration. Record all the dlrs that the SMSC will send and try to figure out the logic. Increase the dlr-mask and check the other scenarios - check with the SMSC operator if they send back an SLR if the message
 is expired or deleted from the SMSC DB for whatever reason. Regards, Davor






-- 


 Thanks
 & Regards,
    















Disclaimer:  This message contains confidential information and is intended only for the individual named.  If you are not the named addressee you should not disseminate, distribute
 or copy this e-mail.  Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.  E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,
 corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.  The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.  If verification is required
 please request a hard-copy version.
7 Switch
 off as you go |q Recycle
 always | P Print
 only if absolutely necessary














Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and
 delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or incomplete
 transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината содржина, туку веднаш
 да ја препратите до испраќачот и да ја избришете оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое неовластено користење на оваа порака во целост или делови од истата е строго забрането. Ве молиме да забележите дека електронските
 пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!





Re: Need an Assistance in my Kannel Config

2020-02-17 Thread Robin C
Hi,

The same is happening to me also. Sometimes I am not receiving the DLR of
delivered messages also. If i sent 1000  messages i might get 900 DLRs.
What might be the reason.

On Mon, Feb 17, 2020 at 3:57 PM Tolga Ulas  wrote:

> Also check your smpp logs (raise it to debug level in your config) and
> check if kannel can successfully create outgoing dlr records and can
> match them with incoming dlrs during transactions. If all goes well
> you will see no warning or error for all messages
>
> > - Maybe you have messages that are pending and they have different
> status. - Try with a simple mask (3) and then set a short expiration of the
> messages that you are going to test. Have one test phones on, one that you
> will turn on before expiration and a third one that you don’t turn-on
> before the expiration. Record all the dlrs that the SMSC will send and try
> to figure out the logic. Increase the dlr-mask and check the other
> scenarios - check with the SMSC operator if they send back an SLR if the
> message is expired or deleted from the SMSC DB for whatever reason.
> Regards, Davor
>
>

-- 
 *Thanks & Regards,*








Disclaimer:  This message contains confidential information and is intended
only for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please notify the
sender immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system.  E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain
viruses.  The sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a result of
e-mail transmission.  If verification is required please request a
hard-copy version.

*7* Switch off as you go |*q *Recycle always | P Print only if absolutely
necessary


RE: Need an Assistance in my Kannel Config

2020-02-17 Thread Davor Spasoski
- Maybe you have messages that are pending and they have different status.
- Try with a simple mask (3) and then set a short expiration of the messages 
that you are going to test. Have one test phones on, one that you will turn on 
before expiration and a third one that you don’t turn-on before the expiration. 
Record all the dlrs that the SMSC will send and try to figure out the logic. 
Increase the dlr-mask and check the other scenarios
- check with the SMSC operator if they send back an SLR if the message is 
expired or deleted from the SMSC DB for whatever reason.

Regards,
Davor

From: Rasika Udayanga 
Sent: Monday, February 17, 2020 3:44 AM
To: Davor Spasoski 
Cc: users@kannel.org
Subject: RE: Need an Assistance in my Kannel Config

Dear Davor,
I’m sending 63 as the dlr mask. Can that be a cause to not to receive some of 
the delivery reports of those were acknowledged? Please assist.

“dlr_mask=63”

Regards,
Rasika.


From: Davor Spasoski [mailto:davor.spaso...@a1.mk]
Sent: Saturday, February 15, 2020 1:38 PM
To: Rasika Udayanga
Cc: users@kannel.org<mailto:users@kannel.org>
Subject: Re: Need an Assistance in my Kannel Config

Dear Rasika,

First suspect is dlr-mask. You have to set it minimally to both delivery 
success and delivery failure (3).
Other condiition is to set smsc-id, which I see you did.

Check this part of kannel userguide:

"When you deliver SMS to Kannel you have to indicate what kind of delivery 
report messages you would like to receive back from the system. The delivery 
report types currently implemented are:
• 1: delivery success
• 2: delivery failure
• 4: message buffered
• 8: smsc submit
• 16: smsc reject
• 32: smsc intermediate notifications
If you want multiple report types, you simply add the values together. “

On Feb 15, 2020, at 05:23, Rasika Udayanga 
mailto:ras...@bellvantage.com>> wrote:

Dear All,
As per the below report, even though 108726 messages were acknowledged I have 
received only 60036  (sum of status 1 and 2) delivery reports. I cannot 
understand as to why there are no delivery reports for the rest of the 
acknowledged messages.

I’m a doing something wrong in my config? Can you please assist me.




group = core
dlr-storage = mysql
admin-port = 8206
admin-password = *
status-password = *
admin-allow-ip = "127.0.0.1"
log-level = 0
sms-resend-retry = 10
sms-combine-concatenated-mo = true
# Smsbox related
smsbox-port = 8205
box-allow-ip = "127.0.0.1"
smsbox-max-pending = 1


group = smsc
smsc = smpp
smsc-id = lankabell
host = **
port = **
smsc-username = ***
smsc-password = **
transceiver-mode = true
msg-id-type = 0x00
reconnect-delay = 2
wait-ack = 60
wait-ack-expire = 0x02
validityperiod = 1440
interface-version = 34
system-type = "VMA"

<https://lk.linkedin.com/in/rasikau>

Rasika Udayanga Kodithuwakku | Senior Manager
Information Technology
Bellvantage (Pvt) Ltd, No - 46, Vauxhall Street, Colombo 02, Sri Lanka.
Mobile :- +94 77 7289868 | Direct :- +94 11 5756256
E-Mail  :- ras...@bellvantage.com<mailto:ras...@bellvantage.com> | Web :- 
www.bellvantage.com<http://www.bellvantage.com/>





Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или 
нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак 
за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!



Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail

RE: Need an Assistance in my Kannel Config

2020-02-16 Thread Rasika Udayanga
Dear Davor,

I’m sending 63 as the dlr mask. Can that be a cause to not to receive some of 
the delivery reports of those were acknowledged? Please assist. 

 

“dlr_mask=63”

 

Regards,

Rasika.

 

 

From: Davor Spasoski [mailto:davor.spaso...@a1.mk] 
Sent: Saturday, February 15, 2020 1:38 PM
To: Rasika Udayanga
Cc: users@kannel.org
Subject: Re: Need an Assistance in my Kannel Config

 

Dear Rasika, 

 

First suspect is dlr-mask. You have to set it minimally to both delivery 
success and delivery failure (3).

Other condiition is to set smsc-id, which I see you did.

 

Check this part of kannel userguide:

 

"When you deliver SMS to Kannel you have to indicate what kind of delivery 
report messages you would like to receive back from the system. The delivery 
report types currently implemented are:

• 1: delivery success

• 2: delivery failure

• 4: message buffered

• 8: smsc submit

• 16: smsc reject

• 32: smsc intermediate notifications

If you want multiple report types, you simply add the values together. “

 

On Feb 15, 2020, at 05:23, Rasika Udayanga mailto:ras...@bellvantage.com> > wrote:

 

Dear All,

As per the below report, even though 108726 messages were acknowledged I have 
received only 60036  (sum of status 1 and 2) delivery reports. I cannot 
understand as to why there are no delivery reports for the rest of the 
acknowledged messages. 

 

I’m a doing something wrong in my config? Can you please assist me.

 



 

 

group = core

dlr-storage = mysql

admin-port = 8206

admin-password = *

status-password = *

admin-allow-ip = "127.0.0.1"

log-level = 0

sms-resend-retry = 10

sms-combine-concatenated-mo = true

# Smsbox related

smsbox-port = 8205

box-allow-ip = "127.0.0.1"

smsbox-max-pending = 1

 

 

group = smsc

smsc = smpp

smsc-id = lankabell

host = **

port = **

smsc-username = ***

smsc-password = **

transceiver-mode = true

msg-id-type = 0x00 

reconnect-delay = 2

wait-ack = 60

wait-ack-expire = 0x02 

validityperiod = 1440

interface-version = 34

system-type = "VMA"

 


 <https://lk.linkedin.com/in/rasikau> 

Rasika Udayanga Kodithuwakku | Senior Manager

Information Technology

Bellvantage (Pvt) Ltd, No - 46, Vauxhall Street, Colombo 02, Sri Lanka.

Mobile :- +94 77 7289868 | Direct :- +94 11 5756256

E-Mail  :- ras...@bellvantage.com <mailto:ras...@bellvantage.com>  | Web :- 
www.bellvantage.com <http://www.bellvantage.com/> 

 

 

  _  


Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или 
нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак 
за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!



Re: Need an Assistance in my Kannel Config

2020-02-15 Thread Davor Spasoski



Dear Rasika,


First suspect is dlr-mask. You have to set it minimally to both delivery success and delivery failure (3).
Other condiition is to set smsc-id, which I see you did.


Check this part of kannel userguide:


"When you deliver SMS to Kannel you have to indicate what kind of delivery report messages you would like to receive back from the system. The delivery report types currently implemented are:


• 1: delivery success


• 2: delivery failure


• 4: message buffered


• 8: smsc submit


• 16: smsc reject


• 32: smsc intermediate notifications


If you want multiple report types, you simply add the values together. “





On Feb 15, 2020, at 05:23, Rasika Udayanga  wrote:




Dear All,

As per the below report, even though 108726 messages were acknowledged I have received only 60036  (sum of status 1 and 2) delivery reports. I cannot understand as to why there are no delivery reports for the rest of the acknowledged messages. 

 

I’m a doing something wrong in my config? Can you please assist me.

 



 

 

group = core

dlr-storage = mysql

admin-port = 8206

admin-password = *

status-password = *

admin-allow-ip = "127.0.0.1"

log-level = 0

sms-resend-retry = 10

sms-combine-concatenated-mo = true

# Smsbox related

smsbox-port = 8205

box-allow-ip = "127.0.0.1"

smsbox-max-pending = 1

 

 

group = smsc

smsc = smpp

smsc-id = lankabell

host = **

port = **

smsc-username = ***

smsc-password = **

transceiver-mode = true

msg-id-type = 0x00 

reconnect-delay = 2

wait-ack = 60

wait-ack-expire = 0x02 

validityperiod = 1440

interface-version = 34

system-type = "VMA"

 









Rasika Udayanga Kodithuwakku | Senior Manager

Information Technology

Bellvantage (Pvt) Ltd, No - 46,
 Vauxhall Street, Colombo 02, Sri Lanka.

Mobile :- +94 77 7289868 | Direct :- +94 11 5756256

E-Mail  :- ras...@bellvantage.com |
 Web :- www.bellvantage.com













Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and
 delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or incomplete
 transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината содржина, туку веднаш
 да ја препратите до испраќачот и да ја избришете оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое неовластено користење на оваа порака во целост или делови од истата е строго забрането. Ве молиме да забележите дека електронските
 пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!