Hi guyz,
I am creating a connection for sending notifications to a client(rapidsms) .Here is the code:
try:
sendConn =Connection.objects.get(identity='072968970')
except: ObjectDoesNotExist:
bEnd=Backend.objects.get(name = 'safaricom-modem')
Connection.objects.create(identity = '0729681970',backend=bEnd)
.....but when i do:
sendConn =Connection.objects.get(identity='072968970')
msg="My Notification Message Here"
msg=OutgoingMessage(sendConn,msg)
msg.send()
....the message is not sent to that number.Actually the router indicates:[Outgoing: via message_tester]
Help.