Re: [RasSrv::RewriteE164] prefix change

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

 



With regexps, number of rewrite rules should be reduced,
so maybe performance penalty is not significant. We do ASN
parsing/memory allocation and other stuff on every message,
so having regexps should not change much. Especially that
they won't be too complicated.

----- Original Message ----- 
From: "Edson" <4lists@xxxxxxxxx>
Sent: Thursday, February 08, 2007 1:18 PM


> Having regexps everywhere would be really a BIG step forward flexibility 
> and
> config simplification/optimization, and, for sure, it would lay down
> performance. How much? I don't have a clue...
>
> But, how about making it in a slow way? Aggregating a parameter that 
> enable
> it on every new config block? So it could be a smoother implemantation 
> path.
>
> Edson.
>
>> -----Original Message-----
>> From: openh323gk-users-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:openh323gk-
>> users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Zygmuntowicz Michal
>> Sent: quinta-feira, 8 de fevereiro de 2007 05:33
>> To: GNU Gatekeeper Users
>> Subject: Re:  [RasSrv::RewriteE164] prefix change
>>
>> Hi Gabriel,
>>
>> I also think about regexps being neccessary. We would have
>> to have a separate section for regexps, because with regexps
>> we need to check ALL to find the longest match. One problem
>> is that if we introduce regexps, people will want them everywhere;-)
>> - in RewriteE164, GWRewriteE164, gateway prefixes, capacity control, ...
>>
>> ----- Original Message -----
>> From: "Gabriel Georgescu" <gabigeo@xxxxxxxxxxx>
>> Sent: Wednesday, February 07, 2007 10:11 PM
>>
>>
>> > Hi Michal,
>> >
>> > I checked the code and the "%" is not treated.
>> > Please look in h323util.cxx at line 295 in function RewriteString.
>> >
>> > Indeed the "dot" is treated and is working if I specify the correct
>> > number of dots.
>> >
>> > As a wish, it would be great if we could implement something like a
>> > regex expresions. Something similar to LIKE from postgres that is
>> > working only from beginning of the string.
>> >
>> > Best regards,
>> > Gabriel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

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

  Powered by Linux