Populate ctype field

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@68 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer
2003-11-24 14:36:46 +00:00
parent d80324dbdd
commit 5f6e12c3e5

1
q931.c
View File

@@ -2137,6 +2137,7 @@ int q931_receive(struct pri *pri, q931_h *h, int len)
pri->ev.ring.call = c;
pri->ev.ring.layer1 = c->userl1;
pri->ev.ring.complete = c->complete;
pri->ev.ring.ctype = c->transcapability;
if (c->transmoderate != TRANS_MODE_64_CIRCUIT) {
q931_release_complete(pri, c, PRI_CAUSE_BEARERCAPABILITY_NOTIMPL);
break;