Skip to content

Can't listen to incoming DLR #2

@pelcasandra

Description

@pelcasandra

I'm not being able to receive DLR. I can connect but after a few seconds I got the following error:

smpp-cli listen 7070 -h 127.0.0.1 -p 13004  -L user -P pass  -C ~/Desktop/DLR.log
Connected to SMPP @ May 21st 2021, 9:37:59 pm
Started DNode server at 7070
Waiting for SMS...
Started DLRs listener
Waiting for delivery reports...
/usr/local/lib/node_modules/smpp-cli/lib/DeliveryReport.js:28
  this._messageId  = result[1];
                           ^

TypeError: Cannot read property '1' of null
    at DeliveryReport._parseDeliveryReport (/usr/local/lib/node_modules/smpp-cli/lib/DeliveryReport.js:28:28)
    at new DeliveryReport (/usr/local/lib/node_modules/smpp-cli/lib/DeliveryReport.js:15:8)
    at Session.<anonymous> (/usr/local/lib/node_modules/smpp-cli/lib/index.js:81:16)
    at Session.emit (events.js:376:20)
    at Session._extractPDUs (/usr/local/lib/node_modules/smpp-cli/node_modules/smpp/lib/smpp.js:67:8)
    at Socket.emit (events.js:376:20)
    at emitReadable_ (internal/streams/readable.js:569:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)

Not sure if this is a bug. Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions