aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_iax2.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-08 15:52:47 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-08 15:52:47 +0000
commit9c178221fcc4ab5fe014c765b54e3ee353d727b2 (patch)
tree28375bcbac8be8e15de187254d5cec35f0e6338d /channels/chan_iax2.c
parent8446053c4b89aeb329417df1d116425fe708f050 (diff)
actually remember the type/subclass of full frames that are in process
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68450 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r--channels/chan_iax2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index b2c4f19f0..28473655a 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;
}
}