fix bad edit after conflict resolution
authorAlec L Davis <sivad.a@paradise.net.nz>
Mon, 10 Jun 2013 08:38:03 +0000 (08:38 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Mon, 10 Jun 2013 08:38:03 +0000 (08:38 +0000)
........

Merged revisions 391107 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

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

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

channels/chan_iax2.c

index ee215bb..80d19f3 100644 (file)
@@ -11225,9 +11225,9 @@ immediatedial:
                                }
 
                                if (iaxs[fr->callno]->transferring == TRANSFER_BEGIN) {
-                                       iaxs[fr->callno]->transferring = TRANSFER_MREADY;
-                               } else if (iaxs[fr->callno]->transferring == TRANSFER_MBEGIN) {
                                        iaxs[fr->callno]->transferring = TRANSFER_READY;
+                               } else if (iaxs[fr->callno]->transferring == TRANSFER_MBEGIN) {
+                                       iaxs[fr->callno]->transferring = TRANSFER_MREADY;
                                } else {
                                        if (iaxs[fr->callno]->bridgecallno) {
                                                ast_mutex_unlock(&iaxsl[iaxs[fr->callno]->bridgecallno]);