Don't change states on progress!

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@119 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer 2004-06-17 16:24:10 +00:00
parent 97648bb1b4
commit 3193d779ef

2
q931.c
View File

@ -1882,8 +1882,6 @@ int q931_call_progress(struct pri *pri, q931_call *c, int channel, int info)
channel &= 0xff; channel &= 0xff;
c->channelno = channel; c->channelno = channel;
} }
c->ourcallstate = Q931_CALL_STATE_INCOMING_CALL_PROCEEDING;
c->peercallstate = Q931_CALL_STATE_OUTGOING_CALL_PROCEEDING;
if (info) { if (info) {
c->progloc = LOC_PRIV_NET_LOCAL_USER; c->progloc = LOC_PRIV_NET_LOCAL_USER;
c->progcode = CODE_CCITT; c->progcode = CODE_CCITT;