[asterisk-commits] rmudgett: trunk r392073 - in /trunk: channels/chan_vpb.cc main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 17 13:37:29 CDT 2013
Author: rmudgett
Date: Mon Jun 17 13:37:27 2013
New Revision: 392073
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392073
Log:
chan_vpb: Fix compile error and __ast_channel_alloc() prototype const inconsistency.
Modified:
trunk/channels/chan_vpb.cc
trunk/main/channel.c
Modified: trunk/channels/chan_vpb.cc
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_vpb.cc?view=diff&rev=392073&r1=392072&r2=392073
==============================================================================
--- trunk/channels/chan_vpb.cc (original)
+++ trunk/channels/chan_vpb.cc Mon Jun 17 13:37:27 2013
@@ -2446,8 +2446,8 @@
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);
Modified: trunk/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/channel.c?view=diff&rev=392073&r1=392072&r2=392073
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Mon Jun 17 13:37:27 2013
@@ -1158,7 +1158,7 @@
struct ast_channel *__ast_channel_alloc(int needqueue, int state, const char *cid_num,
const char *cid_name, const char *acctcode,
const char *exten, const char *context,
- const char *linkedid, const enum ama_flags amaflag,
+ const char *linkedid, enum ama_flags amaflag,
const char *file, int line, const char *function,
const char *name_fmt, ...)
{
More information about the asterisk-commits
mailing list