Unsolicited AlertNotification handling

Smpp v3.4 client

Moderator: alt

Locked
apmyp
Posts: 6
Joined: Sun Mar 04, 2007 12:35 pm

Unsolicited AlertNotification handling

Post by apmyp » 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
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Mon Apr 16, 2007 8:09 pm

Please try version 1.2.1. I've added support of AlertNotification message.
Sorry for long delay.
apmyp
Posts: 6
Joined: Sun Mar 04, 2007 12:35 pm

Post by apmyp » Tue Apr 17, 2007 7:17 am

thanks.
going to check new version.
Locked