[Serusers] msilo performs DNS-Lookup to domain name

Jiri Kuthan jiri at iptel.org
Fri Sep 10 12:20:21 CEST 2004


At 11:14 AM 9/10/2004, Jankowski, Jan wrote:
>I have a Problem using the msilo module.
>
>Storing offline messages works fine but if a user comes online, stored
>messages will not be sent to him, because msilo tries to lookup the
>domain name in the stored uri.
>This is a Problem, because looking up this domain name will not give the
>ip address of the ser machine.

why is this a problem?


>Here are two parts of my ser.cfg:
>
>modparam("msilo", "db_url", "sql://ser:heslo@localhost/ser")
>modparam("msilo", "db_table", "silo")
>modparam("msilo", "registrar", "sip:admin at localhost")
>
>
>if (method=="REGISTER") {
>        if (!www_authorize("", "subscriber")) {
>                www_challenge("", "1");
>                sl_send_reply("403", "Only registered users are
>allowed");
>                break;
>        };
>        save('location');
>        m_dump();
>        break;
>};
>
>
>I'm using the example from the standard msilo.cfg to store the messages.
>
>Is there a way to solve this without using a real hostname for ser?
>Why msilo doesn't use the users real ip address stored in the usrloc
>database?

Because these can change.



>Jan
>
>_______________________________________________
>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