Dear fellow Kannel users,

Greetings! I'm a new kannel user, and I recently upgraded to ver 1.2 from ver 1.03.  I would appreciate any help soon, as our telco will be testing our service in a days time.

This is the first problem I've encountered:

1. Picture Messages - the log files indicated a "malformed UDH".  It was working fine with 1.03. I'm using URL GET from a Perl script. 

a. These is the config file:
group = sms-service
keyword = smartpix
url = "http://www.digitalres.com/cgi-bin/sms/sendpicture.pl?to=%p&SendRequest=%s&command=%a"
max-messages = 0

b. These are the header parameters from the cgi script:
$pictureUDH = "%0B%05%04%15%8A%00%00";
$pictueHeader1 = "%00%03%01%03%01";
$pictueHeader2 = "%00%03%01%03%02";
$pictueHeader3 = "%00%03%01%03%03";

c. and here's the sendsms command from the same script:
$URL1 = "$baseURL:$SMSPort/cgi-bin/sendsms?username=XXX&password=XXX&to=$SendPictureTo&udh=%0B%05%04%15%8A%00%00&text=%00%03%01%03%01%30%00%00%04%20%20%20%20%02%01%00$DATA1";
$URL2 = "$baseURL:$SMSPort/cgi-bin/sendsms?username=XXX&password=XXX&to=$SendPictureTo&udh=%0B%05%04%15%8A%00%00&text=%00%03%01%03%02$DATA2";
$URL3 = "$baseURL:$SMSPort/cgi-bin/sendsms?username=XXX&password=XXX&to=$SendPictureTo&udh=%0B%05%04%15%8A%00%00&text=%00%03%01%03%03$DATA3";
$ua = LWP::UserAgent->new;
$ua->request(GET $URL1);
$ua->request(GET $URL2);
$ua->request(GET $URL3);
}

Thank you very much!

Reply via email to