I don't know how this is going to help me since sms-service with
default keyword is handling all the rest of these messages ( the first
part of the message includes all the necessary keywords ).

It is possible to handle specific part of the message like MSISDN, Message, Charset, encoding and udh ....

Right now my get-url = "" href="http://server.com:8080/kannelCon/SMSReceiver?sender=%p&message=%a&encoding=%c%charset=%C&udh=%u">http://server.com:8080/kannelCon/SMSReceiver?sender=%p&message=%a&encoding=%c%charset=%C&udh=%u

So with this get url, i will receive all the parameters in my Servlet (I am a java guy, the same we can implement in any technology). So in my Servlet I will use getParameter("udh") to retrieve the udh.

If it is single message there won't be any udh and most of the time udh is unique. So you can easily handle it in your program.
udh clearly says total number of messages (long message splitted) and what is the current message number. So you can always check those 2 and concate the parts ...

Is it clear?

So is there a way to concatenate long incoming messages before get-url
or post-url kicks in?

Janne

Kavuri Prasad kirjoitti:
> Hai Janne,
>
> You have to handle it in your application based on the UDH received. When
> the long message splits then those messages comes with header. Normally UDH
> is 5 characters (UDH = 00 03 22 02 01). In the above Binary code the last 2
> characters are important as last one says current message number and the
> other one says total number of messages. In this case total number of of
> messages are 2 and current message is 1.
> You can able to catch the udh by using %u. You can find the details in
> userguide (chapter 6).
>
> Regards,
> Prasad
>
> On 5/3/06, Janne Mikkonen < [EMAIL PROTECTED]> wrote:
>>
>> Hi!
>>
>> I use GSM modem as a virtual SMS Center and I have problems with
>> long incoming messages ( from phone to gateway ). Is it possible to
>> concatenate incoming messages before they are routed to receiving
>> application?
>>
>> Janne Mikkonen
>>
>>
>



--
Thanks,
Prasad Kavuri
Software Consultant
Mobile Lifestyle Berhad
Unit F10 Block 3 (2320)
Century Square
63000 Cyberjaya
Malaysia.
Tel: +60 3 8318 6691
Fax:+60 3 8318 7760
HP: +60 12 927 4711

Reply via email to