[asterisk-commits] rmudgett: trunk r418264 - in /trunk: ./ channels/sig_pri.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 9 20:59:47 CDT 2014
Author: rmudgett
Date: Wed Jul 9 20:59:44 2014
New Revision: 418264
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=418264
Log:
chan_dahdi/sig_pri: Fix type mismatch in the idledial feature's channel creation.
Square pegs in round holes don't work very well.
........
Merged revisions 418261 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 418262 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 418263 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
trunk/ (props changed)
trunk/channels/sig_pri.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: trunk/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sig_pri.c?view=diff&rev=418264&r1=418263&r2=418264
==============================================================================
--- trunk/channels/sig_pri.c (original)
+++ trunk/channels/sig_pri.c Wed Jul 9 20:59:44 2014
@@ -1029,13 +1029,13 @@
}
static struct ast_channel *sig_pri_new_ast_channel(struct sig_pri_chan *p, int state,
- int ulaw, int transfercapability, char *exten,
+ enum sig_pri_law law, int transfercapability, char *exten,
const struct ast_assigned_ids *assignedids, const struct ast_channel *requestor)
{
struct ast_channel *c;
if (sig_pri_callbacks.new_ast_channel) {
- c = sig_pri_callbacks.new_ast_channel(p->chan_pvt, state, ulaw, exten, assignedids, requestor);
+ c = sig_pri_callbacks.new_ast_channel(p->chan_pvt, state, law, exten, assignedids, requestor);
} else {
return NULL;
}
@@ -5890,7 +5890,7 @@
int exten_exists_or_can_exist;
int could_match_more;
int need_dialtone;
- int law;
+ enum sig_pri_law law;
int chanpos = -1;
struct ast_callid *callid = NULL;
struct ast_channel *c;
@@ -6357,7 +6357,7 @@
*/
sig_pri_lock_private(pri->pvts[nextidle]);
sig_pri_unlock_private(pri->pvts[nextidle]);
- idle = sig_pri_request(pri->pvts[nextidle], AST_FORMAT_ULAW, NULL, NULL, 0);
+ idle = sig_pri_request(pri->pvts[nextidle], SIG_PRI_ULAW, NULL, NULL, 0);
ast_mutex_lock(&pri->lock);
if (idle) {
pri->pvts[nextidle]->isidlecall = 1;
More information about the asterisk-commits
mailing list