[Devel] needless pinging by mediaproxy?

Dan Pascu dan at ag-projects.com
Mon Mar 20 08:46:34 CET 2006


On Saturday 18 March 2006 14:59, Juha Heinanen wrote:
> i had a test entry in location table, whose contact host was not in DNS
> and i started to get error messages like this to syslog:
>
> Mar 18 14:51:46 rautu /usr/sbin/openser[7061]: error:
> mediaproxy/pingClients(): can't resolve host <test.fi>
>
> (i added printing of the host for better diagnostics).  flags field of
> that location entry is 0.
>
> my question is, why is mediaproxy module trying to ping that contact
> even if it is not behind NAT?

mediaproxy asks for all contacts that have the NAT flag set and only pings 
those returned in that list:

needed = userLocation.get_all_ucontacts(buf, length, FL_NAT);


-- 
Dan



More information about the Devel mailing list