top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

DIAMETER: What does 1 * [ AVP] signifies ?

+3 votes
500 views

I found 1 * [vendor-id] as a single AVP in rfc3588. Can someone please explain means of 1 * [AVP] ?

posted Mar 20, 2014 by Vimal Kumar Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+4 votes

I didn't understand it completely. I feel there is no AVP like 1* [Vendor-Id]. It may be a syntax to define an AVP multiple times.

This is what ABNF says:

repeat = 1*DIGIT / (*DIGIT "*" *DIGIT)

So it means the vendor-id avp will repeat one more time in message.

Same with the AVP code. if you want to repeat an AVP more than one time you can use the above syntax to do it.
ABNF for diameter

answer Mar 20, 2014 by Hiteshwar Thakur
thanks for your answer. Please check this AVP definition in rfc3588.

AVP Format

   <Vendor-Specific-Application-Id> ::= < AVP Header: 260 >
                                     1* [ Vendor-Id ]
                                     0*1{ Auth-Application-Id }
                                     0*1{ Acct-Application-Id }


I am asking the meaning of 1 * [] ?

I kow 1 * means repetition of AVP but there are two things as follows:
1 * {AVP}  and 1 * [AVP] . I am looking for difference between these two.
n * {AVP}  means AVP mandatory and it can repeat, and should be present for n times.

n * [AVP]  means AVP is optional and it can repeat, and should be present for n times if it is present (I stress only if it is present)
+1 vote

1 * [AVP] means.
AVP is a optional sequence ([] signifies the optional) and it can repeat but should be available for at-least 1 time.

answer Mar 20, 2014 by Salil Agrawal
Similar Questions
+2 votes

Can someone please explain, what is the significance of "0" and non"0" value of Origin-State-Id AVP in a diameter message ?

0 votes

What is the use of keeping the same information in two places like Application-Id in the Diameter header and Application-Id as AVP ?

+2 votes

Based on the 3GPP 29.272, the IDR (Insert-Subscriber-data Request message) is generated by the HSS to the MME to update the subscriber profile in the MME and/or requesting subscriber info such as location-information, subscriber state...
However the SUBSCRIPTION-DATA AVP containing the of profile to be added or updated is defined as Mandatory.
What should contain this AVP if the IDR is sent only for requesting subscriber-info without updating the subscriber profile.
Should ot be present without any nested AVP under it?

+1 vote

I was going through rfc3588 and could not understand when a Diameter Server/Agent adds Error-Reporting -Host AVP within the answer message.

...