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
This commit is contained in:
Kinsey Moore
2012-09-10 18:31:22 +00:00
parent 3a37b2b558
commit d3342a82b8

View File

@@ -9141,6 +9141,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
} }
if (initialize_udptl(p)) { if (initialize_udptl(p)) {
ast_log(LOG_WARNING, "Rejecting offer with image stream due to UDPTL initialization failure\n");
return -1; return -1;
} }