diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-29 22:52:39 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-29 22:52:39 +0000 |
commit | bc305caa212b3bfc7e096021740a6be595aa4bfe (patch) | |
tree | a423d136961ca326a1f9fecd02fc60a013c2e9ac /channels | |
parent | 1c7dbb884b81b35f2f4de4324a5c34811aad6962 (diff) |
Merged revisions 204301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r204301 | mmichelson | 2009-06-29 17:50:35 -0500 (Mon, 29 Jun 2009) | 15 lines
Merged revisions 204300 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r204300 | mmichelson | 2009-06-29 17:45:34 -0500 (Mon, 29 Jun 2009) | 9 lines
Add error message so that it is clear why a SIP peer was not processed when
a DNS lookup fails on a host or outboundproxy.
(closes issue #13432)
Reported by: p_lindheimer
Patches:
outboundproxy.patch uploaded by p (license 558)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@204302 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ce03535fc..3a6ba8191 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -21603,6 +21603,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, str (peer->socket.type & SIP_TRANSPORT_TCP) ? "_sip._tcp" : "_sip._tls") : NULL)) { + ast_log(LOG_ERROR, "srvlookup failed for host: %s, on peer %s, removing peer\n", srvlookup, peer->name); unref_peer(peer); return NULL; } |