Dear folks A week or so ago, when I sent SMS messages using the Python script below I would get a message saying something like 'Accepted for Delivery'. I was using a copy of Kannel (cvs version) I downloaded about that time. I have since removed that copy and installed one I downloaded 2 days ago. And now when I send messages using the same script I get this messge - <addinfourl at 136313964 whose fp = <socket._fileobject object at 0x81fd4c4>>. Does anyone know what this means? Is is a cause for concern? Mind you the messages are being sent OK, no problems receiving and sending. Please advise!
Thanks James Script: #!/usr/bin/python import urllib url = 'http://www.inforserve.co.za:13810/cgi-bin/sendsms?%s' dlr_url = 'http://www.inforserve.co.za/smsdlr/?status=%d&ts=%t&from=%p&to=%P&smsid=%i&dlr-rpt=%A&service=%n' usr = 'smsman' pwd = 'holysmoke' to = '+27711170936' msg = file('content.txt').read() prms = urllib.urlencode({'username': usr, 'password': pwd, 'dlr-mask': 31, 'dlr-url': dlr_url, 'text': msg, 'to': to}) f = urllib.urlopen(url % prms) print f print '\n\n!!!Done\n'
