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

Configuration Description

Command Sequence to copy, edit and paste

#-----------------------------------------------------------------#
#                                                                 #
# SMARTWARE 5.X                                                   #
#                                                                 #
# ENHANCEMENT for CALL-DETAIL-RECORDS over RADIUS                 #
#                                                                 #
# This config example is an enhancement to the CDR over Radius    #
# config.                                                         #
# With it, the CDR traps will contain the port informaiton, where #
# the call was coming from or was routed to.                      #
#                                                                 #
# DATE:   2011-01-05                                              #
# AUTHOR: Thomas Tlapak                                           #
#         PATTON-INALP-NETWORKS; CH-3172 NIEDERWANGEN             #
#         WWW.PATTON.COM    WWW.INALP.COM                         #
#                                                                 #
#                                                                 #
#-----------------------------------------------------------------#

context cs switch

  routing-table called-e164 RT_OUT
    route .T dest-interface IF_SIP

  interface isdn IF_ISDN_0
    route call dest-service AAA.OUT_ISDN_0

  interface isdn IF_ISDN_1
    route call dest-service AAA.OUT_ISDN_1

  interface isdn IF_ISDN_2
    route call dest-service AAA.OUT_ISDN_1

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

  service hunt-group HG
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    route call 1 dest-service AAA.IN_ISDN_0
    route call 2 dest-service AAA.IN_ISDN_1
    route call 3 dest-service AAA.IN_ISDN_2
     
  service aaa AAA
    accounting use profile aaa default

    port IN_ISDN_0
      route call dest-interface IF_ISDN_0

    port IN_ISDN_1
      route call dest-interface IF_ISDN_1     

    port IN_ISDN_2
      route call dest-interface IF_ISDN_2

    port OUT_ISDN_0
      route call dest-table RT_OUT

    port OUT_ISDN_1
      route call dest-table RT_OUT    

    port OUT_ISDN_2
      route call dest-table RT_OUT

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).