Discussion:
ERROR: SMPP[xxxx]: got DLR but could not find message or was not interested in it
mahesh Lavanam
2018-08-03 06:37:25 UTC
Permalink
Hi,

Please help me in resolving the DLR issue

I have a SMS Port with 2 TX & 2 RX sessions enabled.

I have configured these sessions in two kannel configurations with same
smsc id

*kannel1.conf - 1TX & 1RX(SMSbox1 & Bearerbox1) *

#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1


#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1

kannel2.conf * - 1TX & 1RX(SMSbox2 & Bearerbox2) *

#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1


#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1


In kannel2.log file, I see that kannel1's sms DLRs are receiving and seeing
the error as below:

DEBUG: DLR[internal]: Looking for DLR smsc=tran, ts=0160683811,
dst=919134556661, type=1
WARNING: DLR[internal]: DLR from SMSC<tran> for DST<919134556661> not found.
ERROR: SMPP[bsnl_tran]: got DLR but could not find message or was not
interested in it id<0160683811> dst<919134556661>, type<1>

Same error at kannel1.log file, when received the SMS DLRs of kannel2's
messages

Please help me to resolve the issue, to route the DLRs into its respective
kannel's i.e., Kannel1's sent sms dlr into kannel1 & kannel2's sent sms dlr
into kannel2.

Thanks,
Mahesh
a***@kannel.org
2018-08-03 08:42:46 UTC
Permalink
Hi,

do both Kannel share the same database and table ? they have to share DLR database.

Alex
Post by mahesh Lavanam
Hi,
Please help me in resolving the DLR issue
I have a SMS Port with 2 TX & 2 RX sessions enabled.
I have configured these sessions in two kannel configurations with same smsc id
kannel1.conf - 1TX & 1RX(SMSbox1 & Bearerbox1)
#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
kannel2.conf - 1TX & 1RX(SMSbox2 & Bearerbox2)
#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
DEBUG: DLR[internal]: Looking for DLR smsc=tran, ts=0160683811, dst=919134556661, type=1
WARNING: DLR[internal]: DLR from SMSC<tran> for DST<919134556661> not found.
ERROR: SMPP[bsnl_tran]: got DLR but could not find message or was not interested in it id<0160683811> dst<919134556661>, type<1>
Same error at kannel1.log file, when received the SMS DLRs of kannel2's messages
Please help me to resolve the issue, to route the DLRs into its respective kannel's i.e., Kannel1's sent sms dlr into kannel1 & kannel2's sent sms dlr into kannel2.
Thanks,
Mahesh
mahesh Lavanam
2018-08-03 10:12:40 UTC
Permalink
But, this error I'm seeing at kannel.log file. I think as it is not
identifying it, it does not store into database.

Thanks,
Mahesh
Post by a***@kannel.org
Hi,
do both Kannel share the same database and table ? they have to share DLR database.
Alex
Hi,
Please help me in resolving the DLR issue
I have a SMS Port with 2 TX & 2 RX sessions enabled.
I have configured these sessions in two kannel configurations with same smsc id
*kannel1.conf - 1TX & 1RX(SMSbox1 & Bearerbox1) *
#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
kannel2.conf * - 1TX & 1RX(SMSbox2 & Bearerbox2) *
#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
In kannel2.log file, I see that kannel1's sms DLRs are receiving and
DEBUG: DLR[internal]: Looking for DLR smsc=tran, ts=0160683811, dst=919134556661, type=1
WARNING: DLR[internal]: DLR from SMSC<tran> for DST<919134556661> not found.
ERROR: SMPP[bsnl_tran]: got DLR but could not find message or was not
interested in it id<0160683811> dst<919134556661>, type<1>
Same error at kannel1.log file, when received the SMS DLRs of kannel2's messages
Please help me to resolve the issue, to route the DLRs into its respective
kannel's i.e., Kannel1's sent sms dlr into kannel1 & kannel2's sent sms dlr
into kannel2.
Thanks,
Mahesh
Fajar
2018-08-03 10:26:28 UTC
Permalink
use database with same DLR table, each kannel database has its own timestamp table store, so it is normal respond when DLR received in another kannel box...

On Friday, 3 August 2018, 5:13:55 PM GMT+7, mahesh Lavanam <***@metamorphsystems.com> wrote:

But, this error I'm seeing at kannel.log file. I think as it is not identifying it, it does not store into database.
Thanks,Mahesh
On Fri, Aug 3, 2018 at 2:12 PM, <***@kannel.org> wrote:

Hi,
do both Kannel share the same database and table ? they have to share DLR database.
Alex


Am 03.08.2018 um 08:37 schrieb mahesh Lavanam <***@metamorphsystems.com>:
Hi,
Please help me in resolving the DLR issue
I have a SMS Port with 2 TX & 2 RX sessions enabled.
I have configured these sessions in two kannel configurations with same smsc id
kannel1.conf - 1TX & 1RX(SMSbox1 & Bearerbox1) 
#1st tx connectiongroup = smscsmsc = smppsmsc-id = tranhost = xxx.xxx.xxx.xxport = xxxsmsc-username = xxxxxsmsc-password = xxxxxxsystem-type = smppconnect-allow-ip = 127.0.0.1source-addr-ton = 0source-addr-npi = 1dest-addr-ton = 1dest-addr-npi = 1

