From f4b7a2c9cb3748ff499e72a89bf26f875437aadc Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Fri, 8 Jun 2007 15:52:47 +0000 Subject: [PATCH] actually remember the type/subclass of full frames that are in process git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68450 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_iax2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index b2c4f19f07..28473655a8 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -6329,6 +6329,8 @@ static int socket_read(int *id, int fd, short events, void *cbdata) /* this thread is going to process this frame, so mark it */ thread->ffinfo.callno = ntohs(fh->scallno); memcpy(&thread->ffinfo.sin, &thread->iosin, sizeof(thread->ffinfo.sin)); + thread->ffinfo.type = fh->type; + thread->ffinfo.csub = fh->csub; } }