Re: Re: Re: Rewriting E164 numbers after GW selection

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

 



Hello.

Thanks a lot.
I'm waiting it to be included in CVS (2.0 branch).

ICbxc> Hello All,
ICbxc>         I have finally got round to implementing per gateway E164 number
ICbxc> rewriting as discussed in this thread in early November. Attached is a patch
ICbxc> providing it for version 2.0.6. The code provides triple stage rewriting:

ICbxc> per gw input E164 rewriting -> standard E164 rewriting -> (endpoint
selection) ->> per gw output E164 rewriting 

ICbxc> This is configured in a new configuration section as follows:

ICbxc> [RasSrv::GWRewriteE164]
ICbxc> foo=out=1223=2323
ICbxc> foo=out=13=4444
ICbxc> foo=in=777=8888
ICbxc> bar=in=777=9999 

ICbxc> And so on. The first element in the line is the GW that the rule is being
ICbxc> applied to the second the direction (whether it is applied before the
ICbxc> standard rewriting and the endpoint selection or after) and finally the rule
ICbxc> itself in the same as the standard rewriting ([RasSrv::RewriteE164]). All
ICbxc> this allows much more sophisticated control of what is sent to the endpoint
ICbxc> for example an authentication prefix and per endpoint routing policies to be
ICbxc> constructed. The code has been tested by me, but should probably be
ICbxc> considered alpha quality for now. 


------------
С уважением,
Артур Якупов
сис. адм.
ООО "Дартел"
7(8342)328166

mailto:artur@dartel.ru



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
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