Hi,
is there a way to validate a domain, e.g. it resolves to something, without
calling t_relay() or forward() and checking the return code?
In my case I'd like to validate enum results before dispatching it
to our outbound proxies. If not valid I must use the pstn servers.
In the logs I can see a function named sip_hostport2su does some
validation, but it seems to be a c-function only. From the log:
ERROR: <core> [resolve.c:1540]: ERROR: sip_hostport2su: could not resolve hostname:
"example.org"
ERROR: tm [ut.h:327]: failed to resolve "example.org"
--
Øyvind Kolbu