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();