Accounting-Record-Number(485) Value

Accounting-Record-Number(485) Value SearchSearch
Author Message
No Name
New member
Username: Ncblx

Post Number: 9
Registered: 02-2014
Posted on Wednesday, August 27, 2014 - 12:08 pm:   

Dears.

We have problem from Diameter server on Accounting-Record-Number(485)value.

For accountig reguest start type we send diameter server Accounting-Record-Number(485)value 1 and after he answered me.

But other next request we send Accounting-Record-Number: 5. it's not correct. after stop type and new accounting request we need send diameter server value 1 or 2.

how we change this value?

thanks.
No Name
New member
Username: Ncblx

Post Number: 10
Registered: 02-2014
Posted on Wednesday, August 27, 2014 - 12:16 pm:   

<avp name="Accounting-Record-Number" code="485" mandatory="true" type="Unsigned32" value="@@RequestCounter@@" />

how we change @@RequestCounter@@so that the values ​​varied only between 1 and 2 rather than increasing?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5014
Registered: 08-2008
Posted on Wednesday, August 27, 2014 - 04:17 pm:   

Hi,

Are you using the SCAPv1 template here: http://support.nowsms.com/discus/messages/12/71976.html

Or have you modified it?

Does @@RequestCounter@@ appear twice in the template?

@@RequestCounter@@ should increment each time the parameter value is processed.

So the first start record should have a value of 1. The stop record should have a value of 2.

The next start record should have a value of 3. Stop record 4.

Then start record 5, stop record 6.

If the connection is dropped, it will start back over at 1.


If you want to use a fixed value of 1 for every start record and 2 for every stop record, just replace the first "@@RequestCounter@@" with "1" and the second "@@RequestCounter@@" with "2".


--
Des
NowSMS Support