On Tue, 2002-04-09 at 17:36, Oded Arbel wrote:
> Actually - that's not entirely correct - smsbox checks for 0 >= mclass
> <= 4, so all values from 0 to 4 (inclusive) are valid, as per smsbox.
> looking at the code, I think that the values are 0 based, and the fact
> that smsbox accepts mclass = 4 is a mistake.

Nope.

Message class 0 to 3 maps (unfortunatly because of me) to mclass=1 to 4
mclass=0 (or if mclass is undefined) means that kannel should use
default.

for example, mclass=1 will set dcs=0x11 and mclass=0 will set dcs=0x00.
mclass=0 don't activate the bit 4.

> 
> --
> Oded Arbel
> m-Wise Inc.
> [EMAIL PROTECTED]
> 
> Top 25 Explanations by Programmers why their programs doesn't work:
> 13.Oh, it's just a feature.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 09, 2002 4:32 PM
> > To: LOESCH Jean-Jacques
> > Cc: Valter Santos; SAAMIR NAEEM; [EMAIL PROTECTED]
> > Subject: Re: RE : Flash Msgs
> > 
> > 
> > On Tue, 2002-04-09 at 13:22, LOESCH Jean-Jacques wrote:
> > > Wrong, take a look at the doc:
> > > 
> > > mclass number Optional. Sets the Message Class in DCS 
> > Field. Accepts values between 1 and 4, for Message Class 0 to 
> > 3, A value of 1 sends the message directly to display. 
> > mclass=2 sends to mobile, 3 do SIM and 4 to SIM Toolkit.  
> > > 
> > > So it isn't mclass=0 but mclass=1
> > 
> > Yep. I know it sounds strange, but for kannel 2.0 ;)
> > we'll probably change the behaviour of get variables to
> > accept the value 0, beeing:
> > 
> > without field or field=-1 = disabled or automatic
> > field=0...n - value 
> > 
> > 
> > > 
> > > 
> > > 
> > > Jean-Jacques LOESCH
> > > Chief Architect
> > > Volubill > 
> > > Tel: +33 4 76 04 37 11
> > > Mob: +33 6 18 41 03 80
> > > Fax: +33 4 76 04 37 98
> > >  
> > > mailto:[EMAIL PROTECTED]
> > > http://www.volubill.com
> > > 
> > > 
> > > -----Message d'origine-----
> > > De : Valter Santos [mailto:[EMAIL PROTECTED]] 
> > > Envoy� : mardi 9 avril 2002 14:00
> > > � : SAAMIR NAEEM; [EMAIL PROTECTED]
> > > Objet : Re: Flash Msgs
> > > 
> > > just pass the parameter mclass=0 in your request (or the header
> > > X-Kannel-MClass)
> > > 
> > > /valter
> > > 
> > > 
> > > ----- Original Message -----
> > > From: "SAAMIR NAEEM" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, April 09, 2002 1:40 PM
> > > Subject: Flash Msgs
> > > 
> > > 
> > > Hello All,
> > > 
> > > 
> > > I am a new member of Kannel User list. Can anyone tell me 
> > how to send Flash
> > > Msgs of Class Zero =0 Msgs from Kannel SMS Gateway.
> > > 
> > > Regards
> > > 
> > > Saamir.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > 
> 



Reply via email to