Dump Q.931 message using the TEI value the message came in with.
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2042 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
31b4b63b40
commit
cf456d41e2
4
q921.c
4
q921.c
@ -2090,7 +2090,7 @@ static pri_event *q921_iframe_rx(struct pri *ctrl, q921_h *h, int len)
|
||||
* Q.921 is dumping its frames they will be in the correct order.
|
||||
*/
|
||||
if (ctrl->debug & PRI_DEBUG_Q931_DUMP) {
|
||||
q931_dump(ctrl, ctrl->tei, (q931_h *) h->i.data, len - 4, 0);
|
||||
q931_dump(ctrl, h->h.tei, (q931_h *) h->i.data, len - 4, 0);
|
||||
}
|
||||
delay_q931_receive = 1;
|
||||
|
||||
@ -2377,7 +2377,7 @@ static pri_event *__q921_receive_qualified(struct pri *ctrl, q921_h *h, int len)
|
||||
case 0x00:
|
||||
/* UI-frame */
|
||||
if (ctrl->debug & PRI_DEBUG_Q931_DUMP) {
|
||||
q931_dump(ctrl, ctrl->tei, (q931_h *) h->u.data, len - 3, 0);
|
||||
q931_dump(ctrl, h->h.tei, (q931_h *) h->u.data, len - 3, 0);
|
||||
}
|
||||
res = q931_receive(ctrl, ctrl->tei, (q931_h *) h->u.data, len - 3);
|
||||
if (res != -1 && (res & Q931_RES_HAVEEVENT)) {
|
||||
|
Loading…
Reference in New Issue
Block a user