Anyone knows how to set timeout when submit message (submit_sm) to SMSC? I have tried to set the receivetimeout (session.getReceiver().setReceiveTimeout) to 6 seconds but I still got the null response after around 30 seconds.
Below are the timeouts that I set:
- session.getReceiver().setReceiveTimeout(6000)
- session.getReceiver().setQueueTimeout(6000)
- TCPIPConnection.setCommsTimeout(5000)
- TCPIPConnection.setReceiveTimeout(5000)
Currently I am using OpenSMPP
TIA :)
make new future task
then call it. i used 100 ms as timeout