AVP queue

Bill
2013-05-03
2013-05-09
  • Bill
    Bill
    2013-05-03

    Hi all,

    Usually when retrieving the value from AVP it will return the last value in the queue if I am not mistaken,   but in my case, it will stop doing so when it reach the 5th value, and it keeps retrieving the 5th value. I tried to delete it in the end of the block but no result.

    please advice me in this matter

    Bill

     
  • Hi Bill,

    There is no limit on how many values you can push into an AVP.  Try :
    while (  is_avp_set("$avp(test)") ) {
          xlog("avp value is $avp(test) \n");
          $avp(test) = NULL;
    }