|
|
@ -1579,6 +1579,7 @@ static const struct ast_channel_tech sip_tech_info = {
|
|
|
|
.send_digit_end = sip_senddigit_end,
|
|
|
|
.send_digit_end = sip_senddigit_end,
|
|
|
|
.bridge = ast_rtp_bridge,
|
|
|
|
.bridge = ast_rtp_bridge,
|
|
|
|
.send_text = sip_sendtext,
|
|
|
|
.send_text = sip_sendtext,
|
|
|
|
|
|
|
|
.func_channel_read = acf_channel_read,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/**--- some list management macros. **/
|
|
|
|
/**--- some list management macros. **/
|
|
|
@ -14275,6 +14276,12 @@ static int acf_channel_read(struct ast_channel *chan, char *funcname, char *prep
|
|
|
|
if (strcasecmp(args.param, "rtpqos"))
|
|
|
|
if (strcasecmp(args.param, "rtpqos"))
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Default arguments of audio,all */
|
|
|
|
|
|
|
|
if (ast_strlen_zero(args.type))
|
|
|
|
|
|
|
|
args.type = "audio";
|
|
|
|
|
|
|
|
if (ast_strlen_zero(args.field))
|
|
|
|
|
|
|
|
args.field = "all";
|
|
|
|
|
|
|
|
|
|
|
|
memset(buf, 0, buflen);
|
|
|
|
memset(buf, 0, buflen);
|
|
|
|
memset(&qos, 0, sizeof(qos));
|
|
|
|
memset(&qos, 0, sizeof(qos));
|
|
|
|
|
|
|
|
|
|
|
|