GnuGK doesn't support having 2 EP entries with the same IP. You can try the following: [RasSrv::PermanentEndpoints] 1.2.3.4=EP1;. [RasSrv::GWRewriteE164] EP1=out=0=1000;out=1=1111;out=2=2222;out=30=33330;out=31=31331;out=32=32332 Notice the dot (.) after the EP declaration, meaning all prefixes will be pass to this EP. Now, in the GWRewriteE164, you're creating different rewrite rules for each prefix. This is the correct way of rewriting for multiple prefixes on the same GW. Regards HASSAAN ----- Original Message ----- From: "Oleg Frolkov" <info@xxxxxxxx> To: "GNU Gatekeeper Users" <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, August 10, 2006 18:41 Subject: GNUGK 2.2.4, routing don't work for diffirent EP names with same ip address. > Hello. > > I need to route some directions to same EP with diffirent prefix. This > can be done in diffirent ways. First - i can translate each needed > direction in [RasSrv::GWRewriteE164], second > i can translate any call. First way work well and can be illustrated in > next config: > -------------------------- > [RasSrv::PermanentEndpoints] > 1.2.3.4=EP1; > > [RasSrv::GWRewriteE164] > EP1=out=1234=1001234 > > [RasSrv::GWPrefixes] > #DefaultRoute > EP1=* > ------------------------- > This route all calls to EP1 but call to 1234 translate to 1001234. That > nice, but many destinations have prefix and many don't have prefix and i > think that i can > configure failover in next way: > ------------------------- > [RoutedMode] > ActivateFailover=1 > > [RasSrv::PermanentEndpoints] > 1.2.3.4=EP1; > 1.2.3.4=EP2; > > [RasSrv::GWRewriteE164] > EP2=out=0=1000 > EP2=out=1=1001 > EP2=out=2=1002 > EP2=out=3=1003 > EP2=out=4=1004 > EP2=out=5=1005 > EP2=out=6=1006 > EP2=out=7=1007 > EP2=out=8=1008 > EP2=out=9=1009 > > [EP::EP1] > GatewayPriority=1 > > [EP::EP2] > GatewayPriority=2 > > [RasSrv::GWPrefixes] > #DefaultRoute > EP1=* > EP2=* > ----------------------------------- > i.e. if i call number 1234567890 and gateway accept it as 1234567890 - > all ok, but if it don't accept that direction failover make call to EP2 > (physically same EP) but with > dialed number 100123456780. > > I tryed it, but if Different EP have same IP address - this way not > work, in this way only one gateway (EP1) matched as default gateway and > try to forward call only to it. > > I think this is bug in realisation, or i wrong? > > Oleg. > > ------------------------------------------------------------------------- > 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/ > ------------------------------------------------------------------------- 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/