chan_iax2: nativebridge refactor, missed unlock bridgecallno
authorAlec L Davis <sivad.a@paradise.net.nz>
Mon, 10 Jun 2013 09:33:56 +0000 (09:33 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Mon, 10 Jun 2013 09:33:56 +0000 (09:33 +0000)
........

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

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

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

channels/chan_iax2.c

index 80d19f3..a428011 100644 (file)
@@ -11242,6 +11242,7 @@ immediatedial:
 
                                if (!(iaxs[iaxs[fr->callno]->bridgecallno]->transferring == TRANSFER_READY) &&
                                    !(iaxs[iaxs[fr->callno]->bridgecallno]->transferring == TRANSFER_MREADY)) {
+                                       ast_mutex_unlock(&iaxsl[iaxs[fr->callno]->bridgecallno]);
                                        break;
                                }