Re: [SR-Users] RPID Question

2010-05-28 Thread Daniel-Constantin Mierla
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")) {

Re: [SR-Users] RPID Question

2010-05-27 Thread Alex Balashov
On 05/27/2010 03:56 PM, dotnetdub wrote: Not really sure how to extract the RPID from the SIP message sent from the asterisk. You can get the full header value of any header using the $hdr(...) container[1], e.g. $hdr(Remote-Party-ID) There is also a dedicated pseudovariable to expose t

[SR-Users] RPID Question

2010-05-27 Thread dotnetdub
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