Re: Stripping leading zeros in conf-id Re: h323-conf-id incorrect format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adding this simple line solves the problem out:)

----- Original Message ----- 
From: "kompnet" <kompnet@xxxxxxxxx>
Sent: Monday, March 28, 2005 10:01 AM


Michal, it appears  when we discussed on this question, ypu already have
prepared all for bringing such option to config file:
between Jun 17 2004 and Jun 29 2004 you've moved GetConferenceIDString(const
H225_ConferenceIdentifier& id) from radauth.cxx to h323util.cxx and have
changed it to GetGUIDString(const H225_GloballyUniqueID& id, bool
fixedLength).
As I can understand variable fixedLength is not used anywhere else and by
default it's equal to 'false'.
Whether there is a necessity to make a patch that there was an opportunity 
to
operate value of this variable through a configuration file (it is enough
difficult for me since I do not know C++)?

Or is it easier to insert the necessary line

fixedLength = true;

before lines

idstr += fixedLength ? PString(PString::Printf, "%08X", hex)
: PString(PString::Unsigned, (long)hex, 16);

for my own needs?

Igor Prokhorov

On 12 Сентябрь 2004 18:21, Zygmuntowicz Michal wrote:
> I guess such conversions should be performed at the application level.
> We cannot introduce an option for every setting just because someone's
> billing does not understand it/someone cannot convert it himself.
>
> ----- Original Message -----
> From: <kompnet@xxxxxxxxx>
> Sent: Monday, September 13, 2004 3:15 PM
>
> > It's true that different IOS'es behave differently.
> > IOS 12-2(1c) strips leading zeros.
> > But IOS 12-2-11T does not .
> > And what must we do?
> > I use prepaid cards platform with it's own billing which collects CDR's
>
> whith
>
> > h323-voice-quality attribute. In these CDR's there are not information
>
> about
>
> > terminating part - only about gnugk box. But gnugk billing knows about
> > terminating part and don't know anything about voice-quality. I have
> > mysql table which collects CDR's with all information about calls
> > including information about termination part and about voice-quality. In
> > result I
>
> have
>
> > an opportunity to draw conclusions how calls are terminated by each of
> > partners.
> > At the moment this table has ceased to replenish, as to billings
>
> h323-conf-id
>
> > is transferred differently: to one with leading zeros, and to another
>
> without
>
> > it.
> > Whether there is an opportunity to give to the user a choice of a format
>
> of
>
> > h323-conf-id storing?
> > Whether somebody can introduce a similar option?
> >
> > Igor Prokhorov.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id┘49
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux