Jerasoft Development's VCS Dynamic Routing
JeraSoft’s Dynamic Routing uses SIP redirection feature (3xx response) to indicate new routing destinations.
Brekeke SIP Server Failover plugin can handle 3xx redirect response and send a new INVITE to contact address indicated in the 3xx response.
The following Dial Plan Rules include samples for RADIUS preauthentication and Failover plugin with RADIUS handling, “failoverRadiusAcct”, Rule -3 “Access Accept ”
Rule-1: Pre-authorization
-------------------------- [Matching Patterns] $request = ^INVITE $radius.preauth($getSIPuser(From),$getUri(From),$getUri(To),$addr) = .+ [Deploy Patterns] $auth = false $continue = true --------------------------
Rule-2: Set Credit Time
-------------------------- [Matching Patterns] $request = ^INVITE &preauth.h323-credit-time = (.+) [Deploy Patterns] &net.sip.timeout.talking = %1 &net.sip.timeout.expand.talking = false $continue = true --------------------------
Rule-3: Access Accept
-------------------------- [Matching Patterns] $request = ^INVITE &preauth.result = true To=sip:(.+)@ [Deploy Patterns] $session = failoverRadiusAcct To = sip:%1@<VCS's IP Address> --------------------------
Rule-4: Access Reject
-------------------------- [Matching Patterns] $request = ^INVITE &preauth.result = false [Deploy Patterns] $response = 603 --------------------------