Hi All,

Kamailio 3

I currently store a default RPID in our database. We allow some asterisk customers to send us the RPID.

I want to store the RPID sent by the customer on the radius record.

We test:

  if!(is_present_hf("Remote-Party-ID")) {
                #RPID Not Set by Asterisk - Will set now from DB
                append_rpid_hf();
}

Do I use textops to get the RPID that the Asterisk sends and then overwrite what we read from the database?

$avp(s:rpid) = ?

Not really sure how to extract the RPID from the SIP message sent from the asterisk.

TIA.
Stephen.