BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{bb} BB sms variables empty



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

Home | Main Index | Thread Index