[asterisk-commits] kmoore: branch 1.8 r372763 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 10 13:31:26 CDT 2012


Author: kmoore
Date: Mon Sep 10 13:31:22 2012
New Revision: 372763

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=372763
Log:
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

Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=372763&r1=372762&r2=372763
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Mon Sep 10 13:31:22 2012
@@ -9141,6 +9141,7 @@
 				}
 
 				if (initialize_udptl(p)) {
+					ast_log(LOG_WARNING, "Rejecting offer with image stream due to UDPTL initialization failure\n");
 					return -1;
 				}
 




More information about the asterisk-commits mailing list