URL encode text value as u have done with UDH.

like

(Ringtone)
http://198.198.1.150:13013/cgi-bin/sendsms?username=tester&password=foobar&t
o=91234567&udh=%06%05%04%15%81%15%81&text=%02%4A%3A%51%D1%95%CD%D0%04%00%1B%
20%55%05%90%61%05%60%55%85%50%54%85%40%82%08%49%90%00%00

coding parameter is not required when udh is present.

Hope this works.

Shridhar Raju

----- Original Message -----
From: "Freeman Tan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 02, 2003 3:20 PM
Subject: Help with Kannel 1.2.1 when sending Picture Message


Hi,

I have installed Kannel 1.2.1 on Knoppix Linux and I can send text and
ringtones with the following http commands:

(Text)
http://198.198.1.150:13013/cgi-bin/sendsms?username=tester&password=foobar&t
o=91234567&text=Kannel+is+working+!

(Ringtone)
http://198.198.1.150:13013/cgi-bin/sendsms?username=tester&password=foobar&t
o=91234567&udh=%06%05%04%15%81%15%81&text=024A3A51D195CDD004001B205505906105
60558550548540820849900000&coding=1

(Picture Message)
http://198.198.1.150:13013/cgi-bin/sendsms?username=tester&password=foobar&t
o=98555963&udh=%06%05%04%15%8A%15%8A&text=300000045465737402010000481C016666
66666666666666999999999999999999800000000000000001400000006000E000024000000E
900310000280000031080CF3B801800000400411044401400000FFFE2F8B1202400000000053
8CAA0280000000006289C40180000000004141400140000000000142800240002000000B0504
158A0000000301030201428001F0000000A28001800FFE000000A500015FFFFFFFFFFEA57FFA
400AAA0000005500028201500440015D08A1881024800040FF0201404100010003ABE0024400
0008200D55588280101440001AAAAC0180000000003555560140010000806AAAAB0240000000
0055555502800000000000000001999999999999990B0504158A000000030103039999666666
666666666666&coding=1

But whenever I try to send any Picture Messages the http page will say sent
but the message will arrive on my mobile phone as garbage.

Can someone help me and give me some advice on how I can solve this problem
?

THANKS !!
FREEMAN

here is my kannel.conf file

# CORE CONFIGURATION

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "kannel.log"
log-level = 0
# box-deny-ip = "*.*.*.*"
box-allow-ip = "*.*.*.*"
access-log = "access.log"
store-file = "kannel.store"


# SMSC CONNECTIONS

group = smsc
# smsc = at2
smsc = at
smsc-id = wavecom
device = /dev/ttyS0
modemtype = wavecom
speed = 9600
# connect-allow-ip = "127.0.0.1"
connect-allow-ip = "*.*.*.*"



# MODEM CONF

group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"
speed = 9600

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 91234567
log-file = "smsbox.log"
log-level = 0
access-log = "access.log"


# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
max-messages = 10
concatenation = true


# SERVICES

group = sms-service
keyword = default
get-url =
"http://198.198.1.150/sendsms.asp?from=%p&to=%P&text=%b&coding=%c";;
concatenation = true
max-messages = 10







Reply via email to