WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

normalize E164 with RewriteE164 issue

View: New views
1 Messages — Rating Filter:   Alert me  

normalize E164 with RewriteE164 issue

by MÉSZÁROS Mihály :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

RewriteE164 is not accepting "+"/plus sign.

My config is the following:

[RasSrv::RewriteE164]
+36=0036

It is not working for me at all.

Why?
In
    Toolkit.cxx
in function
    void Toolkit::RewriteData::AddSection(PConfig *config, const PString & section)
in line
    if (!key && (isdigit(static_cast<unsigned char>(key[0])) || (first.FindOneOf("!.%*#ABCDEFGHIGKLMNOPQRSTUVWXYZ") != P_MAX_INDEX)))

This line is not containing the "+" sign.

Workaround what works for me is:
    if (!key && (isdigit(static_cast<unsigned char>(key[0])) || (first.FindOneOf("+!.%*#ABCDEFGHIGKLMNOPQRSTUVWXYZ") != P_MAX_INDEX)))

Please add plus sign to this line or if i am wrong please advise any other workaround for the problem...

Thanks!
Misi


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________________

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