Hi All,<div><br></div><div>Kamailio 3</div><div><br></div><div>I currently store a default RPID in our database. We allow some asterisk customers to send us the RPID.</div><div><br></div><div>I want to store the RPID sent by the customer on the radius record.</div>

<div><br></div><div>We test:</div><div><br></div><div><div>  if!(is_present_hf(&quot;Remote-Party-ID&quot;)) {</div><div>                #RPID Not Set by Asterisk - Will set now from DB</div><div>                append_rpid_hf();</div>

<div>}</div><div><br></div><div>Do I use textops to get the RPID that the Asterisk sends and then overwrite what we read from the database?</div><div><br></div><div>$avp(s:rpid) = ?</div><div><br></div><div>Not really sure how to extract the RPID from the SIP message sent from the asterisk.</div>

<div><br></div><div>TIA.</div><div>Stephen.</div><div><br></div></div>