Not all sms messages are recieved...
Hi, I understand that this may be a little geeky for some...
I have a twitterbot running on my ubuntu server. I have a shell script that sends a tweet when the machine comes online or when the backup completes... works fine.
I have another program that send output to the console and I funnel that to my shell script. This works fine when i run it manually but when i have this run automatically, no sms is sent to the followers...
i dont get it! the tweet is still sent... i dont understand how the method of sending could have anything to do with the sms being sent or not!
any ideas?
yes i have enough messages in my quota! :)
The more people who ask this question, the more it gets noticed.
-
Inappropriate?I have a few questions...
1. Is it correct to assume that the account in question is http://twitter.com/cnschulz ?
2. When you say "the tweet is still sent" did you mean:
(a) the tweet is posted successfully to your Twitter profile, but you don't receive the SMS, or
(b) your script sends the tweet properly, but the update doesn't appear in your Twitter profile, and also does not get sent to you via sms.
3. If your answer to Question #2 above is letter (a), could you kindly post the permalinks of some of the tweets that were posted to your profile but which you did not get sent via sms? It might help people figure out a pattern.
I’m not sure this additional info will help, but I guess it can't hurt either...
-
Inappropriate?Thanks very much for your reply.
the recieving account is "cnschulz". The sending account is "schulzmedia"
2 (a) is correct, tweet is posted but cnschulz does not recieve the sms.
working posts (sms sent): http://twitter.com/schulzmedia/status...
http://twitter.com/schulzmedia/status...
non-working post (no sms): http://twitter.com/schulzmedia/status...
http://twitter.com/schulzmedia/status...
on one hand, i understand this could be at my end... if i cut and paste the tweet text and send a failed one manually it works fine
but on the other hand, if twitter recieves and posts the tweet then i assume the sms should go as well?
thanks again for your/any help.
:)
c. -
Inappropriate?I'm afraid I'm stumped.... and now just as perplexed as you! haha!
There've been times when I missed receiving sms messages before, but it's usually when I was in an area with no phone signal for extended periods and stop receiving notifications altogether. But that doesn't seem to be similar to your problem... -
Inappropriate?fair enough.
as i said i can reproduce this 100% of the time in a small time window. its *highly* unlikely that the network is at fault.
ill keep looking.
c. -
Inappropriate?Hello!
Are you getting SMS from other accounts consistently? Is it just this one which is failing? -
Inappropriate?SOLVED!
It was a "special character" in my message...
...a little difficult to explain...
My message had a carriage return in it. I explicitly checked for that (and removed it) in my send script. This worked when a file was piped from the console but *not* when using the raw standard input "STDIN" from the automated program. make sense?
im not exactly sure *what* the charater was... it wasnt \n or \r...
however I fixed it in my perl script by removing all non-prinable characters like this: (written in perl)
$status =~ s/[^[:print:]]//g;
so, in summary... it all works now... however there seems to be a discrepancy between your web messaging interface and your sms gateway. It seems the web interface deals with the strange characters but the sms gateway does not... might be worth looking into as it might explain a lot more unrecieved sms'es.
cheers
c.
ps: msg me if you want more detail.
I’m thankful
Loading Profile...





EMPLOYEE