mirror of https://github.com/sipwise/asterisk.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
353 B
14 lines
353 B
--- channels/chan_sip.c (revisión: 201379)
|
|
+++ channels/chan_sip.c (revisión: 201380)
|
|
@@ -15519,6 +15519,10 @@
|
|
memset(buf, 0, buflen);
|
|
memset(&qos, 0, sizeof(qos));
|
|
|
|
+ if (p == NULL) {
|
|
+ return -1;
|
|
+ }
|
|
+
|
|
if (strcasecmp(args.type, "AUDIO") == 0) {
|
|
all = ast_rtp_get_quality(p->rtp, &qos);
|
|
} else if (strcasecmp(args.type, "VIDEO") == 0) {
|