BB sms variables empty
gerric <[email protected]> Tue, 17 Jan 2006 12:11:03 +0000
| Newsgroups | gmane.network.bb4.devel,gmane.network.bb4.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------000305000308010500060901 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello All I seem to be having a problem trying to include the variables in a sms message. I am using the BulkSMS http api to send a message from the bb to some users this is the command /usr/bin/lynx -dump "http://www.bulksms.co.uk:7512/eapi/1.0/send_sms.mc?username=<uname>&password=<password>&message=$BBNUMERIC+$BBSVCNAME+$BBCOLORLEVEL+$BBHOSTSVC+Test&msisdn=<mynumber>&sender=Big_Brother&cost_route=<route>&want_report=1" 1>bbsms2.log 2>bbsms2error.log I have placed this line in the bin/sendmsg file so that it sends a message every time there is an alert for a specific degree. I receive the sms fine but it only contains the word Test, none of the variable info is included in the SMS. Shouldn't these variables and their info be accessible from all the scripts bb runs? Should I include this line in a different file so that i can receive the variable info? Some help would be greatly appreciated. Thanks in advance! Gerric Chaplin --------------000305000308010500060901 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Verdana">Hello All<br> <br> I seem to be having a problem trying to include the variables in a sms message. I am using the BulkSMS http api to send a message from the bb to some users this is the command<br> <br> /usr/bin/lynx -dump "<a class="moz-txt-link-freetext" href="http://www.bulksms.co.uk:7512/eapi/1.0/send_sms.mc?username=">http://www.bulksms.co.uk:7512/eapi/1.0/send_sms.mc?username=</a><uname>&password=<password>&message=$BBNUMERIC+$BBSVCNAME+$BBCOLORLEVEL+$BBHOSTSVC+Test&msisdn=<mynumber>&sender=Big_Brother&cost_route=<route>&want_report=1" 1>bbsms2.log 2>bbsms2error.log<br> <br> I have placed this line in the bin/sendmsg file so that it sends a message every time there is an alert for a specific degree. I receive the sms fine but it only contains the word Test, none of the variable info is included in the SMS. Shouldn't these variables and their info be accessible from all the scripts bb runs? Should I include this line in a different file so that i can receive the variable info?<br> <br> Some help would be greatly appreciated.<br> <br> Thanks in advance!<br> Gerric Chaplin</font></font> </body> </html> --------------000305000308010500060901-- -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= To unsubscribe from this list send e-mail to mailto:[email protected] with unsubscribe bbd in the BODY of the message.