RE: SMPP server default data coding and all

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
> -----Original Message-----
> From: Kita B. Ndara [mailto:[email protected]]


>  I am connecting to a Comverse SMSC. BTW it sets
> coding to 0, but sends this as 7 bit data. Note that
> in cases where the phone sends one message, the
> message is not 7 bit packed. I guess if the phone puts
> a UDH in, the SMSC does not touch it. But how to know
> at SMPP client end??

data_coding 0 is the default 7 bit alphabet, but it should still not be packed. I think your SMSC is broken in that concern. you can test it by sending a simple text message and then a simple long (concatenated) text message - you will see that both has the coding set to 0.

one method of solving that problem is to have a configuration directive for the SMPP driver to name the vendor of the SMSC and then do "quirks handling" for each vendor with a broken implementation (Comverse is not the only one).

--
Oded Arbel
m-Wise mobile solutions
[email protected]

+972-9-9581711 (116)
+972-67-340014

::..
I don't care to belong to any organization that accepts me as a member.
	-- Groucho Marx in a letter of resignation sent to a Hollywood club





> 
> P.
> 
> 
> --- Oded Arbel <[email protected]> wrote: > 
> > > -----Original Message-----
> > > From: Kita B. Ndara [mailto:[email protected]]
> > 
> > >  I hope someone out there can help clarify this. I
> > had
> > > a problem long ago with concatenated text messages
> > > sent from kannel. Now it seems it has to do with
> > > data_coding issues and how kannel handles it all.
> > >  I did a small experiment. Sent a long message
> > from a
> > > Nokia 3310 to Kannel. Below is the full SMPP PDU
> > dump.
> > > Shows that kannel does not decode the message
> > > properly. I nitial look suggests message is 7 bit
> > GSM.
> > > 
> > >  Now I doubt that the latin1_to_gsm is doing the
> > right
> > > thing if the reverse is not!
> > 
> > That's weird - was the message 'Test message
> > claiuils gli via lila livid kli gle liar glu herlg
> > threat tilrat likai glis glaid trolit tilrat tilrl
> > glai illi ski sugar tiaraii kidsu' ? because if so
> > then the message is 7 bit packed as per the GSM PDU
> > specifications, including UDH. AFAIK the SMPP driver
> > does not pack or unpack data in such a way, and IIRC
> > no provider that we use is sending messages in such
> > a way. 
> > AFAIK, the only drivers that actually pack and
> > unpack 7 bit packed PDUs are the AT* drivers.
> > 
> > Do you know which SMSC you are connecting to
> > (manufacturer) ?
> > 
> > --
> > Oded Arbel
> > m-Wise mobile solutions
> > [email protected]
> > 
> > +972-9-9581711 (116)
> > +972-67-340014
> > 
> > ::..
> > In this world, truth can wait; she's used to it. 
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
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.