ajankovic / smpp

Go library for SMPP 3.4
MIT License
25 stars 22 forks source link

In SMPP server mode (SMS-C) makeTransition prevent to send DeliverSM #10

Open goten4 opened 4 years ago

goten4 commented 4 years ago

Hello,

In session.go, in makeTransition() function, there's a mistake in the case « If sending from SMSC or receiving on ESME ». In this case and for StateBoundTRx, the pdu.DeliverSmID should be allowed instead of pdu.DeliverSmRespID.