Lines 4856-4865
Link Here
|
4856 |
} else { |
4856 |
} else { |
4857 |
/* XXX This could block for a long time, and block the main thread! XXX */ |
4857 |
/* XXX This could block for a long time, and block the main thread! XXX */ |
4858 |
if (audio) { |
4858 |
if (audio) { |
4859 |
if ( !(hp = ast_gethostbyname(host, &audiohp))) |
4859 |
if ( !(hp = ast_gethostbyname(host, &audiohp))) { |
4860 |
ast_log(LOG_WARNING, "Unable to lookup RTP Audio host in secondary c= line, '%s'\n", c); |
4860 |
ast_log(LOG_WARNING, "Unable to lookup RTP Audio host in secondary c= line, '%s'\n", c); |
4861 |
} else if (!(vhp = ast_gethostbyname(host, &videohp))) |
4861 |
return -2; |
|
|
4862 |
} |
4863 |
} else if (!(vhp = ast_gethostbyname(host, &videohp))) { |
4862 |
ast_log(LOG_WARNING, "Unable to lookup RTP video host in secondary c= line, '%s'\n", c); |
4864 |
ast_log(LOG_WARNING, "Unable to lookup RTP video host in secondary c= line, '%s'\n", c); |
|
|
4865 |
return -2; |
4866 |
} |
4863 |
} |
4867 |
} |
4864 |
|
4868 |
|
4865 |
} |
4869 |
} |