in and out rules both modify a destination number. The difference it at which moment it happens. Take a look at the manual.
----- Original Message ----- From: "Kimble Young" <kimble@xxxxxxxxxxxxxxx>
Sent: Thursday, February 24, 2005 4:36 AM
I've been confused once again by these rules. I have the following config which is meant to prefix all calls coming in from sydneygw01 with 02 and the calls sent to some endpoints with different prefixes 029123456, 029123457 etc.
It does this OK but when I place an outgoing call from one of these endpoints through the gateway it also adds an 02 prefix. My understanding was the with GWRewriteE164 "out" is used to modify the outgoing call number and "in" to modify the incoming call number. I would have thought my config below would strip any 02 prefixes on outgoing calls.
Can anyone tell me how to stop it adding a 02 to the outgoing dialed digits but keep on adding 02 to incoming dialed digits from this gateway?
I am using current CVS - updated today.
[RasSrv::GWPrefixes] #send every outgoing call to sydneygw sydneygw01=.
[RasSrv::GWRewriteE164]
#rewrite calls coming in from sydneygw01 to add a 02 at the front and remove the 02 on outgoing calls
sydneygw01=out=02.=.;in=.=02.
Regards,
Kimble Young
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/