Fix remote tcs sequence handling on empty tcs received
authorAlexandr Anikin <may@telecom-service.ru>
Tue, 3 Sep 2013 20:28:01 +0000 (20:28 +0000)
committerAlexandr Anikin <may@telecom-service.ru>
Tue, 3 Sep 2013 20:28:01 +0000 (20:28 +0000)
........

Merged revisions 398214 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 398215 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@398217 65c4cc65-6c06-0410-ace0-fbb531ad65f3

addons/ooh323c/src/ooh245.c

index ff4fa07..3782dae 100644 (file)
@@ -3259,8 +3259,8 @@ int ooOnReceivedTerminalCapabilitySet(OOH323CallData *call, H245Message *pmsg)
       OOTRACEDBGC3("Empty TCS found.  (%s, %s)\n",
                     call->callType, call->callToken);
 
-      ooH245AcknowledgeTerminalCapabilitySet(call);
       call->remoteTermCapSeqNo = tcs->sequenceNumber;
+      ooH245AcknowledgeTerminalCapabilitySet(call);
 
 /* close all transmit chans */