[OpenSIPS-Users] rpid_avp and NULL values

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jul 22 11:09:02 CEST 2009


Hi Carlo,

you must set the line :
    modparam("auth_db", "load_credentials", "$avp(s:rpid)=rpid")

This line instructs opensips to load at db auth time tht "rpid" field 
into the $avp(s:rpid) variable.

The line:
    modparam("auth", "rpid_avp", "$avp(s:rpid)")

simply tells to the append_rpid_hf() function where the RPID value is 
stored (in what variable).

Regards,
Bogdan

Carlo Dimaggio wrote:
>
> Il giorno 20/lug/09, alle ore 19:13, Bogdan-Andrei Iancu ha scritto:
>
>> Hi Carlo,
>>
>> yes there were some fixes in the 1.5.1 that are now available in 
>> 1.5.2. But it is rather strange what you describe....how does the 
>> load_credentials param look like for you?
>
> Hi Bogdan,
>
> I have the default value for load_credentials (no param for auth_db) 
> and modparam("auth", "rpid_avp", "$avp(s:rpid)").
> Is there any error with this config? Should I need modparam("auth_db", 
> "load_credentials", "$avp(s:rpid)=rpid") instead of rpid_avp?
>
>
> Thanks and regards,
> Carlo
>




More information about the Users mailing list