summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2012-07-10 15:36:37 +0000
committerKinsey Moore <kmoore@digium.com>2012-07-10 15:36:37 +0000
commit3805e2ae4d654a24f7c98fc6f41dcec81d02670e (patch)
treeb37ffddfc588f9e10b1150a643743f5df93bce1b
parent55871d3a67a824c55b8cbf72f534f0d310836c81 (diff)
Fix failing SDP_offer_answer test
Asterisk now generates image stream declinations with the same transport case that it used to before the stream declination improvements. (udptl vs UDPTL) (closes issue SWP-4736) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 324328933..70d645e15 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9527,14 +9527,14 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
if (((sscanf(m, "image %30u udptl t38%n", &x, &len) == 1 && len > 0) ||
(sscanf(m, "image %30u UDPTL t38%n", &x, &len) == 1 && len > 0))) {
/* produce zero-port m-line since it may be needed later
- * length is "m=image 0 UDPTL t38" + "\0" */
+ * length is "m=image 0 udptl t38" + "\0" */
if (!(offer->decline_m_line = ast_malloc(20))) {
ast_log(LOG_WARNING, "Failed to allocate memory for SDP offer declination\n");
res = -1;
goto process_sdp_cleanup;
}
/* guaranteed to be exactly the right length */
- strcpy(offer->decline_m_line, "m=image 0 UDPTL t38");
+ strcpy(offer->decline_m_line, "m=image 0 udptl t38");
if (x == 0) {
ast_log(LOG_WARNING, "Ignoring image stream offer because port number is zero\n");