9. Using Session Plug-in
The Session Plug-in is a plug-in which is used for controlling sessions and collecting accounting information. The plug-in will be loaded by setting the plug-in name for the handling variable $session.
Ex 1. Using “RadiusAcct” plug-in for all calls
Matching Patterns | Deploy Patterns |
$request = ^INVITE |
$session=com.sample.radius.proxy.RadiusAcct |
Ex 2. Using “CDRlog” plug-in if the callee’s host name is “host”
Matching Patterns | Deploy Patterns |
$request = ^INVITE $geturi( To ) = @host |
$session = com.user.CDRlog |