On 5/27/10 9:56 PM, dotnetdub wrote:
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?
yes, to delete the received RPID use remove_hf("Remote-Party-ID") from
textops.
Cheers,
Daniel
$avp(s:rpid) = ?
Not really sure how to extract the RPID from the SIP message sent from
the asterisk.
TIA.
Stephen.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Miami, Fl, USA - June 21-23, 2010
http://www.asipto.com/index.php/kamailio-advanced-training/