You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let me try to explain the problem we are facing right now.
Our SMSC is allowing only one bind when we we try to have more than one bind they are throwing negative response with code 05.
Now the problem is
We already established the connection with SMSC i.e. BOUND_TRX
now somehow we have got the momentary VPN issue and our state change listener received the closed state.
In our code whenever we receive the close state we try to re-connect and bind but as SMSC has not timeout the connection because there timeout is 2 minute. so our connection is in already bind state from there side and because of this they immediately throws negative response to our connect and bind state with code 05 i.e. only one bind is allowed.
Now to avoid this problem we should call the unbind and close method but the question is when should we call this. unbindAndClose method do not send unbind request when the session state is closed. So what should we do on receive of close state ?
Please help us as this is major issue we are struggling with.
The text was updated successfully, but these errors were encountered:
Hi
Let me try to explain the problem we are facing right now.
Our SMSC is allowing only one bind when we we try to have more than one bind they are throwing negative response with code 05.
Now the problem is
We already established the connection with SMSC i.e. BOUND_TRX
now somehow we have got the momentary VPN issue and our state change listener received the closed state.
In our code whenever we receive the close state we try to re-connect and bind but as SMSC has not timeout the connection because there timeout is 2 minute. so our connection is in already bind state from there side and because of this they immediately throws negative response to our connect and bind state with code 05 i.e. only one bind is allowed.
Now to avoid this problem we should call the unbind and close method but the question is when should we call this. unbindAndClose method do not send unbind request when the session state is closed. So what should we do on receive of close state ?
Please help us as this is major issue we are struggling with.
The text was updated successfully, but these errors were encountered: