Page 1 of 1

How to handle exception of deliver_sm processing with Inetlab.SMPP?

Posted: Fri Oct 14, 2022 4:50 am
by artemisclark
How to handle exception of deliver_sm processing with Inetlab.SMPP?

Thanks in advance!

Re: How to handle exception of deliver_sm processing with Inetlab.SMPP?

Posted: Fri Oct 14, 2022 4:28 pm
by alt
If SmppClient instance is not subscribed to evDeliverSm event the ESME_RINVCMDID will be returned.
If the handler of the event evDeliverSm is failed the ESME_RSYSERR will be returned and the error is written into the library log

You can always use try catch in the event handler method to handle the processing error and return any status in the DeliverSmResp.