Commit Graph

666 Commits

Author SHA1 Message Date
Stefan Knoblich eca5c0ad73 FreeSWITCH: Add WIN32 strerror_s() variant to custom switch_strerror_r() helper function and fix more strerror_r() users.
Convert mod_xml_cdr, mod_json_cdr and mod_conference to the new function.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:54:06 +02:00
Anthony Minessale 40ed0b31c1 FS-4499 --resolve this is a different fix but this will implicitly fix it 2012-08-06 11:20:27 -05:00
Seven Du bd66d7eaa6 show bindings and handlers 2012-07-23 21:15:53 +08:00
Seven Du 49dcd8c889 make erlang log less verbose and add erlang debug on|off to control 2012-07-23 20:26:48 +08:00
Daniel Swarbrick 52bf168b56 Abort module load if config can't be opened. Refs FS-4438 2012-07-20 02:38:12 +02:00
Jeff Lenk a57669c30d FS-4407 --resolve 2012-07-15 13:38:30 -05:00
Seven Du f55f15c888 accept binary in api and bgapi 2012-07-15 12:44:26 +08:00
Darren Schreiber 5bc2745472 Avoid segfault and race condition when socket is destroyed while listener is in use. 2012-07-05 01:47:07 -07:00
Anthony Minessale 3708c96257 add uuid to event socket apps 2012-07-02 15:12:55 -05:00
Anthony Minessale e7f05b49ad FS-4349 try this, it should be a minimal wait since this will poll the socket for 20ms only when there are no events at all and no log data at all 2012-06-26 09:59:00 -05:00
dschreiber 1e696d2c93 FS-3577 : After Tamas's fixes and new logging so we can see the erl_errors, re-applying this 10ms polling interval patch that Tony committed a few months ago. Please report any issues. 2012-06-19 09:13:29 -07:00
dschreiber 7e6018985c Merge remote branch 'origin/master' into FS-3432 2012-06-19 08:10:54 -07:00
Daniel Swarbrick 9bd1c33115 Don't pass null pointers to bson_append_string(). Thanks Tamas Cseke for original patch.
Fixes FS-4309
2012-06-14 20:11:57 +02:00
Tamas Cseke 794f8cfb8b reply state seems to be unnecessary FS-3432 2012-06-12 11:37:35 +02:00
Tamas Cseke 44fb1d00d7 fix session hash rwlock vs reply mutex order FS-3432 2012-06-12 11:34:20 +02:00
dschreiber 3858e625a4 The fix for FS-3577 causes instabilities if multiple listeners are connected it seems. Undoing this change for now until I can figure out the root cause. 2012-06-11 21:59:47 -07:00
Tamas Cseke 3f6b5a5c01 fix reply timeout: move hash and pid to session pool FS-3432 2012-06-11 17:25:28 +02:00
Tamas Cseke d2e9e46eb6 move session destroy to one place and hangup in others to eliminate races and minimize session hash wrlocks FS-3432 2012-06-11 15:03:58 +02:00
Tamas Cseke 83f230cce6 fix possible memory leak FS-3432 2012-06-11 15:00:32 +02:00
Anthony Minessale a17027959d use a dummy event here 2012-06-08 12:06:40 -05:00
Tamas Cseke ae4d3acbb3 cleanup FS-3432 2012-06-08 17:24:23 +02:00
Tamas Cseke 19db96d2ba channel private is already removed we don't need to remove the state handler FS-3432 2012-06-08 17:23:07 +02:00
Anthony Minessale 8bb55ed4bf abstract out originate_signal_bond to a function to avoid confustion and regressions 2012-05-29 13:10:15 -05:00
Tamas Cseke 9dc9ee974c doh FS-3423 2012-05-24 16:19:01 +02:00
Tamas Cseke 377f6a9ef6 remove channel private, state handler and clear controlled flag on destroy FS-3432 2012-05-24 16:12:55 +02:00
Tamas Cseke 2be25c6a56 remove removal while traversing the hash and and lock to elimate race FS-3432 2012-05-24 15:14:14 +02:00
Tamas Cseke 78641d4264 cleanup process spawning, remove mutex lock and add session to listener only if reply state and session flag is set to waiting FS-3432 2012-05-24 14:55:29 +02:00
Tamas Cseke 85656c31af add session event r/w locking FS-3432 2012-05-24 11:44:12 +02:00
Tamas Cseke 87f65f1784 add session r/w locking FS-3432 2012-05-24 11:32:15 +02:00
Tamas Cseke fdd3a8d333 set and clear session flags locked FS-3432 2012-05-24 11:16:26 +02:00
Tamas Cseke 4e6b56c53d add listener event r/w locking FS-3432 2012-05-24 10:57:28 +02:00
Tamas Cseke eade657225 listener r/w locking FS-3432 2012-05-24 10:30:48 +02:00
Tamas Cseke 8f4c5bc492 add Andrew's patch from FS-3432 as a starting point with todo markers 2012-05-24 09:37:41 +02:00
Anthony Minessale 7044273376 not worth it.... 2012-05-10 12:23:00 -05:00
Daniel Swarbrick 951f159901 update mongo-c-driver to 0.5.2 2012-05-10 11:03:04 +02:00
Daniel Swarbrick 3ba5c72977 release mutex after iterating over channel vars 2012-05-10 10:19:45 +02:00
Anthony Minessale 024e5fdefd FS-4196 --resolve 2012-05-08 07:41:10 -05:00
Anthony Minessale ce186707ff FS-3577 --resolve 2012-05-07 11:44:19 -05:00
Anthony Minessale ca7a1acb1d FS-3809 --resolve 2012-05-07 11:43:39 -05:00
Anthony Minessale bafba4a991 FS-4142 --resolve 2012-05-07 11:42:58 -05:00
Anthony Minessale e8098c060d FS-4184 --resolve 2012-05-04 08:47:27 -05:00
Anthony Minessale 2368f556ac FS-4180 --resolve 2012-05-03 14:23:09 -05:00
Ken Rice 7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale f6c9e19639 FS-3750 2012-04-13 11:19:08 -05:00
Anthony Minessale 6a3478f2f1 FS-3750 --resolve 2012-04-13 08:43:46 -05:00
Tamas Cseke 982cb1fe1c safe strdup FS-4062 2012-04-04 09:04:12 +02:00
Ken Rice cac6c262bb conf: add config files to module directories
The idea here is that the config files in the module directories will
serve as the canonical documentation of all module configuration
options.
2012-03-24 04:51:08 +00:00
Steven Ayre 8c794acbcc FS-3999 --resolve mod_event_socket: add IPv6 support
Signed-off-by: Travis Cross <tc@traviscross.com>
2012-03-14 15:05:29 +00:00
Josh Perry 13ac8baef2 Fix FS-3904 use a message to shutdown the module
For some reason the running flag being set on the thread initiating the
shutdown did not propogate to the run loop thread. I couldn't find any
memory barrier functions in APR or the FS API so I am using 0MQ to send
a termination request message to the run loop thread.
2012-02-23 14:40:59 -06:00