hi tan,

Your PDU for Pic Msg seems to be longer than what can be hold in 1 sms. (max
133 octets, correct me if this is wrong)
So, you need to send *segmented* Pic Msg and that brings the need to change
the UDH.

Follow Nokia Smart spec to find the correct UDH values.

HTH
navjot singh

|-----Original Message-----
|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
|Freeman Tan
|Sent: Saturday, August 02, 2003 3:21 PM
|To: [EMAIL PROTECTED]
|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&to=91234567&text=Kannel+is+working+!
|
|(Ringtone)
|http://198.198.1.150:13013/cgi-bin/sendsms?username=tester&password
|=foobar&to=91234567&udh=%06%05%04%15%81%15%81&text=024A3A51D195CDD0
|04001B20550590610560558550548540820849900000&coding=1
|
|(Picture Message)
|http://198.198.1.150:13013/cgi-bin/sendsms?username=tester&password
|=foobar&to=98555963&udh=%06%05%04%15%8A%15%8A&text=3000000454657374
02010000481C0166666666666666666699999999999999999980000000000000000140000000
6000E000024000000E900310000280000031080CF3B801800|000400411044401400000FFFE2
F8B12024000000000538CAA0280000000006289C4
|0180000000004141400140000000000142800240002000000B0504158A000000030
|1030201428001F0000000A28001800FFE000000A500015FFFFFFFFFFEA57FFA400A
|AA0000005500028201500440015D08A1881024800040FF0201404100010003ABE00
|244000008200D55588280101440001AAAAC0180000000003555560140010000806A
|AAAB02400000000055555502800000000000000001999999999999990B0504158A0
|00000030103039999666666666666666666&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