Index: channels/chan_sip.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v retrieving revision 1.313 diff -u -r1.313 chan_sip.c --- channels/chan_sip.c 19 Mar 2004 08:00:13 -0000 1.313 +++ channels/chan_sip.c 21 Mar 2004 09:01:20 -0000 @@ -6356,7 +6356,7 @@ struct sip_peer *peer; struct sip_user *user; char *cat; - char *utype; + char *utype; struct hostent *hp; int format; int oldport = ntohs(bindaddr.sin_port); @@ -6364,14 +6364,14 @@ globaldtmfmode = SIP_DTMF_RFC2833; if (gethostname(ourhost, sizeof(ourhost))) { - ast_log(LOG_WARNING, "Unable to get hostname, SIP disabled\n"); + ast_log(LOG_ERROR, "Unable to get hostname for this host, SIP disabled\n"); return 0; } cfg = ast_load(config); /* We *must* have a config file otherwise stop immediately */ if (!cfg) { - ast_log(LOG_NOTICE, "Unable to load config %s, SIP disabled\n", config); + ast_log(LOG_ERROR, "Unable to load config file %s, SIP disabled\n", config); return 0; } @@ -6549,7 +6549,7 @@ } else { hp = gethostbyname(ourhost); if (!hp) { - ast_log(LOG_WARNING, "Unable to get IP address for %s, SIP disabled\n", ourhost); + ast_log(LOG_ERROR, "Unable to get IP address for %s, SIP disabled\n", ourhost); return 0; } memcpy(&__ourip, hp->h_addr, sizeof(__ourip));