|
|
|
@ -33588,9 +33588,7 @@ static int sip_set_rtp_peer(struct ast_channel *chan, struct ast_rtp_instance *i
|
|
|
|
|
|
|
|
|
|
static void sip_get_codec(struct ast_channel *chan, struct ast_format_cap *result)
|
|
|
|
|
{
|
|
|
|
|
struct sip_pvt *p = ast_channel_tech_pvt(chan);
|
|
|
|
|
|
|
|
|
|
ast_format_cap_append_from_cap(result, !ast_format_cap_count(p->peercaps) ? p->caps : p->peercaps, AST_MEDIA_TYPE_UNKNOWN);
|
|
|
|
|
ast_format_cap_append_from_cap(result, ast_channel_nativeformats(chan), AST_MEDIA_TYPE_UNKNOWN);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static struct ast_rtp_glue sip_rtp_glue = {
|
|
|
|
|