Re: [OpenSIPS-Users] rpid_avp and NULL values
Il giorno 22/lug/09, alle ore 11:09, Bogdan-Andrei Iancu ha scritto: > 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. Hi Bogdan, Last july I have modified the opensips.cfg adding "modparam("auth_db", "load_credentials", "$avp(s:rpid)=rpid")" and all worked. Now I have executed some test after upgrading to 1.5.3 and I'm experiencing with the same problem (if rpid field of user A is NULL, after some calls user A takes the rpid of another user B (that is not null)) In addition, user A has a different domain of user B. What do you think about this behaviour? Thanks and Regards, Carlo Dimaggio ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] rpid_avp and NULL values
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 describehow 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 > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] rpid_avp and NULL values
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 describehow 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 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] rpid_avp and NULL values
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 describehow does the load_credentials param look like for you? Regards, Bogdan Carlo Dimaggio wrote: > > Il giorno 17/lug/09, alle ore 14:46, Bogdan-Andrei Iancu ha scritto: > >> Hi Carlo, >> >> what DB backend are you using? mysql ? >> >> Regards, >> Bogdan > > Hi Bogdan, > > yes Mysql. > Are there some improvements in 1.5.2? > > Thanks, > Carlo > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] rpid_avp and NULL values
Il giorno 17/lug/09, alle ore 14:46, Bogdan-Andrei Iancu ha scritto: > Hi Carlo, > > what DB backend are you using? mysql ? > > Regards, > Bogdan Hi Bogdan, yes Mysql. Are there some improvements in 1.5.2? Thanks, Carlo ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] rpid_avp and NULL values
Hi Carlo, what DB backend are you using? mysql ? Regards, Bogdan Carlo Dimaggio wrote: > Hi all, > > I'm using rpid column in subscriber table in order to set the display- > name of the p-asserted header, but I have some problems with NULL > values. > In detail, I use modparam("auth", "rpid_avp", "$avp(s:rpid)") to load > the rpid. When rpid value is NULL, the $avp(s:rpid) sometimes contains > values of other subscribers (that are not NULL)... > > It's a strange behaviour... What can be the problem (is it possible > that rpid_avp takes the rpid of another subscriber)? > > > Thanks, > Carlo Dimaggio > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] rpid_avp and NULL values
Il giorno 10/lug/09, alle ore 12:51, Carlo Dimaggio ha scritto: > Hi all, > > I'm using rpid column in subscriber table in order to set the display- > name of the p-asserted header, but I have some problems with NULL > values. > In detail, I use modparam("auth", "rpid_avp", "$avp(s:rpid)") to load > the rpid. When rpid value is NULL, the $avp(s:rpid) sometimes contains > values of other subscribers (that are not NULL)... > > It's a strange behaviour... What can be the problem (is it possible > that rpid_avp takes the rpid of another subscriber)? Hi, Nobody has the same problem? I've seen that if the rpid is not null, rpid_avp contains always the right value... Thanks ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] rpid_avp and NULL values
Hi all, I'm using rpid column in subscriber table in order to set the display- name of the p-asserted header, but I have some problems with NULL values. In detail, I use modparam("auth", "rpid_avp", "$avp(s:rpid)") to load the rpid. When rpid value is NULL, the $avp(s:rpid) sometimes contains values of other subscribers (that are not NULL)... It's a strange behaviour... What can be the problem (is it possible that rpid_avp takes the rpid of another subscriber)? Thanks, Carlo Dimaggio ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users