[SR-Users] RPID Question

dotnetdub dotnetdub at gmail.com
Thu May 27 21:56:42 CEST 2010


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100527/e5b810b4/attachment.htm>


More information about the sr-users mailing list