added lock for sending messages to avoid double sending. shuffled some empty_chans after the cb_event calls, this avoids that a release_complete from a quite different call releases a fresh created setup by accident.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@61770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Christian Richter
2007-04-24 13:50:05 +00:00
parent 3682e51ba7
commit f1edea1129
3 changed files with 66 additions and 39 deletions

View File

@@ -213,6 +213,7 @@ union facility {
struct misdn_bchannel {
struct send_lock *send_lock;
int nt;
int port;