Unsolicited AlertNotification handling
Posted: Sun Mar 04, 2007 12:56 pm
Hi there
First of all wanted to say thanks for great job.
Next, I've tried to run your demo app against SCTT smsc simulator and noticed following error. The simulator has an option to execute commands in cmds.conf and there is possibility to originate unsolicited AlertNotification PDUs in order to check client's error handling capability. When this option is turned on SmppClient receives the PDU parses it and raises error appropriately, with comment string "Undefined packet received : AlertNotification with status ESME_ROK". The problem is that the error occures over and over, not just once, so the application gets in some kind of infinite loop and stops responding to the other events.
Shouldn't it clear the error event after first call? Or maybe I missed something, and there's a way to reset it in error handler? Could you please shed some light on this issue?
Thanks in advance
First of all wanted to say thanks for great job.
Next, I've tried to run your demo app against SCTT smsc simulator and noticed following error. The simulator has an option to execute commands in cmds.conf and there is possibility to originate unsolicited AlertNotification PDUs in order to check client's error handling capability. When this option is turned on SmppClient receives the PDU parses it and raises error appropriately, with comment string "Undefined packet received : AlertNotification with status ESME_ROK". The problem is that the error occures over and over, not just once, so the application gets in some kind of infinite loop and stops responding to the other events.
Shouldn't it clear the error event after first call? Or maybe I missed something, and there's a way to reset it in error handler? Could you please shed some light on this issue?
Thanks in advance