hello Bogdan,
I made a mistake into openser.cfg. I didnt set the use_domain for the registrar module.
Now everything is fine and the domain is stored into location table.
thanks a lot to evrybody for your support.
Alex
---------- Initial Header -----------
From : "Bogdan-Andrei Iancu"
bogdan(a)voice-system.ro
To : "buxalex(a)libero.it"
buxalex(a)libero.it
Cc : "christophe.irles" christophe.irles(a)alcatel.fr,"users"
users(a)openser.org
Date : Fri, 07 Apr 2006 17:17:30 +0300
Subject : Re: [Users] aut_db module and realm
> Hi,
>
> what do you mean by crash - cannot start due some errors (see the logs) ?
>
> regards,
> bogdan
>
> buxalex(a)libero.it wrote:
>
> >Hello,
> >
> >thanks for your help. I entered a new line in my openser.cfg:
> >
> >modparam("usrloc", "use_domain", 1)
> >
> >but when I start openser (through Monit service manager) it crashes.
> >If I set the parameter value=0 it works fine but, of course, the domain is not
populated into location table.
> >
> >Could you please give me any advice?
> >
> >Thanks
> >Alessandro
> >---------- Initial Header -----------
> >
>
From : "Bogdan-Andrei Iancu"
bogdan(a)voice-system.ro
> >To : "Christophe Irles"
christophe.irles(a)alcatel.fr
> >Cc : buxalex(a)libero.it,"users" users(a)openser.org
> >Date : Thu, 06 Apr 2006 19:34:51 +0300
> >Subject : Re: [Users] aut_db module and realm
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >>Hi,
> >>
> >>just as an add-on...to have the domain column populated in location
> >>table, you need to set the "use_domain" param in location module.
See:
> >>
http://openser.org/docs/modules/1.0.x/usrloc.html#AEN195
> >>
> >>regards,
> >>bogdan
> >>
> >>Christophe Irles wrote:
> >>
> >>
> >>
> >>>Hello,
> >>>
> >>>command [ modparam("auth_db", "domain_column",
"domain") ] is used to
> >>>indicate to auth_db module the name of the column to use to retrieve the
> >>>domain associated to an user in the "subcriber" table (table
name use
> >>>generally by default in auth_db).
> >>>
> >>>This table is filled by the administrator to grant access
> >>>
> >>>The "location" is filled by openSER when user registered on
openSER based of
> >>>info given by UA. So it's possible to have location.domain !=
> >>>subscriber.domain if the settings of the UA is not performed correctly.
> >>>
> >>>Field location.received contains this data SIP:IP:PORT of the UA device
> >>>
> >>>Hope this helps,
> >>>Christophe
> >>>
> >>>-----Message d'origine-----
> >>>De : users-bounces(a)openser.org [mailto:users-bounces@openser.org] De la
part
> >>>de buxalex(a)libero.it
> >>>Envoyé : jeudi 6 avril 2006 16:38
> >>>À : users
> >>>Objet : [Users] aut_db module and realm
> >>>
> >>>Hello to everybody,
> >>>
> >>>I configured the openser.cfg as follow:
> >>>
> >>>#-----------------------------------
> >>># AUT_DB parameters
> >>>#----------------------------------
> >>>
> >>>modparam("auth_db", "db_url",
"mysql://openser:openser@localhost/openser")
> >>>modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db",
> >>>"domain_column", "domain")
modparam("auth_db", "user_column", "phone")
> >>>modparam("auth_db", "password_column",
"password")
> >>>
> >>>In this way openser checks for authentication the phone number instead
of
> >>>the username (it works fine!!). My problem is realted to domain.
Entering
> >>>the modparam(.....,"domain") I was expecting to see the domain
column
> >>>populated in the table location, but it doesn't happen. Do I have to
> >>>configure something else? Moreover, anybody could explain me the meaning
of
> >>>the column location.received?
> >>>
> >>>thanks in advance
> >>>Alessandro
> >>>
> >>>
> >>>_______________________________________________
> >>>Users mailing list
> >>>Users(a)openser.org
> >>>http://openser.org/cgi-bin/mailman/listinfo/users
> >>>
> >>>
> >>>_______________________________________________
> >>>Users mailing list
> >>>Users(a)openser.org
> >>>http://openser.org/cgi-bin/mailman/listinfo/users
> >>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> >
> >
>
>