CDR over Radius
Posted by , Last modified by Daniel Lizaola on 14 December 2017 04:17 PM

Configuration Description

The SmartNode sends a CDR message if a incoming or outgoing Call-Setup passes the SIP-Interface.
You may define and configure a independent CDR-services-element for each call-routing-leg.

Commande Sequence to copy, edit and paste

#-----------------------------------------------------------------#
#                                                                 #
# SMARTWARE 5.X                                                   #
#                                                                 #
# CALL-DETAIL-RECORDS over RADIUS                                 #
#                                                                 #
# Sample configuration of CDR service in a simple call-router     #
# configuration. You may enhance the call-router configuration    #
# according your requirements.                                    #
#                                                                 #
# After replacing all variables you may copy and paste this       #
# configuration part into your offline configuration file.        #
#                                                                 #
# The SmartNode sends a CDR message if a incoming                 #
# or outgoing Call-Setup passes the SIP-Interface.                #
# You may define and configure a independent CDR-services-element #
# for each call-routing-leg.                                      #
#                                                                 #
# DATE:   2011-01-05                                              #
# AUTHOR: Thomas Tlapak                                           #
#         PATTON-INALP-NETWORKS; CH-3172 NIEDERWANGEN             #
#         WWW.PATTON.COM    WWW.INALP.COM                         #
#                                                                 #
#                                                                 #
#-----------------------------------------------------------------#

radius-client accounting

# Enter below the Radius Server IP and Port
  radius-server "ip-address" "port"

# Enter below the Radius Password for authentication of SmartNode
  shared-secret authentication "password"

profile aaa accounting
  method 1 radius accounting

context cs switch

  routing-table called-e164 RT_to_SIP
    route .T dest-service SER_Radius_SIP.out

  interface sip IF_SIP_PROXY
    bind context sip-gateway GW_SIP
    route call dest-service SER_Radius_SIP.in
# Enter below the SIP server / Softswitch IP address or FQDN
    remote <0.0.0.0>

  interface isdn IF_ISDN_PBX
    route call dest-table RT_to_SIP

  service aaa SER_Radius_SIP
    accounting start-trigger setup
    accounting use profile aaa accounting

    port in
      route call dest-interface IF_ISDN_PBX

    port out
      route call dest-dest-interface IF_SIP_PROXY

context cs switch
  no shutdown


(8748 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).