From: Kinsey Moore Date: Mon, 10 Sep 2012 18:31:22 +0000 (+0000) Subject: Warn on CLI when UDPTL init fails X-Git-Tag: 1.8.17.0-rc1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3342a82b8d636e2466b20bc502d746e4e743d6f;p=thirdparty%2Fasterisk.git Warn on CLI when UDPTL init fails This adds a CLI warning when a SDP offer is rejected due to UDPTL initialization failure. Previously, there was no indication of the reason for offer rejection in this case. (closes issue ASTERISK-20357) Reported-by: Francesco Usseglio Gaudi git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@372763 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d4f933f060..76346870ec 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9141,6 +9141,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action } if (initialize_udptl(p)) { + ast_log(LOG_WARNING, "Rejecting offer with image stream due to UDPTL initialization failure\n"); return -1; }