sendSms() is firing but I'm not getting a text on my phone

My rule is simply a test. It is:

rule "test"
   when
        Time cron "0 04 19 1/1 * ? *"
   then
        sendSms("+17139999999", "It's 7")
   end

I see the rule firing on the debug log:

2016-08-10 19:04:00.061 [DEBUG] [.o.m.r.i.engine.ExecuteRuleJob] - Executing scheduled rule 'test'
2016-08-10 19:04:00.098 [DEBUG] [o.myopenhab.internal.MyOpenHAB] - sendSMS()
2016-08-10 19:04:00.100 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - Sending SMS 'It's 7' to phone # +17139999999

but I don’t get the message on the phone. I have the my.openhab jar installed. Any idea what I am doing wrong?

I think it should be
sendSms(“+4917139999999”, “It’s 7”)

sendSms(“+4917139999999”, “It’s 7”)

where +49 is the country code :wink:

…but I’m located in the U.S. which is country code +1, which is what I have. Country code ‘1’, city code ‘713’

I anticipated as much. :slight_smile:

1 Like

Anything else that you think I may be missing here?