Rewriting from Neighbor problems.

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

 



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/

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

  Powered by Linux