]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
actually remember the type/subclass of full frames that are in process
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 8 Jun 2007 15:52:47 +0000 (15:52 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 8 Jun 2007 15:52:47 +0000 (15:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68450 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index b2c4f19f078ccde53fd10ad1731e4a50ee432e05..28473655a84d409952c31050fd37dcb67f587254 100644 (file)
@@ -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;
                }
        }