Error Code 4097

Smpp v3.4 client

Moderator: alt

Locked
roshan25
Posts: 1
Joined: Sun Jan 31, 2010 5:52 am

Error Code 4097

Post by roshan25 » Sun Jan 31, 2010 5:58 am

Sometimes when I try to connect to the SMSC, the application gets connected but disconnects itself with the 4097 command status (Unexpected Response). I'd like to know what are the main causes of gettin this command status in response because sometimes the connection is completely OK but sometimes the SMSC responds with 4097 command status (Unexpected Response).

What are the probable causes for this error and How can I avoid such situations?
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Mon Feb 01, 2010 10:37 am

4097 (0x1001) code returns when SmppClient is not able to parse reposnse from SMSC. In this case please post here bad response and I'll try to find the reason. Event evReceiveData will help you to get SMPP response before parsing.
Locked