aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_iax2.c
diff options
context:
space:
mode:
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;
}
}