#1st Rx Connectiongroup = smscsmsc = smppsmsc-id = tranhost = xxx.xxx.xxx.xxport = xxxsmsc-username = xxxxxsmsc-password = xxxxxxsystem-type = smppconnect-allow-ip = 127.0.0.1source-addr-ton = 0source-addr-npi = 1dest-addr-ton = 1dest-addr-npi = 1
kannel2.conf  - 1TX & 1RX(SMSbox2 & Bearerbox2) 
#1st tx connectiongroup = smscsmsc = smppsmsc-id = tranhost = xxx.xxx.xxx.xxport = xxxsmsc-username = xxxxxsmsc-password = xxxxxxsystem-type = smppconnect-allow-ip = 127.0.0.1source-addr-ton = 0source-addr-npi = 1dest-addr-ton = 1dest-addr-npi = 1

#1st Rx Connectiongroup = smscsmsc = smppsmsc-id = tranhost = xxx.xxx.xxx.xxport = xxxsmsc-username = xxxxxsmsc-password = xxxxxxsystem-type = smppconnect-allow-ip = 127.0.0.1source-addr-ton = 0source-addr-npi = 1dest-addr-ton = 1dest-addr-npi = 1

In kannel2.log file, I see that kannel1's sms DLRs are receiving and seeing the error as below:

DEBUG: DLR[internal]: Looking for DLR smsc=tran, ts=0160683811, dst=919134556661, type=1WARNING: DLR[internal]: DLR from SMSC<tran> for DST<919134556661> not found.ERROR: SMPP[bsnl_tran]: got DLR but could not find message or was not interested in it id<0160683811> dst<919134556661>, type<1>
Same error at kannel1.log file, when received the SMS DLRs of kannel2's messages
Please help me to resolve the issue, to route the DLRs into its respective kannel's i.e., Kannel1's sent sms dlr into kannel1 & kannel2's sent sms dlr into kannel2.
Thanks,Mahesh
Денис Давыдов
2018-08-04 07:26:17 UTC
Permalink
Manesh,

See msg-id-type in the User Guide. Also I suggest you to enable debug mode
to smsc group (log_level=0) to see how your provider work with a message ID
numbers.

--
Regards,
Denis
Post by mahesh Lavanam
Hi,
Please help me in resolving the DLR issue
I have a SMS Port with 2 TX & 2 RX sessions enabled.
I have configured these sessions in two kannel configurations with same
smsc id
*kannel1.conf - 1TX & 1RX(SMSbox1 & Bearerbox1) *
#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
kannel2.conf * - 1TX & 1RX(SMSbox2 & Bearerbox2) *
#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
In kannel2.log file, I see that kannel1's sms DLRs are receiving and
DEBUG: DLR[internal]: Looking for DLR smsc=tran, ts=0160683811,
dst=919134556661, type=1
WARNING: DLR[internal]: DLR from SMSC<tran> for DST<919134556661> not found.
ERROR: SMPP[bsnl_tran]: got DLR but could not find message or was not
interested in it id<0160683811> dst<919134556661>, type<1>
Same error at kannel1.log file, when received the SMS DLRs of kannel2's
messages
Please help me to resolve the issue, to route the DLRs into its respective
kannel's i.e., Kannel1's sent sms dlr into kannel1 & kannel2's sent sms dlr
into kannel2.
Thanks,
Mahesh
mahesh Lavanam
2018-08-04 08:45:58 UTC
Permalink
Thank you all. It worked with the DLR Storage in same database.


- Mahesh
Post by Денис Давыдов
Manesh,
See msg-id-type in the User Guide. Also I suggest you to enable debug mode
to smsc group (log_level=0) to see how your provider work with a message ID
numbers.
--
Regards,
Denis
Post by mahesh Lavanam
Hi,
Please help me in resolving the DLR issue
I have a SMS Port with 2 TX & 2 RX sessions enabled.
I have configured these sessions in two kannel configurations with same
smsc id
*kannel1.conf - 1TX & 1RX(SMSbox1 & Bearerbox1) *
#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
kannel2.conf * - 1TX & 1RX(SMSbox2 & Bearerbox2) *
#1st tx connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
#1st Rx Connection
group = smsc
smsc = smpp
smsc-id = tran
host = xxx.xxx.xxx.xx
port = xxx
smsc-username = xxxxx
smsc-password = xxxxxx
system-type = smpp
connect-allow-ip = 127.0.0.1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
In kannel2.log file, I see that kannel1's sms DLRs are receiving and
DEBUG: DLR[internal]: Looking for DLR smsc=tran, ts=0160683811,
dst=919134556661, type=1
WARNING: DLR[internal]: DLR from SMSC<tran> for DST<919134556661> not found.
ERROR: SMPP[bsnl_tran]: got DLR but could not find message or was not
interested in it id<0160683811> dst<919134556661>, type<1>
Same error at kannel1.log file, when received the SMS DLRs of kannel2's
messages
Please help me to resolve the issue, to route the DLRs into its
respective kannel's i.e., Kannel1's sent sms dlr into kannel1 & kannel2's
sent sms dlr into kannel2.
Thanks,
Mahesh
Loading...