[Asterisk-Users] Asterisk SIP DNS srv records

Olle E. Johansson oej at edvina.net
Fri Sep 12 08:52:59 MST 2003


I've tried to find documentation on if Asterisk supports DNS SRV records for sip servers.

Reading the source of channel_sip.c it seems not:

    hp = gethostbyname(hostname);
    if (!hp) {
	ast_log(LOG_WARNING, "Host '%s' not found at line %d\n", hostname, lineno);
         return -1;
     }

This is in the register part.

Am I correct in this or have I missed something?

/Olle





More information about the asterisk-users mailing list