Don't send release complete on the global call identifier

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@77 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer
2004-02-25 20:02:04 +00:00
parent 24fba7f9b7
commit 09645488d6

3
q931.c
View File

@@ -2247,7 +2247,8 @@ int q931_receive(struct pri *pri, q931_h *h, int len)
break;
}
if (c->newcall) {
q931_release_complete(pri,c,PRI_CAUSE_WRONG_CALL_STATE);
if (c->cr & 0x7fff)
q931_release_complete(pri,c,PRI_CAUSE_WRONG_CALL_STATE);
break;
}
/* Do nothing */