mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 05:38:11 +00:00
Fix the dependancy on libpri in zt_digit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user