|
|
@ -18891,7 +18891,7 @@ static int handle_request_bye(struct sip_pvt *p, struct sip_request *req)
|
|
|
|
|
|
|
|
|
|
|
|
/* Get RTCP quality before end of call */
|
|
|
|
/* Get RTCP quality before end of call */
|
|
|
|
if (p->do_history || p->owner) {
|
|
|
|
if (p->do_history || p->owner) {
|
|
|
|
struct ast_channel *bridge = ast_bridged_channel(p->owner);
|
|
|
|
struct ast_channel *bridge = p->owner ? ast_bridged_channel(p->owner) : NULL;
|
|
|
|
char *videoqos, *textqos;
|
|
|
|
char *videoqos, *textqos;
|
|
|
|
|
|
|
|
|
|
|
|
if (p->rtp) {
|
|
|
|
if (p->rtp) {
|
|
|
@ -18912,8 +18912,10 @@ static int handle_request_bye(struct sip_pvt *p, struct sip_request *req)
|
|
|
|
append_history(p, "RTCPaudioRTT", "Quality:%s", audioqos_rtt);
|
|
|
|
append_history(p, "RTCPaudioRTT", "Quality:%s", audioqos_rtt);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (p->owner) {
|
|
|
|
ast_rtp_set_vars(p->owner, p->rtp);
|
|
|
|
ast_rtp_set_vars(p->owner, p->rtp);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (bridge) {
|
|
|
|
if (bridge) {
|
|
|
|
struct sip_pvt *q = bridge->tech_pvt;
|
|
|
|
struct sip_pvt *q = bridge->tech_pvt;
|
|
|
|