From 7616d69a63a4e12d034a5fd1ddcb7099dd9ecc15 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 14 Feb 2006 18:30:32 +0000 Subject: [PATCH] Merged revisions 9958 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r9958 | kpfleming | 2006-02-14 12:30:10 -0600 (Tue, 14 Feb 2006) | 2 lines when answering INVITE, don't send codecs the peer didn't offer (issue #6052) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9959 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d896fa9dd4..468514a961 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4492,7 +4492,7 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p) ast_log(LOG_WARNING, "No way to add SDP without an RTP structure\n"); return -1; } - capability = p->capability; + capability = p->jointcapability; if (!p->sessionid) { p->sessionid = getpid();