Fix the dependancy on libpri in zt_digit

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Martin Pycko 23 years ago
parent a98ed49b0c
commit 3df489bff6

@ -673,9 +673,13 @@ static int zt_digit(struct ast_channel *ast, char digit)
p = ast->pvt->pvt;
index = zt_get_index(ast, p, 0);
if (index == SUB_REAL) {
#ifdef ZAPATA_PRI
if (p->sig == SIG_PRI && ast->_state == AST_STATE_DIALING) {
pri_information(p->pri->pri,p->call,digit);
} else {
#else
{
#endif
zo.op = ZT_DIAL_OP_APPEND;
zo.dialstr[0] = 'T';
zo.dialstr[1] = digit;

Loading…
Cancel
Save