diff options
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_skinny.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 39aed4fc6..691fae0e8 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -3763,7 +3763,9 @@ static int skinny_indicate(struct ast_channel *ast, int ind, const void *data, s case AST_CONTROL_PROCEEDING: break; case AST_CONTROL_SRCUPDATE: - ast_rtp_new_source(sub->rtp); + if (sub->rtp) { + ast_rtp_new_source(sub->rtp); + } break; default: ast_log(LOG_WARNING, "Don't know how to indicate condition %d\n", ind); |