[Serusers] Work with a new column in SER.subscriber

inge inge at legos.fr
Thu Dec 28 14:39:18 CET 2006


Hi Jiri,

Thanks for your answer.

I already use a new column since some month for SERWeb use. Is it
definitively impossible to do what I want ? Maybe I'm not clear in my
explaination ?

But can you tell me more about user_attrs, I don't have this table in my
base. 

Thanks.


Le jeudi 28 décembre 2006 à 13:35 +0100, Jiri Kuthan a écrit :
> I suggest not to touch the table and use user_attrs table instead for storing stuff associated
> with subscribers.
> 
> -jiri
> 
> At 10:16 28/12/2006, inge wrote:
> >Hi all,
> >
> >I add a new column named "client" in subscriber table.
> >Next, I want to do a test wich seems like that in SQL :
> >
> >"SELECT client FROM subscriber WHERE username = "actual calling number"
> >=> equivalent of avp_db_load I think ?
> >
> >Then, I think I must do a test on the previous values with an if and
> >avp_check I think.
> >
> >But my problem is to do this both requests with SER syntax in ser.cfg.
> >
> >Someone can help me ?
> >
> >Thanks
> >
> >_______________________________________________
> >Serusers mailing list
> >Serusers at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
> 
> --
> Jiri Kuthan            http://iptel.org/~jiri/ 
> 




More information about the sr-users mailing list