Re: 3gpp2 parameter starts with '\0'

2009-01-12 Thread Alan DeKok
Bjørn Mork wrote: > Yes, it would be. However, the document Huawei refers to does not state > this. Ok. So I *won't* change the dictionaries. > I don't think footnote d leaves any doubt wrt the format of this > attribute. The \0 prepending seems to be a Huawei invention. Yes. I think

Re: 3gpp2 parameter starts with ''

2009-01-12 Thread Alan DeKok
t...@kalik.net wrote: > Hm, I dug up this: > > http://www.3gpp2.org/public_html/specs/A.S0017-0_v1.0.pdf > > and I can't find that statement in there. I would assume that "zero > fill" an ASCII string would mean fill with ASCII zeros, not nulls > (ASCII code zero). Looking at the spec, I agree

Re: 3gpp2 parameter starts with '\0'

2009-01-12 Thread Bjørn Mork
Alan DeKok writes: > lamersons wrote: >> Thank you very much, changing it to octets gave me nice ascii look of esn. >> Vendor is Huawei. > > OK. > >> to official letter to huawei i got this answer listed below. >> -- >> Good day, >> >> I would like to inform that our BSC sen

Re: 3gpp2 parameter starts with ''

2009-01-12 Thread tnt
Hm, I dug up this: http://www.3gpp2.org/public_html/specs/A.S0017-0_v1.0.pdf and I can't find that statement in there. I would assume that "zero fill" an ASCII string would mean fill with ASCII zeros, not nulls (ASCII code zero). Ivan Kalik Kalik Informatika ISP Dana 12/1/2009, "Alan DeKok" pi

Re: 3gpp2 parameter starts with '\0'

2009-01-12 Thread Alan DeKok
lamersons wrote: > Thank you very much, changing it to octets gave me nice ascii look of esn. > Vendor is Huawei. OK. > to official letter to huawei i got this answer listed below. > -- > Good day, > > I would like to inform that our BSC sends ESN according the > 3GPP2 “Int

Re: 3gpp2 parameter starts with '\0'

2009-01-12 Thread lamersons
string of ESN. See [4]. > ... > C1 Account Session ID 44 8 string Acct-Session-Id ASCII string of > session ID > > > So the NAS breaks both the IETF specifications and the 3GPP2 > specifications. > > Who builds this stuff? > > Alan DeKok. > -

Re: 3gpp2 parameter starts with '\0'

2009-01-12 Thread Alan DeKok
lamersons wrote: > I need to store ESN value to my database, but it comes in format[3GPP2-ESN = > "\000\000\000\000\000\000\0BBF636"]. Change the dictionary to make it type "octets". That's likely the simplest fix. > Freeradius counts '\0' as the end > of the line and puts blank instead of

Re: 3gpp2 parameter starts with '\0'

2009-01-12 Thread A . L . M . Buxey
Hi, > I need to store ESN value to my database, but it comes in format[3GPP2-ESN = > "\000\000\000\000\000\000\0BBF636"]. Freeradius counts '\0' as the end > of the line and puts blank instead of actual parameter value. Not only ESN > comes in that format but [Acct-Session-Id = "000\000"]

3gpp2 parameter starts with '\0'

2009-01-12 Thread lamersons
pTime, CDMAActiveTime, AcctInputOctets, AcctOutputOctets, FramedIPAddress, UserName, ReleaseIndicator, CDMABadPPPFrameCount, CDMACorrelationId, AcctSessionTime, NASIPAddress, esn) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{Calling-Station-Id