mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -24,6 +24,10 @@
|
||||
ibuffer_t *astbuf;
|
||||
ibuffer_t *misdnbuf;
|
||||
|
||||
struct send_lock {
|
||||
pthread_mutex_t lock;
|
||||
};
|
||||
|
||||
|
||||
struct isdn_msg {
|
||||
unsigned long misdn_msg;
|
||||
|
Reference in New Issue
Block a user