Re: Rewriting from Neighbor problems.

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

 



Andrew Herdman wrote:

Found my own answer with a bit of experimentation and reverse logic.

Instead of

[RasSrv::GWRewriteE164]
GNUGK002=in=932=;

did;

[RasSrv::GWRewriteE164]
GNUGK003=out=932=;


[Neighbor::GNUGK003]
SendPrefixes=932

[Neighbor::GNUGK002]
AcceptPrefixes=932


The GWReWriteE164 takes effect on an outbound LRQ, not on an inbound.  
Hope this is helpful to others.

Andrew
> Hello;
>
> I'm having a problem trying to deal with a situation, where I have 
> GNU/GK as a Proxy, to accept calls from a neighbor prefix 932, strip the 
> prefix and then forward it to two other commercial gatekeeper's.  So if 
> you're counting, 4 total Gatekeepers.
>
> My Proxy (GNUGK001) is version 2.3.1 built from CVS.
>
> When I try using; (small snippets of the whole config)
>
> [RasSrv::RewriteE164]
> 932.=.
>
> [Neighbor::GNUGK002]
> AcceptPrefixes=932
>
> The alias gets rewritten, but the call is not accepted, because the 
> rewrite happens before the Accept?
>
> Next I tried
>
> [RasSrv::GWRewriteE164]
> GNUGK002=in=932=;
>
> [Neighbor::GNUGK002]
> AcceptPrefixes=932
>
> The call get's accepted as 9321234567 for example, and then rewritten to 
> 1234567, but then the GNU/GK Proxy immediately sends an LRQ as 1234567 
> is not locally registered, it doesn't seem that the GWRewriteE164 allows 
> for sending LRQ's to the other Neighbor Gatekeepers. 
>
> If I use;
>
> [RasSrv::RewriteE164]
> 932.=.
>
> [Neighbor::GNUGK002]
> AcceptPrefixes=*
>
> The call works, but it's not accomplishing what I want, because someone 
> on GK002 could dial 9321234567 or 1234567 and I only want them to dial 
> numbers with the 932 first.
>
> My routing policy is;
>
> [RoutingPolicy]
> default=internal,neighbor
>
> [RoutingPolicy::OnARQ]
> default=internal,neighbor
>
> [RoutingPolicy::OnLRQ]
> default=internal,neighbor
>
> Any help would be greatly appreciated.
>
> Andrew
>
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________________
>
> Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> 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/
>   


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
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/

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

  Powered by Linux