Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

VoIP accounting (too many messages)

Hi all,

I'm trying to start a VoIP accounting on AS5300. A voip call opens 2 accounting sessions and both contain equal information. I do not know how to filter out one of them (they are equal), it's only one needed for accounting. It's not a problem with IOS because Cisco1750 gives the same results.

Here is some brief from config:

aaa new-model

aaa accounting connection h323 stop-only group radius

gw-accounting h323

Does anybody have the same problem? Do you have ideas how to solve it?

Thanks,

Mike

3 REPLIES
Cisco Employee

Re: VoIP accounting (too many messages)

When doing VoIP accounting, you'll get one accounting record for each call leg. In a VoIP call you have at least two call legs, one POTS and one TCP/IP. There's no way to not have IOS send out a record for each of these.

You can read more about VoIP accounting here:

http://www.cisco.com/en/US/tech/tk652/tk701/technologies_tech_note09186a00800e0db5.shtml

New Member

Re: VoIP accounting (too many messages)

Can I suppress messagess from one call leg or at least destinguish one call leg from another on RADIUS. Nobody needs to make accounting on one event twice.

Here are messages generated on one call:

Mon Oct 28 10:38:13 2002

NAS-IP-Address = 212.69.98.250

NAS-Port-Type = Async

User-Name = ""

NAS-Port-DNIS = "2340133"

Acct-Status-Type = Stop

User-Service = Login-User

Acct-Session-Id = "473/*07:36:40.212 UTC Mon Oct 28 2002/AS5300_GW./D4F6750E E97E11D6 888081FE 44BDB14F/originate/VoIP/*07:36:41.242 UTC Mon Oct 28 2002/*07:36:46.852 UTC Mon Oct 28 2002/10/212.69.98.252/D4F6750E E97E11D6 888081FE 44BDB14F"

Acct-Input-Octets = 2682

Acct-Output-Octets = 2780

Acct-Input-Packets = 137

Acct-Output-Packets = 139

Acct-Session-Time = 6

Acct-Delay-Time = 0

Mon Oct 28 10:38:13 2002

NAS-IP-Address = 212.69.98.250

NAS-Port-Type = Async

User-Name = ""

NAS-Port-DNIS = "2340133"

Acct-Status-Type = Stop

User-Service = Login-User

Acct-Session-Id = "472/*07:36:40.208 UTC Mon Oct 28 2002/AS5300_GW./D4F6750E E97E11D6 888081FE 44BDB14F/answer/Telephony/*07:36:41.234 UTC Mon Oct 28 2002/*07:36:46.864 UTC Mon Oct 28 2002/10//D4F6750E E97E11D6 888081FE 44BDB14F"

Acct-Input-Octets = 2780

Acct-Output-Octets = 2302

Acct-Input-Packets = 139

Acct-Output-Packets = 118

Acct-Session-Time = 6

Acct-Delay-Time = 0

Cisco Employee

Re: VoIP accounting (too many messages)

You can't suppress them, but you can distinguish between them. In the Acct-Session-Id attribute, there's a number of different fields separated by slash (/) characters. The 6th and 7th field in this attribute are the origin and the call-leg type.

You can see for one it's originate/VoIP (the VoIP call leg) and for the other it's answer/Telephony (the POTS call leg).

107
Views
0
Helpful
3
Replies
CreatePlease login to create content