Radius Start Stop Events for VoIP Calls

!
aaa new-model
aaa group server radius VOICE
 server name RAD1
!
aaa accounting connection CUBE-CDR start-stop group VOICE
!
radius server RAD1
 address fqdn radius-server.example.com auth-port 1812 acct-port 1813
 key mysecret
!
gw-accounting aaa
 method CUBE-CDR
 acct-template callhistory-detail ! This sends ALL VoIP records to the Radius Server
!
voice class aaa 1000
 accounting suppress 
 ! note this is used in the below dial-peer 200 - so this does NOT produce an accounting record - so we don't get one per leg.
!
dial-peer voice 100 voip
 description Inbound/Outbound Webex Calling
 max-conn 250
 destination-pattern BAD.BAD
 session protocol sipv2
 session target sip-server
 destination dpg 200
 incoming uri request 100
 voice-class codec 100
 voice-class stun-usage 100
 no voice-class sip localhost
 voice-class sip tenant 100
 dtmf-relay rtp-nte
 srtp
 no vad
!
dial-peer voice 200 voip
 description Inbound/Outbound IP PSTN trunk
 destination-pattern BAD.BAD
 session protocol sipv2
 session target ipv4:192.168.80.13
 destination dpg 100
 incoming uri via 200
 voice-class aaa 1000
 voice-class codec 100
 voice-class sip asserted-id pai
 voice-class sip bind control source-interface GigabitEthernet1
 voice-class sip bind media source-interface GigabitEthernet1
 dtmf-relay rtp-nte
 no vad
!
  • vendors/cisco/routers/radius.txt
  • Last modified: 2026/09/18 08:13
  • by gerardorourke