[Serusers] Adding an user via ODBC

Jiri Kuthan jiri at iptel.org
Mon Nov 10 18:44:01 CET 2003


At 04:20 PM 11/10/2003, Alessio Focardi wrote:
>Hello Jan,
>
>>> What I'm asking is not the way to do this, since I already have it
>>> working, but if this method is correct and would not cause problems
>>> later.
> 
>JJ>    It is correct.
>
>So I can go on, it seems me ....
>   
>>> I'm writing in "subscriber" table
>
>JJ>    phplib_id is a unique key for the php library (used by serweb).
>
>Is that used by the server ? is the only data that I can't write
>using ODBC from a Windows pc.
>
>JJ>    ha1 contains an MD5 hash of username domain and password. You can use
>JJ>    gen_ha1 utility to generate it. ha1b is the same only the username is
>JJ>    in form username at domain.
>
>JJ>    ha1 and ha1b columns are used only if you have calculate_ha1
>JJ>    parameter of auth_db module off.
>
>That's not my case ....
>
>I would like to ask another question to everyone involved in SER:
>
>I'm experimenting with Grandstream IP Phones, that are allowing only
>numbers for calling out.
>
>That'is a big problem when you want to call someone outside your
>domain .... for instance 11111111 at iptel.org
>
>I think that the right way to handle this situation is to use a
>numeric prefix for every domain that our ser proxy should convert to domain names for uri rewriting.

There is the pdt module which can handle the prefix-to-domain translations
for you. There is a small webpage too which allows you to ask to query domains
and get existing or newly generated prefixes for them.

--jiri 




More information about the sr-users mailing list