Re: RADIUS based call routing

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

 



hello
I was testing these new attributes last week, all the outgoing calls are redirected but when you talk about "inbound rewrite" it means that it is possible to forward inbound calls to the "h323-redirect-number" too?
 
I am using freeradius, user file contains authentication and security information for each user like this:
 
agent04     Auth-Type := Local, User-Password == "callcenter"
                Cisco-AVPair = "h323-ivr-out=terminal-alias:agent04,6600020,6603000;",
                Framed-IP-Address = "10.0.0.236",
                Reply-Message = "Hello, %u",
                h323-return-code="0",
                h323-credit-time = "h323-credit-time=86400",
                h323-redirect-number = "6604001"
 
thanks
Rafael
 
PS: my ini file: 
[root@gk01 etc]# more test_RBR.ini
#####################################
[Gatekeeper::Main]
Fourtytwo=42
Name=H323GK_TestRBR
Home=xxxx
TimeToLive=600
TotalBandwidth=100000
StatusPort=7000
 
[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1721
CallSignalHandlerNumber=1
RemoveH245AddressOnTunneling=0
AcceptNeighborsCalls=1
AcceptUnregisteredCalls=0
SupportNATedEndpoints=1
DropCallsByReleaseComplete=1
RemoveCallOnDRQ=1
SendReleaseCompleteOnDRQ=0
ScreenDisplayIE=
ScreenCallingPartyNumberIE=
ScreenSourceAddress=
ForwardOnFacility=1
ShowForwarderNumber=1
Q931PortRange=20000-20999
H245PortRange=30000-30999
SignalTimeout=15000
AlertingTimeout=60000
 
[RasSrv::ARQFeatures]
ArjReasonRouteCallToSCN=0
ArjReasonRouteCallToGatekeeper=1
CallUnregisteredEndpoints=1
RemoveTrailingChar=;
ParseEmailAliases=1
[RasSrv::RRQAuth]
default=confirm
 
[GkStatus::Auth]
rule=allow
 
[Gatekeeper::Auth]
RadAuth=required;RRQ,ARQ
default=allow
; Configuration section for RadAuth authenticator module
[RadAuth]
Servers=w.w.w.w
LocalInterface=w.w.w.w
RadiusPortRange=10000-11000
DefaultAuthPort=1812
SharedSecret=testing123
RequestTimeout=2000
IdCacheTimeout=9000
SocketDeleteTimeout=60000
RequestRetransmissions=2
RoundRobinServers=1
AppendCiscoAttributes=1
IncludeTerminalAliases=1

[Gatekeeper::Acct]
RadAcct=alternative;start,stop,on,off
 
[RadAcct]
Servers=w.w.w.w
LocalInterface=w.w.w.w
RadiusPortRange=10000-11000
DefaultAcctPort=1813
SharedSecret=testing123
RequestTimeout=3500
IdCacheTimeout=9000
SocketDeleteTimeout=60000
RequestRetransmissions=4
RoundRobinServers=1
AppendCiscoAttributes=1
FixedUsername=
 


Zygmuntowicz Michal <m.zygmuntowicz@xxxxxxx> wrote:
The order is as follows:
1. Inbound rewrite.
2. Global rewrite.
3. RADIUS/VirtualQueue rewrite.
4. Outbound rewrite.

To use h323-redirect-ip-address and/or h323-redirect-number
for registered endpoints, you need to setup RadAuth/RadAliasAuth
for either ARQ or Setup. For unregistered endpoints, you need
to enable Setup or SetupUnreg authentication.

This will work for neighbors only with Setup/SetupUnreg authentication.
It will not rewrite/redirect call upon LRQ is received, as LRQ does not
trigger generating any call record to store this information for further use.

----- Original Message -----
From: "Thomas"
Sent: Thursday, August 19, 2004 12:32 PM


> I'm using 2.2 from CVS and see in changelog:
> Ability to set call destination in auth modules. RADIUS based call routing.
>
> Could somebody show me how to use this type of routing?
> In radauth.cxx I found that h323-redirect-number and
> h323-redirect-ip-address attributes may be used for this.
>
> If I rewrite the called number with h323-redirect-number, will it pass
> through number rewriting rules again? How is it handled?
>
> Will h323-redirect-ip-address work for permanent gateways, registered
> endpoints and neighbors as well?
>
> I didn't find anything about in manuals and I'm not very familiar with
> code (yet).
>
> Thanks in advance,
> Thomas



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/



Do You Yahoo!?
Todo lo que quieres saber de Estados Unidos, América Latina y el resto del Mundo.
Visíta Yahoo! Noticias.

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

  Powered by Linux