From: Kinsey Moore Date: Mon, 10 Sep 2012 18:32:51 +0000 (+0000) Subject: Warn on CLI when UDPTL init fails X-Git-Tag: 10.9.0-rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f841f9843eb39ddc1f1dff8d6a1b881535da0e34;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 ........ Merged revisions 372763 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@372764 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 4732a40d05..f4f57988d0 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9343,6 +9343,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"); res = -1; goto process_sdp_cleanup; }