Query on DLRs using smpp connection Kannel 1.4.5

2023-11-15 Thread Ariel Lipschitz
Hi

Hope you are well

I am struggling to receive all DLRs. I thing they get stuck in the internal
storage and are never reprocessed.

Our provider as well as the handset receives the SMS and confirms delivery
but our Logs and stats do not show delivery

Herewith my config details:

# kannel.conf
group = core
admin-port = 14000
admin-password = foo
status-password = bar
admin-allow-ip = '*.*.*.*'
smsbox-port = 14003
log-level = 0
log-file = "/var/log/kannel/kannel.log"
box-allow-ip = "*.*.*.*"
access-log = "/var/log/kannel/access.log"

group = smsc
smsc = smpp
smsc-id = foo
host = foo.bar.com
smsc-username = foo
smsc-password = bar
port = 2775
system-type = "0"
service-type = "CMT"
transceiver-mode = true
msg-id-type = 0x01

group = smsbox
smsbox-id = BOX1
bearerbox-host = localhost
sendsms-port = 14014
global-sender = 14014
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"

# For Sending SMS push
group = sendsms-user
username = foo
password = bar
default-smsc = foo
concatenation= true
max-messages = 5
forced-smsc = foo

# For Receiving SMS
group = sms-service
keyword = default
catch-all = yes
max-messages = 1
post-url = foobar.com

group = smsbox-route
smsbox-id = BOX1
smsc-id = foo

This is what our status.html is seeing:

SMS: received 0 (0 queued), sent 1 (0 queued), store size -1
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

DLR: received 1, sent 0
DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 1 queued, using internal storage

Regards,
Ariel


Re: Query on DLRs using smpp connection Kannel 1.4.5

2023-11-16 Thread Ariel Lipschitz
Hi Ahmed

Thanks for the response

For some reason our Store page doesnt display anything. We do get some DLRs
and some replies but others get "lost"
Could there be something else or do you think its most likely getting
"lost" on the provider's end?

Regards,
Ariel





On Wed, Nov 15, 2023 at 7:41 PM Ahmed Shabana  wrote:

> check the store-status page to able to figure out the received dlr , it
> may be as simple as you did not register dlr-url to make kannel able to
> callback on it
>
> Ahmed Shabana
> Principal Software Architect
> M: +201003325373
> a.shab...@cequens.com
> www.cequens.com
> <http://www.cequens.com/>
> <http://www.cequens.com/>
> ------
> *From:* devel  on behalf of Ariel Lipschitz <
> ar...@logicsms.co.za>
> *Sent:* Wednesday, November 15, 2023 6:05 PM
> *To:* devel@kannel.org 
> *Subject:* Query on DLRs using smpp connection Kannel 1.4.5
>
> You don't often get email from ar...@logicsms.co.za. Learn why this is
> important <https://aka.ms/LearnAboutSenderIdentification>
> *MIS Warning:* The Sender of this message could not be validated and
> maybe not the actual sender!
> Hi
>
> Hope you are well
>
> I am struggling to receive all DLRs. I thing they get stuck in the
> internal storage and are never reprocessed.
>
> Our provider as well as the handset receives the SMS and confirms delivery
> but our Logs and stats do not show delivery
>
> Herewith my config details:
>
> # kannel.conf
> group = core
> admin-port = 14000
> admin-password = foo
> status-password = bar
> admin-allow-ip = '*.*.*.*'
> smsbox-port = 14003
> log-level = 0
> log-file = "/var/log/kannel/kannel.log"
> box-allow-ip = "*.*.*.*"
> access-log = "/var/log/kannel/access.log"
>
> group = smsc
> smsc = smpp
> smsc-id = foo
> host = foo.bar.com
> smsc-username = foo
> smsc-password = bar
> port = 2775
> system-type = "0"
> service-type = "CMT"
> transceiver-mode = true
> msg-id-type = 0x01
>
> group = smsbox
> smsbox-id = BOX1
> bearerbox-host = localhost
> sendsms-port = 14014
> global-sender = 14014
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
>
> # For Sending SMS push
> group = sendsms-user
> username = foo
> password = bar
> default-smsc = foo
> concatenation= true
> max-messages = 5
> forced-smsc = foo
>
> # For Receiving SMS
> group = sms-service
> keyword = default
> catch-all = yes
> max-messages = 1
> post-url = foobar.com
>
> group = smsbox-route
> smsbox-id = BOX1
> smsc-id = foo
>
> This is what our status.html is seeing:
>
> SMS: received 0 (0 queued), sent 1 (0 queued), store size -1
> SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
>
> DLR: received 1, sent 0
> DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
> DLR: 1 queued, using internal storage
>
> Regards,
> Ariel
>
>
>