Re: Help with Kannel 1.2.1 when sending Picture Message

Freeman Tan <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <200383204134.808985@STALLONE>
Dear Shridhar,

Thanks for the reply.

I have tried using URL encoding my text string but it shows up on my phone as #@%$&} which is garbage, only when I use the udh as URL encoding and the text as a string with the option of coding=1 then the ringtone will appear properly on my phone.

But when I try this method with the picture message, it appears as 3 separate garbage message showing @#$!%{>.

I'm using a wavecom modem and my mobile phone is a nokia 6610.

I'm not sure whether it is my message string or my kannel.conf file that is causing the problem. Do I have to use AT or AT2 for my wavecom modem ?

Are there any special settings that I have to look out for ?

Can you forward to me your kannel.conf file so that I can compare and see where my settings are wrong ?

Thanks,
Freeman

On Sat, 2 Aug 2003 18:56:33 +0530, Shridhar Raju wrote:
>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=024A3A51D195CDD004001B20550
>5906105
>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=300000045465737402010000481
>C016666
>66666666666666999999999999999999800000000000000001400000006000E000024
>000000E
>900310000280000031080CF3B801800000400411044401400000FFFE2F8B120240000
>0000053
>8CAA0280000000006289C401800000000041414001400000000001428002400020000
>00B0504
>158A0000000301030201428001F0000000A28001800FFE000000A500015FFFFFFFFFF
>EA57FFA
>400AAA0000005500028201500440015D08A1881024800040FF0201404100010003ABE
>0024400
>0008200D55588280101440001AAAAC0180000000003555560140010000806AAAAB024
>0000000
>0055555502800000000000000001999999999999990B0504158A00000003010303999
>9666666
>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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.