]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Warn on CLI when UDPTL init fails
authorKinsey Moore <kmoore@digium.com>
Mon, 10 Sep 2012 18:32:51 +0000 (18:32 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 10 Sep 2012 18:32:51 +0000 (18:32 +0000)
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

channels/chan_sip.c

index 4732a40d05567cc7c8bd5a06110955419063199e..f4f57988d0e7c1cfc3525b85d7568066dd38e110 100644 (file)
@@ -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;
                                }