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

Post Reply
artemisclark
Posts: 1
Joined: Fri Oct 14, 2022 4:46 am

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

Post by artemisclark » Fri Oct 14, 2022 4:50 am

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

Thanks in advance!
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

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

Post by alt » Fri Oct 14, 2022 4:28 pm

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.
Post Reply