diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-19 21:02:11 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-19 21:02:11 +0000 |
commit | b62fee345246d858540d589ac786a1ffd76a5c65 (patch) | |
tree | de1b24a24ac4eae6d43f878068426bad2940c474 /channels | |
parent | 9ffd2c811e26e2d146c1a3ba709ea41fc8fac408 (diff) |
Update for newer libpri
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3018 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_zap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 8e2c08ccb..ba6f93051 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -3854,7 +3854,7 @@ static int zt_write(struct ast_channel *ast, struct ast_frame *frame) if (p->pri->pri) { if (!pri_grab(p, p->pri)) { #ifdef PRI_PROGRESS - pri_progress(p->pri->pri,p->call, 1); + pri_progress(p->pri->pri,p->call, p->prioffset, 1); #else pri_acknowledge(p->pri->pri,p->call, p->prioffset, 1); #endif @@ -3968,7 +3968,7 @@ static int zt_indicate(struct ast_channel *chan, int condition) if (p->pri->pri) { if (!pri_grab(p, p->pri)) { #ifdef PRI_PROGRESS - pri_progress(p->pri->pri,p->call, 1); + pri_progress(p->pri->pri,p->call, p->prioffset, 1); #else pri_acknowledge(p->pri->pri,p->call, p->prioffset, 1); #endif @@ -6536,10 +6536,10 @@ static void *pri_dchannel(void *vpri) ast_log(LOG_WARNING, "Unable to set gains on channel %d\n", pri->pvt[chan]->channel); if (e->ring.complete || !pri->overlapdial) { /* Just announce proceeding */ -#ifdef PRI_PROCEEDING - pri_proceeding(pri->pri, e->ring.call, 0); +#ifdef PRI_PROCEEDING_FULL + pri_proceeding(pri->pri, e->ring.call, chan, 0); #else -#warning "You need newer libpri!" +#warning "You need a newer libpri!" #endif } else { pri_need_more_info(pri->pri, e->ring.call, chan, 1); |