Occasionally when I send an SMS the send appears to fail, I get a popup warning dialogue and a failure shown in my WWW log. What can cause this?
In previous releases the default timeout for contacting SMS gateways was set to 10 seconds, this default limit has now been raised to 30 seconds as occasionally the SMS Gateway provider may take longer than 10 seconds to respond.
If you find that the SMS send is still timing out trying to connect to the SMS Gateway there are now two options that can be added to the ini file for the gateway in question.
Both of these are set in seconds and each should be added on a line of there own to the gateway ini file. The following example shows how the ini file for an account with Clickatell would look with the two new entries, both set to 45 seconds
Comment=Clickatell SMS Service Gateway=SMS Type=POST Serve,r=api.clickatell.com Script=/http/sendmsg? Template=api_id=xxxxx&user=%u%&password=%p%&to=%t%&text=%m%&from=%f% OKResponse=ID: StripLeadingZero=yes MaxLength=160 SendTimeout=45 ReceiveTimeout=45
Keywords:SMS timeout failure