More accurate and detailed sample configuration file.
This commit is contained in:
parent
87b796c857
commit
5bc9fa8a66
|
@ -74,9 +74,12 @@
|
||||||
<param name="seqfile" value="/var/run/radius.seq"/>
|
<param name="seqfile" value="/var/run/radius.seq"/>
|
||||||
</connection>
|
</connection>
|
||||||
<fields>
|
<fields>
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_host" format="src-gw-ip=%s"/>
|
<param vendor="Cisco" name="h323-conf-id" variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="uuid" format="h323-call-id=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_network_ip" format="src-gw-ip=%s"/>
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-gw-name=%s"/>
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-gw-name=%s"/>
|
||||||
<param vendor="Cisco" name="h323-conf-id" variable="Core-UUID" format="%s"/>
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-number-in=%s" />
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_user" format="dst-number-in=%s" />
|
||||||
<param name="Called-Station-Id" variable="sip_to_user" format="%s"/>
|
<param name="Called-Station-Id" variable="sip_to_user" format="%s"/>
|
||||||
<param name="Calling-Station-Id" variable="sip_from_user" format="%s"/>
|
<param name="Calling-Station-Id" variable="sip_from_user" format="%s"/>
|
||||||
</fields>
|
</fields>
|
||||||
|
@ -103,21 +106,27 @@
|
||||||
<param name="seqfile" value="/var/run/radius.seq"/>
|
<param name="seqfile" value="/var/run/radius.seq"/>
|
||||||
</connection>
|
</connection>
|
||||||
<fields>
|
<fields>
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_host" format="src-gw-ip=%s"/>
|
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-gw-name=%s"/>
|
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_host" format="dst-gw-ip=%s"/>
|
|
||||||
<param vendor="Cisco" name="h323-conf-id" variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/>
|
|
||||||
<param vendor="Cisco" name="h323-setup-time"/>
|
|
||||||
<param vendor="Cisco" name="h323-connect-time"/>
|
|
||||||
<param vendor="Cisco" name="h323-call-origin" variable="h323-call-origin" default="answer" format="%s"/>
|
<param vendor="Cisco" name="h323-call-origin" variable="h323-call-origin" default="answer" format="%s"/>
|
||||||
<param name="Called-Station-Id" variable="sip_to_user" format="%s"/>
|
<param vendor="Cisco" name="h323-conf-id" variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/>
|
||||||
<param name="Calling-Station-Id" variable="sip_from_user" format="%s"/>
|
<param vendor="Cisco" name="Cisco-AVPair" variable="uuid" format="h323-call-id=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_contact_host" format="src-gw-ip=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-gw-name=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-number-in=%s" />
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-number-out=%s" />
|
||||||
|
<param name="Calling-Station-Id" variable="sip_from_user" variable_secondary="ani" format="%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_host" format="dst-gw-ip=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="destination_number" format="dst-gw-name=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="destination_number" format="dst-number-in=%s" />
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="destination_number" format="dst-number-out=%s" />
|
||||||
|
<param name="Called-Station-Id" variable="destination_number" format="%s"/>
|
||||||
|
<param vendor="Cisco" name="h323-setup-time"/>
|
||||||
</fields>
|
</fields>
|
||||||
<!-- <conditions>
|
<conditions>
|
||||||
<condition>
|
<condition>
|
||||||
<param var="direction" regex="^outbound$"/>
|
<!-- anti="true" will cause any leg that matches to not be logged -->
|
||||||
</condition>
|
<param var="sip_to_host" regex="^8\.8\.8\.8" anti="true"/>
|
||||||
</conditions> -->
|
</condition>
|
||||||
|
</conditions>
|
||||||
</acct_start>
|
</acct_start>
|
||||||
<acct_end>
|
<acct_end>
|
||||||
<connection name="testing">
|
<connection name="testing">
|
||||||
|
@ -129,25 +138,30 @@
|
||||||
<param name="seqfile" value="/var/run/radius.seq"/>
|
<param name="seqfile" value="/var/run/radius.seq"/>
|
||||||
</connection>
|
</connection>
|
||||||
<fields>
|
<fields>
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_host" format="src-gw-ip=%s"/>
|
<param vendor="Cisco" name="h323-call-origin" variable="h323-call-origin" default="answer" format="%s"/>
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-gw-name=%s"/>
|
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_host" format="dst-gw-ip=%s"/>
|
|
||||||
<param vendor="Cisco" name="h323-conf-id" variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/>
|
<param vendor="Cisco" name="h323-conf-id" variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="uuid" format="h323-call-id=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_contact_host" format="src-gw-ip=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-gw-name=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-number-in=%s" />
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-number-out=%s" />
|
||||||
|
<param name="Calling-Station-Id" variable="sip_from_user" variable_secondary="ani" format="%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_host" format="dst-gw-ip=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_user" variable_secondary="dialed_extension" format="dst-gw-name=%s"/>
|
||||||
|
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_user" variable_secondary="dialed_extension" format="dst-number-in=%s" />
|
||||||
|
<param name="Called-Station-Id" variable="destination_number" format="%s"/>
|
||||||
<param vendor="Cisco" name="h323-setup-time"/>
|
<param vendor="Cisco" name="h323-setup-time"/>
|
||||||
<param vendor="Cisco" name="h323-connect-time"/>
|
<param vendor="Cisco" name="h323-connect-time"/>
|
||||||
<param vendor="Cisco" name="h323-disconnect-time"/>
|
<param vendor="Cisco" name="h323-disconnect-time"/>
|
||||||
<param vendor="Cisco" name="h323-disconnect-cause"/>
|
<param vendor="Cisco" name="h323-disconnect-cause"/>
|
||||||
<param vendor="Cisco" name="h323-call-origin" variable="h323-call-origin" format="%s" default="answer"/>
|
|
||||||
<param name="Called-Station-Id" variable="sip_to_user" format="%s"/>
|
|
||||||
<param name="Acct-Session-Time" variable="billsec" format="%s"/>
|
<param name="Acct-Session-Time" variable="billsec" format="%s"/>
|
||||||
<param name="Calling-Station-Id" variable="sip_from_user" format="%s"/>
|
<param vendor="Cisco" name="Cisco-AVPair" variable_secondary="progressmsec" variable="progress_mediamsec" format="pdd-time=%s"/>
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-number-out=%s"/>
|
<param vendor="Cisco" name="Cisco-AVPair" variable="destination_number" format="dst-number-out=%s"/>
|
||||||
<param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_user" format="dst-number-out=%s"/>
|
|
||||||
</fields>
|
</fields>
|
||||||
<!-- <conditions>
|
<conditions>
|
||||||
<condition>
|
<condition>
|
||||||
<param var="direction" regex="^outbound$"/>
|
<param var="sip_to_host" regex="^8\.8\.8\.8" anti="true"/>
|
||||||
</condition>
|
</condition>
|
||||||
</conditions> -->
|
</conditions>
|
||||||
</acct_end>
|
</acct_end>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in New Issue