gnugk-2.2.1 Rewrite trouble

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

 



Hi

gnugk-2.2.1

-------
http://www.gnugk.org/gnugk-manual-4.html#ss4.2
Section [RasSrv::RewriteE164]
Example:
!08=18888 
If you dial 09345718, it is rewritten to 1888809345718.
-------
inverted not work correctly

Because

diff -ur openh323gk.orig/h323util.cxx openh323gk/h323util.cxx
--- openh323gk.orig/h323util.cxx        Tue Jan 11 17:35:45 2005
+++ openh323gk/h323util.cxx     Tue Jan 25 11:14:57 2005
@@ -324,7 +324,7 @@

        while (prefix[j] != 0) {
                const char c = prefix[j];
-               if (alias[i] == 0 || (c != '.' && c != '%' && c != alias[i]))
+               if (alias[i] == 0 || (c != '.' && c != '%' && ((c != alias[i]) ^ negative)))
                        return 0;
                i++;
                j++;

-- 
System Administrator                RMTelecom
Andrey M Linkevich          CyberPulse team


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

_______________________________________________________

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

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

  Powered by Linux