We are using [RadAliasAuth] for PrePaid , where each user uses a single ID/PIN . We are converting IP to CLI as PIN for wholesale user for auth/acct .
I think [FileIPAuth] will not be fit for wholesale users , as we are using [RadAliasAuth] for using central RADIUS/Database .
Actually I was thinking like what YATE does ...
.*=h323/\0@xxxxxxxxxxxx:1721; callername=h323:1234567890 ; caller=${caller}
Here YATE can send 2 field separately to GnuGK , "callername as h323id/PIN" and "caller as CLI" .
"[RewriteSource]" or something like that will probably meet up the situation , where some IP(s) will be made/converted to single H323ID/trunk and will be usable with [RadAliasAuth] .
Thanks,
Best Regards,
//Tusar\\
On Tue, Apr 15, 2008 at 7:54 PM, Jan Willamowius <jan@xxxxxxxxxxxxxx> wrote:
Hi,
since all you are trying to do is authenticate by IP, why don't you
use [FileIPAuth] ? Then there is no need to mangle the CLI.
I think your idea stretches the idea of "rewriting the CLI" even
further than we already do. Since we already have quite a number of
Rewrite sections that work on the destination number/alias, we could
also add something like "[RewriteSource]".
Regards,
Jan
--
Tusar wrote:
> Hi,
>
> I am currently managing my wholesale customer using CLI rewriting . Like any
> call from [192.168.20.5/192.168.20.6]
> is set to CLI=1234567890 and getting auth and accounting on [1234567890] and
> it is running superb . But problem
> is original CLI from my customer are rewritten and can not relay the
> original CLI to telco .
>
> [RewriteCLI]
> in:192.168.20.5=any=1234567890
> in:192.168.20.6=any=1234567890
>
> [CapacityControl]
> cli:1234567890=^1214 30
>
> Just a thought , All calls from specific IP(s) will be written as h323id
> where as original CLI will be
> intact, so that we can relay the original CLI to telco and auth/acc will be
> set based on h323id .
>
> [RewriteCLI]
> in:192.168.20.5=any=h323id:1234567890
> in:192.168.20.6=any=h323id:1234567890
>
> [CapacityControl]
> h323id:1234567890=^1214 30
>
> Do you have any plan to implement like this feature or is there any option
> already here which I am missing ?
>
>
> Best Regards,
>
> //Tusar\\
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________________
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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________________ 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/