<div dir="ltr">I have an AVP with multiple entires which I&#39;d like to add to a header, but I can&#39;t for the life of me find a way to do this. It looks like once upon a time, avp_pushto could do this, but not anymore.<div>
<br></div><div>Basically, I load an AVP like this:</div><div><div><br></div><div>                avp_db_load(&quot;$avp(userid)/uuid&quot;, &quot;$avp(uuri)/$uuri&quot;, &quot;1&quot;);</div></div><div><br></div><div style>
And I&#39;m trying to do the equivalent of:</div><div style><br></div><div style><div>              avp_pushto(&quot;$P-Associated-URI/reply&quot;, &quot;s:uuri/g&quot;);</div><div><br></div><div style>Which doesn&#39;t seem to work anymore (I can only find reference in old docs).</div>
<div style><br></div><div style>Using this:</div><div style><br></div><div>                append_to_reply(&quot;P-Associated-URI: $avp(uuri)\r\n&quot;);</div><div><br></div><div style>Only adds one of the AVP values, not all. </div>
<div style><br></div><div style>The way I see it, there are two ways this could work. Either, I need some way to &quot;join&quot; all the AVP values into one new string, or I need a way to add a header and have it take all the values and auto-join them in the usual SIP way (with comas).</div>
<div style><br></div><div style>Can anyone point me in the right direction here?</div><div style><br></div><div style>Thanks,</div><div style>Tolga</div></div></div>