jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.04k stars 556 forks source link

SMS Transction timeout #229

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hello!

Please advise what is timeout for one SMS transaction(submit_sm + submit_sm_resp).

Is there any possibility to tune it up manually?

farirat commented 9 years ago

Check the smppc connector parameters here: http://docs.jasminsms.com/en/latest/management/jcli/modules.html#smpp-client-connector-manager

And especially:

res_to  Timeout for responses to any request PDU
trx_to  Maximum time lapse allowed between transactions, after which, the connection is considered as inactive and will reconnect
pdu_red_to  Timeout for reading a single PDU, this is the maximum lapse of time between receiving PDU’s header and its complete read, if the PDU reading timed out, the connection is considered as ‘corrupt’ and will reconnect
ghost commented 9 years ago

How the Jasmin behaves in the next scenario:

Jasmin sends submit_sm to the SMSC, but get no submit_sm_resp in timeout that set in settings?

farirat commented 9 years ago

It will end any outbound transaction and stop the connector, considering the connection is down.

ghost commented 9 years ago

What will be sent to ESME for example, the message was received from?

farirat commented 9 years ago

Sorry but i dont get you

farirat commented 9 years ago

Issue is continued in #247