mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
chan_vpb: Fix compile error and __ast_channel_alloc() prototype const inconsistency.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2446,8 +2446,8 @@ static struct ast_channel *vpb_new(struct vpb_pvt *me, enum ast_channel_state st
|
||||
return NULL;
|
||||
}
|
||||
ast_verb(4, "%s: New call for context [%s]\n", me->dev, context);
|
||||
|
||||
tmp = ast_channel_alloc(1, state, 0, 0, "", me->ext, me->context, linkedid, 0, "%s", me->dev);
|
||||
|
||||
tmp = ast_channel_alloc(1, state, 0, 0, "", me->ext, me->context, linkedid, AST_AMA_NONE, "%s", me->dev);
|
||||
if (tmp) {
|
||||
if (use_ast_ind == 1){
|
||||
ast_channel_tech_set(tmp, &vpb_tech_indicate);
|
||||
|
Reference in New Issue
Block a user