Re: User Data Header(UDH) in a SMS
On Mon, 25 Nov 2002 16:05:43 +0100 Florian Schlums [EMAIL PROTECTED] wrote: Hi Florian! Hello all I'm a little bit confused about using the udh-parameter in a HTTP-request. I need an optional Header with a Port-Number in it. So i tried it like this: http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarto=+41xxtext=eine+SMSudh=1000 Try use url-encoded UDH format like: ...udh=%10%00 -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz
Re: User Data Header(UDH) in a SMS
Thanks a lot for your help. Am I right, that URL encoded means I have to use ascii value in hex? Ok, I tried the following for port 1000: .UDH=%31%30%30%30% and it sent it, but it didn't worked with my Midlet on the 3410. But I think that is an other problem an has to do with the Nokia SMS API. After sending such http-request, the http-line has always be changed into .UDH=1000%25 Is that an other possibility for sneding a port-number? Best regards and thanks a lot. Oh, maybe, someone of you could help me. But he needs a Nokia 3410 with a firmware newer than 4.09. It's a simple SMS test and that works only on Nokia 3410. This is really a serios request cause I'm on my diploma thesis and don't have a second 3410. So, if you have such a phone and want to help me, do the following: Go tho the WAP-site with your mobile http://mywaphosting.com/users/fschlums/index.wml From there, install the MIDlet 3410Test Then go to Menu8 in Nokia 3410 and start the MIDlet usertest. Klick on options and Send YES or Send No. This simply creates a SMS with YES or NO in it. This SMS has an optional UDH with a portnumber. My MIDlet sould listen to that port and shows it on display. Hope so. :-) Florian - Original Message - From: Florian Schlums [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 25, 2002 4:05 PM Subject: User Data Header(UDH) in a SMS Hello all I'm a little bit confused about using the udh-parameter in a HTTP-request. I need an optional Header with a Port-Number in it. So i tried it like this: http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarto=+4 1xxtext=eine+SMSudh=1000 But there is something wrong, otherwise I wouldn't get an errormessage.:) Status: 400 Answer: UDH field misformed, rejected Any idea what the reason could be? Do I need any option in the kannel.conf for using an optional udh? Best regards Florian Schlums _ _ ___ ___ Florian Schlums; | || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10; | __ \__ \ / CH-8640 Rapperswil; Tel: +41 55 222 41 11; |_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW: www.hsr.ch My LinuxPage: http://mypage.bluewin.ch/schlums
Re: User Data Header(UDH) in a SMS
Hmm, I'm not quite sure if that can solve the problem. :-( Has port high hex and port low hex something to do with big endian and little endian? I don't need any ringtones, logos or something like that. The easiest understanding what I need is reading the Nokia SMS API v.0.9 snip The message consists of a fixed header and a field called TP-User-Data that carries the payload of the short message as well as optional header information that is not part of the fixed header. The optional headers are contained in a field called User Data Header and the presence of such headers in the TP-User-Data field is indicated in a separate field that is part of the fixed header. . This Java API uses the port numbers to distinguish to which application a message is targeted at. . Sample for such a port is: (a line from a Java sample) com.nokia.sms://:3381 . When the recipient address does not contain a port number, the TP-User Data shall not contain the Application port addressing header. It is not possible for Java applications to receive this kind of messages, but they will be handled as normally in the recipient device, e.g. text messages will be displayed to the end user. snap If anybody wants to read the full API, its about 6pages, go to http://forum.nokia.com klick on java--documents--nokia api documents There you will find the API document, don't panic, it's a html-file. start index.html an klick on com.nokia.mid.messaging. So how would you use the udh-tag in http-request, if you need to send to port 3381 from the sample line. There is no source-port needed. Best regards Florian - Original Message - From: Aarno Syvänen [EMAIL PROTECTED] To: Florian Schlums [EMAIL PROTECTED] Sent: Wednesday, November 27, 2002 11:45 AM Subject: Re: User Data Header(UDH) in a SMS First you must port number must be in hex. Secondly, you must send a proper port IE. Something like: %06%05%04%dest port high hex%dest port low hex%source port high hex %source port low hex Aarno On Wednesday, November 27, 2002, at 11:25 AM, Florian Schlums wrote: Thanks a lot for your help. Am I right, that URL encoded means I have to use ascii value in hex? Ok, I tried the following for port 1000: .UDH=%31%30%30%30% and it sent it, but it didn't worked with my Midlet on the 3410. But I think that is an other problem an has to do with the Nokia SMS API. After sending such http-request, the http-line has always be changed into .UDH=1000%25 Is that an other possibility for sneding a port-number? Best regards and thanks a lot. Oh, maybe, someone of you could help me. But he needs a Nokia 3410 with a firmware newer than 4.09. It's a simple SMS test and that works only on Nokia 3410. This is really a serios request cause I'm on my diploma thesis and don't have a second 3410. So, if you have such a phone and want to help me, do the following: Go tho the WAP-site with your mobile http://mywaphosting.com/users/fschlums/index.wml From there, install the MIDlet 3410Test Then go to Menu8 in Nokia 3410 and start the MIDlet usertest. Klick on options and Send YES or Send No. This simply creates a SMS with YES or NO in it. This SMS has an optional UDH with a portnumber. My MIDlet sould listen to that port and shows it on display. Hope so. :-) Florian - Original Message - From: Florian Schlums [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 25, 2002 4:05 PM Subject: User Data Header(UDH) in a SMS Hello all I'm a little bit confused about using the udh-parameter in a HTTP-request. I need an optional Header with a Port-Number in it. So i tried it like this: http://localhost:13013/cgi-bin/ sendsms?username=testerpassword=foobarto=+4 1xxtext=eine+SMSudh=1000 But there is something wrong, otherwise I wouldn't get an errormessage.:) Status: 400 Answer: UDH field misformed, rejected Any idea what the reason could be? Do I need any option in the kannel.conf for using an optional udh? Best regards Florian Schlums _ _ ___ ___ Florian Schlums; | || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10; | __ \__ \ / CH-8640 Rapperswil; Tel: +41 55 222 41 11; |_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW: www.hsr.ch My LinuxPage: http://mypage.bluewin.ch/schlums
Re: User Data Header(UDH) in a SMS
Ah, now I think i have it!!! Ok, a sample: I want to send to port 6222. First, port 6222 in hex is 0x184E Source Port is not important, so I take 0x. Then I have to send the following: udh=%06%05%04%18%4E%00%00 The first 06 shows the full length of the User Data Header. 05 sais me, the following numbers are ports. and 04 is the element lenght in octets. Am I right? :-) I've found the hint in the OTA-Patch for Kannel. The Problem is, it still doesn't work on my 3410.But I'm rather sure, this has to do with the Nokia SMS API. Hope I will get tomorrow a second 3410. Best regards Florian On Wed, 27 Nov 2002 11:45:00 +0100 Aarno Syvänen [EMAIL PROTECTED] wrote: First you must port number must be in hex. Secondly, you must send a proper port IE. Something like: %06%05%04%dest port high hex%dest port low hex%source port high hex %source port low hex Aarno On Wednesday, November 27, 2002, at 11:25 AM, Florian Schlums wrote: Thanks a lot for your help. Am I right, that URL encoded means I have to use ascii value in hex? Ok, I tried the following for port 1000: .UDH=%31%30%30%30% and it sent it, but it didn't worked with my Midlet on the 3410. But I think that is an other problem an has to do with the Nokia SMS API. After sending such http-request, the http-line has always be changed into .UDH=1000%25 Is that an other possibility for sneding a port-number? Best regards and thanks a lot. Oh, maybe, someone of you could help me. But he needs a Nokia 3410 with a firmware newer than 4.09. It's a simple SMS test and that works only on Nokia 3410. This is really a serios request cause I'm on my diploma thesis and don't have a second 3410. So, if you have such a phone and want to help me, do the following: Go tho the WAP-site with your mobile http://mywaphosting.com/users/fschlums/index.wml From there, install the MIDlet 3410Test Then go to Menu8 in Nokia 3410 and start the MIDlet usertest. Klick on options and Send YES or Send No. This simply creates a SMS with YES or NO in it. This SMS has an optional UDH with a portnumber. My MIDlet sould listen to that port and shows it on display. Hope so. :-) Florian - Original Message - From: Florian Schlums [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 25, 2002 4:05 PM Subject: User Data Header(UDH) in a SMS Hello all I'm a little bit confused about using the udh-parameter in a HTTP-request. I need an optional Header with a Port-Number in it. So i tried it like this: http://localhost:13013/cgi-bin/ sendsms?username=testerpassword=foobarto=+4 1xxtext=eine+SMSudh=1000 But there is something wrong, otherwise I wouldn't get an errormessage.:) Status: 400 Answer: UDH field misformed, rejected Any idea what the reason could be? Do I need any option in the kannel.conf for using an optional udh? Best regards Florian Schlums _ _ ___ ___ Florian Schlums; | || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10; | __ \__ \ / CH-8640 Rapperswil; Tel: +41 55 222 41 11; |_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW: www.hsr.ch My LinuxPage: http://mypage.bluewin.ch/schlums _ _ ___ ___ Florian Schlums; | || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10; | __ \__ \ / CH-8640 Rapperswil; Tel: +41 55 222 41 11; |_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW: www.hsr.ch My LinuxPage: http://mypage.bluewin.ch/schlums
Re: User Data Header(UDH) in a SMS
You should send udh url-encoded, udh=%31%30%30%30% Aarno On Monday, November 25, 2002, at 04:05 PM, Florian Schlums wrote: Hello all I'm a little bit confused about using the udh-parameter in a HTTP-request. I need an optional Header with a Port-Number in it. So i tried it like this: http://localhost:13013/cgi-bin/ sendsms?username=testerpassword=foobarto=+41xxtext=eine+SMSudh= 1000 But there is something wrong, otherwise I wouldn't get an errormessage.:) Status: 400 Answer: UDH field misformed, rejected Any idea what the reason could be? Do I need any option in the kannel.conf for using an optional udh? Best regards Florian Schlums _ _ ___ ___ Florian Schlums; | || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10; | __ \__ \ / CH-8640 Rapperswil; Tel: +41 55 222 41 11; |_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW: www.hsr.ch My LinuxPage: http://mypage.bluewin.ch/schlums
Re: User Data Header(UDH) in a SMS
I have tried sending an operator logo with UDH=%06%05%04%15%81%15%81 What I am receiving is an SMS that my Nokia phone telling me not able to be displayed. What are the possible causes? I am using Kannel 1.0.3. Many Thanks --- David Chkhartishvili [EMAIL PROTECTED] wrote: UDH must look something like this: udh=%06%05%04%15%81%15%81 Florian Schlums wrote: Hello all I'm a little bit confused about using the udh-parameter in a HTTP-request. I need an optional Header with a Port-Number in it. So i tried it like this: http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarto=+41xxtext=eine+SMSudh=1000 But there is something wrong, otherwise I wouldn't get an errormessage.:) Status: 400 Answer: UDH field misformed, rejected Any idea what the reason could be? Do I need any option in the kannel.conf for using an optional udh? Best regards Florian Schlums _ _ ___ ___ Florian Schlums; | || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10; | __ \__ \ / CH-8640 Rapperswil; Tel: +41 55 222 41 11; |_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW: www.hsr.ch My LinuxPage: http://mypage.bluewin.ch/schlums -- David Chkhartishvili Tel: 995 99 182418 __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
User Data Header(UDH) in a SMS
Hello all I'm a little bit confused about using the udh-parameter in a HTTP-request. I need an optional Header with a Port-Number in it. So i tried it like this: http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarto=+41xxtext=eine+SMSudh=1000 But there is something wrong, otherwise I wouldn't get an errormessage.:) Status: 400 Answer: UDH field misformed, rejected Any idea what the reason could be? Do I need any option in the kannel.conf for using an optional udh? Best regards Florian Schlums _ _ ___ ___ Florian Schlums; | || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10; | __ \__ \ / CH-8640 Rapperswil; Tel: +41 55 222 41 11; |_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW: www.hsr.ch My LinuxPage: http://mypage.bluewin.ch/schlums
RE: UCP52 UDH/UD definition in hexadecimal
Hi Thomas I would adivce you to use 1.1.6 and not 1.0.3. 1.0.3 is not as stable as the name indicates ;o) And CMG is very well tested with 1.1.6. Answers to your questions if you use 1.1.6: 1.Yes 2.Yes. Hexadecimal. Best regards, Jacob Vennervald -Original Message- From: zze-VERGOUWEN Thomas stagiaire FTRD/DMR/ISS [mailto:[EMAIL PROTECTED]] Sent: 19. april 2002 13:25 To: '[EMAIL PROTECTED]' Subject: UCP52 UDH/UD definition in hexadecimal Hello, I would like to use the stable release (v 1.0.3) of the Kannel SMS gateway (I don't need the WAP gateway part) in order to send SMS messages (using a CMG SMS gateway) which I can define. Before I will start the installation of the gateway I would like to know the answers to the following two questions: 1. Does the Kannel SMS gateway support receiving UCP52 messages from the SMSC? 2. Can I use the web interface of the Kannel SMS gateway to send an SMS message of which I can define both the user data header (UDH) and the user data (UD) part? If so, will these parts be defined in hexadecimal, in binary encoding, or ...? If these functionalities are not supported by the stable release, is there another release which does support these functionalities? And if so, which version can I use? Thanks in advance for any reply, -- Thomas Vergouwen Stagiaire Recherche et Développement france telecom RD - Département DMR/SMO Tél : +33 1 45 29 47 72 /Fax : +33 1 45 29 66 43 -- Remember: it's nice 2b important, but it's more important 2b nice
Message splitting - UDH header problems?
Hi, I am trying out Kannel 1.1.5 and have experienced some problems with message splitting. If I set concatenation = true for any service, and that service generates a message that is too large to fit in one sms, then the messages sent to the phone are garbled. It appears that kannel is doing something wrong with the udh headers for splitting (according to the spec it is doing the right thing, so am a bit confused). Any ideas? I am using an SMPP gateway. Thanks. Paul Bagyenda
Re: Sending UDH PDUs
Just add a % for each two chars (and add the correct UDH) ...udh=%06%05%04%15%81%00%00text=%07%91%06 - Original Message - From: charles [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 12, 2001 1:45 AM Subject: Sending UDH PDUs Hi all, I would like to send out this string 0791062110F551000B910621562992F400F5FF4706050415811581024A3A6919C985B9CC 810985D5940400431A550610618612550690698692610718710A22C49C41841621841C61C428 8B12710610592618710690692618612000 which is a PDU string from a script. It is actually a Nokia ringtone with my phone number encoded inside. However , i would like to ask wherther there is any way to send the whole string out as PDU and not text through Kannel http send? Regards, Charles
UDH, logos and the Kannel
Hi all Sorry to bother you all like this, but I really need your help. I have generated a string for a nokia operatorlogo, containing a whole lot of 1's and 0's. Now I need to send this string to a Nokia phone, and make the Nokia understand that it is recieving a logo, and not a normal sms. I have found out that I need to set some sort of UDH header, but I can't seem to get it right. What UDH do I need? How is the UDH constructed, and does anybody know where I can find som documentation on it? Thanks in advance Ole Kristensen