Hi Thomas, Have you decided yet whether it is an API timeout or a sms timeout? I suspect the latter (from the way it looks in the log) but your reference to 'the API returns a timeout error' throws me :-} Cheers, Mike. -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Thomas Jackson Sent: Tuesday, 26 August 2014 9:36 AM To: MikroTik Australia Public List Subject: [MT-AU Public] SMS send timeouts Hi all, I'm trying to set up a Nagios box to send SMS alerts using an RB751U-2HnD which has a Telstra 4G USB device (Sierra Wireless 320U) connected to the USB port. At the moment, we use the SMSGlobal API (which was down for most of yesterday afternoon) to send notifications from Nagios, which has the major downside of relying on the internet connection from our Nagios box being alive and of course, relies on the API provider being online as well. The RB751U-2HnD is already in place (it is currently used to provide OOB access into the network - permanently connected to the telstra.extranet APN for a public IP with DynDNS set up so that it can be found), so I figured it would be easy to add this functionality in. So far, I've got a PHP script written that will (via a Mikrotik API call) send an SMS out about 60% of the time - the rest of the time, the API returns a timeout error (also logged to the Mikrotik log - eg "gsm,error sms send failed: timeout"). This happens completely randomly, sometimes I can send 10 messages in a row without a problem, then have another 10 that fail - other times, I can send 10 messages and have every second one fail. A basic solution would be to simply catch the error in the PHP script and try to send again, but I'd like to see if I am missing anything in the Mikrotik config first. Currently running version 6.10 and I can't see anything in the changelog since then that references SMS. Relevant config sections: /tool sms set channel=2 port=usb1 receive-enabled=yes secret=smspassword /port set 0 name=usb1 /port firmware set ignore-directip-modem=yes /interface ppp-client info 0 modem-status: call in progress pin-status: no password required functionality: full manufacturer: Sierra Wireless, Incorporated model: AirCard 320U revision: X1_2_2_0AP R2839 CNSZXD00000128 2011/08/05 15:52:41 serial-number: redacted current-operator: Telstra (cellid redacted) access-technology: Evolved 3G (LTE) signal-strengh: -85 dBm frame-error-rate: n/a Has anyone come against this problem before? Cheers, Thomas _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au