[Serusers] msilo performs DNS-Lookup to domain name

Jankowski, Jan Praktikant5 at liz.lsa-net.de
Fri Sep 10 11:14:11 CEST 2004


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.

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?


Jan




More information about the sr-users mailing list