09-07-2010 08:10 AM - edited 03-16-2019 12:39 AM
Hi @ll,
I'm trying to configure the gateway to output CDR to a syslog server. The GW sends the details to the syslog server, but the PeerAddress field is always empty - this field contains the calling/called party information. Is there anything left to be enabled so this information is transmitted to the syslog server?
This gateway is connected to the PRI using MGCP. Any further details that you may need in order to help me out, just let me know.
Router#
service timestamps debug datetime msec
service timestamps log datetime msec localtime
!
!
XXX
!
logging trap debugging
logging facility syslog
!
X
!
gw-accounting syslog
logging IP Syslog Server
And this is what I get in the Syslog server, as you can see, I cannot identify the caller ID nor the calling ID.
Tue 9/7/2010 3:54:10 PM : IP >>INTERNAL.Notice<<<45>66342: Sep 7 15:54:10.433: %VOIPAAA-5-VOIP_CALL_HISTORY: CallLegType 2, ConnectionId 90742C70 B9B611DF 9F168719 71C4F24E, SetupTime 14:59:20.333 CET Tue Sep 7 2010, PeerAddress , PeerSubAddress , DisconnectCause 10 , DisconnectText normal call clearing (16), ConnectTime 14:59:20.333 CET Tue Sep 7 2010, DisconnectTime 15:54:10.433 CET Tue Sep 7 2010, CallOrigin 1, ChargedUnits 0, InfoType 2, TransmitPackets 164468, TransmitBytes 26314880, ReceivePackets 164211, ReceiveBytes 26272488
Thanks in advance,
Luis
09-07-2010 09:46 AM
Hi,
Your config looks different from the on documented here:
http://www.cisco.com/en/US/partner/tech/tk1077/technologies_tech_note09186a0080094e72.shtml
Please double check your config.
Regards,
Tere.
09-08-2010 03:38 AM
Hi testeven,
I was following that documentation to configure it but it doens't work. I tried adding this to my config:
aaa accounting connection h323 start-stop tacacs+
aaa authentication login default group tacacs+ line
aaa authentication login vtymethod group tacacs+ line
aaa authentication login conmethod line none
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
aaa accounting system default start-stop group tacacs+
Since I don't have radius in this GW I didn't put aaa accounting connection h323 start-stop radius, and given the fact that I don't have h323 configured but mgcp I also tried to put the same but with mgcp.
Is this only allowed for H323 connections? I have other GW working fine with H323 configured as it connects to the CCM and the Nortel PBX, but this one above nothing...
Any ideas?
Thanks!
09-08-2010 01:39 PM
Hi Luis,
With MGCP, you can use the CDR application with CallManager rather then using AAA accounting.
MGCP voice gateways do not support accounting via RADIUS.
Regards,
Tere.
10-25-2010 05:28 AM
Hello Tere,
I was wondering if that means CDR logging via syslog "is NOT SUPPORTED" on MGCP runnning voice-gateways?
I have a customer that only needs voice gateways who does not want/need a UCM (for other purposes). Is UCM _required_ here as a gatekeeper-like position, to provice CDR, or is it a best-practice recommendation?
Thanks,
Emre SUMENGEN
10-25-2010 10:34 AM
Hi Emre,
That's correct, MGCP is not supported for CDR ans Syslog server. Please refer to the information below:
"To collect basic start-stop connection accounting data, the gateway must be configured to support gateway-specific H.323 accounting functionality."
http://www.cisco.com/en/US/docs/ios/12_3/vvf_r/kov.html#wpxref79919
and
http://www.cisco.com/en/US/docs/ios/voice/monitor/configuration/guide/vt_vc_stat_gw_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1045280
MGCP is a master / slave protocol. If the Cu wants to pull CDR ( Call Detail record ) info to a billing server, that can be done on the Call Manager itself. However, if the customer requires to capture CDR from the gateway itself and send it to the ACS,
then he needs to use H323 protocol for his voice gateway.
For more info refer to:
http://www.cisco.com/en/US/tech/tk1077/technologies_tech_note09186a0080094e72.shtml
http://www.cisco.com/en/US/docs/ios/voice/cdr/developer/guide/cdradius.html#wp1055426
Regards,
Tere.
If this post helps, please rate!
02-07-2011 06:06 AM
I have the same issue. Thanks for the explanation.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide