Make sure we send any pending facility APDUs after we receive proceeding. #7551

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@367 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Matthew Fredrickson 2006-07-28 14:41:57 +00:00
parent 9969553056
commit 342c1f81ca

9
q931.c
View File

@ -3418,6 +3418,15 @@ int q931_receive(struct pri *pri, q931_h *h, int len)
pri->ev.proceeding.progressmask = c->progressmask;
pri->ev.proceeding.cref = c->cr;
pri->ev.proceeding.call = c;
cur = c->apdus;
while (cur) {
if (!cur->sent && cur->message == Q931_FACILITY) {
q931_facility(pri, c);
break;
}
cur = cur->next;
}
return Q931_RES_HAVEEVENT;
case Q931_CONNECT_ACKNOWLEDGE:
if (c->newcall) {