Commit Graph

1044 Commits

Author SHA1 Message Date
Travis Cross 1470622292 Require libcurl as a system dependency
This purges libcurl from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-20 21:15:29 +00:00
Travis Cross c993962d0b Update some modules to use CPPFLAGS
These modules use curl and we'll be adding in some bits to the
CPPFLAGS.
2014-03-20 21:09:46 +00:00
Travis Cross a489cd311e Cleanup whitespace 2014-03-20 20:35:58 +00:00
Travis Cross 4dec1607ce Revert "Cleanup whitespace"
Too much was staged accidentally on that last commit.

This reverts commit f112627242.
2014-03-20 20:34:18 +00:00
Travis Cross f112627242 Cleanup whitespace 2014-03-20 20:33:34 +00:00
James Le Cuirot e85f06ee2f Completely unbundle pcre
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:23 +00:00
Michael Jerris e71a250bd9 FS-6293: fix srcdir build for mod_event_zmq 2014-03-18 17:27:31 -04:00
Michael Jerris 99dcbf0e80 fix clang warning about control reaches end of non-void function 2014-03-18 17:26:59 -04:00
Chris Rienzo 843152b953 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2014-03-18 15:22:57 -04:00
Chris Rienzo 8d67246636 FS-6374 --resolve mod_rayo sendfax was using uninitialized memory pool 2014-03-18 15:21:27 -04:00
Michael Jerris 3a979c67ab FS-6293: fix mod_cdr_mongodb srcdir build 2014-03-18 15:07:39 -04:00
Michael Jerris 63ae87c60f FS-6293: fix srcdir build of mod_rayo 2014-03-18 14:46:21 -04:00
Michael Jerris 1c5e61447b move libs/stfu into the core, as it is not really a lib 2014-03-17 09:44:14 -04:00
Chris Rienzo ff555aa519 mod_rayo: some bugfixes to pause-when-offline 2014-03-14 17:23:56 -04:00
Chris Rienzo 9e45174dfe mod_rayo: add new config pause-when-offline - will pause inbound calling if there are no online clients to handle calls. This is useful if you want FS to respond 503 to options ping when there are no online rayo clients. Default behavior is to disable this param. 2014-03-14 15:50:42 -04:00
Chris Rienzo 6f6c57ce03 mod_rayo: fix regression in ACL 2014-03-14 14:33:38 -04:00
Chris Rienzo 9946f9d5c3 mod_rayo: add remote IP and port to xmpp stream logging 2014-03-14 14:25:21 -04:00
Chris Rienzo 0f93cc2b49 FS-6281 mod_rayo: don't add timestamp to presence event that already has one. 2014-03-12 21:53:37 -04:00
Brian West 666231f91b BNPH-6149: allow to use system curl again, fix some types on auth_scheme values to all be long, don't use curl private function in our wrapper. This may cause missing symbol curl_easy_setopt with visibility turned on, if it does that, please let me know 2014-03-12 13:47:24 -05:00
Chris Rienzo f9337a6a70 FS-6281 --resolve mod_rayo timestamp presence events 2014-03-10 20:10:18 -04:00
Chris Rienzo 0c0a4867aa mod_rayo: improve error messages when joining to b-leg that is missing 2014-03-10 17:15:58 -04:00
Chris Rienzo 5fbe6bd182 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2014-03-10 15:54:09 -04:00
Chris Rienzo db22d28e21 FS-6334 --resolve mod_rayo: deadlock when creating input voice component 2014-03-10 15:53:26 -04:00
Tamas Cseke 5b2dc5b90a lot of event can cause api timeout FS-3347
make event and log bulk configurable
2014-03-10 11:44:56 +01:00
Michael Jerris beae3aedc3 fix file refrences that subdir-objects doesn't like 2014-03-09 16:06:02 -04:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Michael Jerris bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Chris Rienzo f9f36993e8 FS-6282 mod_rayo: fix memory leak in previous commit 2014-03-06 23:32:56 -05:00
Chris Rienzo 5138aede9b FS-6282 mod_rayo: allow outbound call JID to be assigned by client 2014-03-06 23:14:28 -05:00
Chris Rienzo 286d2aef29 FS-6304 mod_rayo- fix race condition on outbound calls 2014-03-04 22:12:43 -05:00
William King 3d461d7cde FS-1327 --resolve 2014-03-04 13:09:51 -08:00
Chris Rienzo e650939b25 FS-6296 --resolve mod_rayo: fixed crash on <prompt> bad request 2014-03-03 19:01:28 -05:00
Travis Cross ecd6dfc612 Output newline after json output in mod_json_cdr
In UNIX, text files by definition end with a newline.
2014-03-03 01:13:39 +00:00
Travis Cross 95e4163ab7 Handle too-short write(3)s in mod_json_cdr
write(3) can write fewer bytes than was requested for any number of
reasons.  The correct behavior is to retry unless there is an error.

If there is an error, try to unlink the file; no sense in leaving
corrupted data laying around.
2014-03-03 01:12:15 +00:00
Travis Cross 75a00bd954 Fix memory leak in mod_json_cdr 2014-03-02 22:02:07 +00:00
Brian West 5b26558e56 FS-5207 --resolve 2014-02-28 16:11:22 -06:00
Tamas Cseke b303e722eb improve messaging performance of mod_erlang_event FS-3347 --resolve 2014-02-28 11:32:08 +01:00
Tamas Cseke 369206cf4f FS-5991 --resolve 2014-02-27 08:13:57 +01:00
Tamas Cseke 41fbb451a1 FS-5834 --resolve 2014-02-26 13:42:20 +01:00
Tamas Cseke e398ede28b FS-5975 --resolve 2014-02-26 13:34:50 +01:00
Tamas Cseke a75a0ab919 Add cdr queueing
Can be enabled with 'queue-capacity' param
Cdrs can be pushed to the queue and posted in a separate
thread to avoid bllocking the session with a slow web server
2014-02-26 13:19:33 +01:00
Marc Olivier Chouinard 7c440105ac FS-5914 --resolve 2014-02-24 20:37:10 -05:00
Brian West 1c9604e9d0 FS-1307 Don't load event socket on bind error 2014-02-24 04:28:25 -06:00
William King fa92f813b9 FS-5888 --resolve Rather than changing the default behavior I've updated the log line to be more accurate. Also fixed the problem where the delay was being overwritten. 2014-02-23 17:23:04 -08:00
Brian West 68e1a5635a FS-4976 2014-02-23 17:59:01 -06:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Chris Rienzo 396e1a7201 mod_rayo: shut up CentOS 5 warning 2014-02-11 17:58:04 -05:00
Chris Rienzo f482463440 mod_rayo: fix segfault in prompt component 2014-02-06 15:08:33 -05:00
Chris Rienzo 84f2199dea mod_rayo: fix message->call input validation 2014-02-05 23:19:47 -05:00
Chris Rienzo 86903757f6 FS-6192 --resolve 2014-02-05 22:25:39 -05:00
Chris Rienzo 5cd9bfcf14 mod_rayo: fixed recording reference counts 2014-01-31 18:09:41 -05:00
Chris Rienzo ce945c3f49 FS-6172 --resolve mod_rayo: fire input-timers-started during prompt lifecycle 2014-01-31 13:40:39 -05:00
Chris Rienzo 360ef648b4 FS-6171 mod_rayo: added support for normal/groupchat/headline message types for console testing 2014-01-31 11:36:14 -05:00
James Le Cuirot 4380453ac8 mod_rayo: Translate XMPP messages to SIP messages
Call-bound XMPP messages are translated to SIP messages via
SWITCH_EVENT_SEND_MESSAGE in a similar manner to that described in
draft-ietf-stox-im-06. Messages with a type of "normal" are directed
to the caller. Other types receive a feature-not-implemented response
but it is envisaged that the "groupchat" type could be used to direct
the message to all joined parties.
2014-01-31 10:56:41 -05:00
Chris Rienzo bda098a3a5 mod_rayo: added platform-code to end reason 2014-01-30 14:42:31 -05:00
Chris Rienzo 5891951ea9 mod_rayo: fixed output start-offset and max-time 2014-01-30 13:10:00 -05:00
Chris Rienzo 5be81aef74 FS-6159 -resolve mod_rayo: prompt, input, output components return hangup cause if stopped by hangup 2014-01-29 00:41:21 -05:00
Chris Rienzo 915e8eaba1 FS-6141 --resolve mod_rayo - fixed X-headers on redirect and updated to satisfy recent spec changes 2014-01-28 20:58:01 -05:00
Chris Rienzo 9f07a31be5 SIP-6141 --resolve 2014-01-27 22:04:10 -05:00
Chris Rienzo cb6465552b mod_rayo: fix memory leak in input component 2014-01-23 21:40:11 -05:00
Anthony Minessale b5821c1594 tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env 2014-01-23 21:26:56 +05:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Ken Rice 9480f41728 new for new switch_version_full() 2014-01-17 09:14:54 -06:00
Anthony Minessale 8dfbd91a3d fold version macros into runtime functions to avoid cascade rebuilds when modifying the core 2014-01-17 01:54:47 +05:00
Chris Rienzo 275d8f882f FS-6077 mod_rayo - minor regression on end events from outbound calls 2014-01-13 15:49:52 -05:00
Chris Rienzo 0b59bfd765 SIP-6077 --resolve mod_rayo - wait for park event before allowing re-join of call 2014-01-13 14:38:47 -05:00
Chris Rienzo ecf53e662b Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2014-01-13 11:02:35 -05:00
Chris Rienzo ff7428605a FS-6051 --resolve mod_rayo - double destroy of output component 2014-01-13 11:02:22 -05:00
Chris Rienzo a547dba8f2 FS-6087 --resolve forgot to send IQ result when processing output to mixers 2014-01-10 21:26:25 -05:00
Chris Rienzo ff977d81fa FS-6084 --resolve added multi-dtmf component support to mod_rayo 2014-01-10 20:07:09 -05:00
Chris Rienzo 32bbe11d6b mod_rayo remove hack for stopping fax 2014-01-08 04:29:05 -05:00
Chris Rienzo 7e71d85550 FS-6083 --resolve SSML will pass through when renderer is specified 2014-01-07 14:07:49 -05:00
Chris Rienzo 5b2799284b mod_rayo CPA dtmf detection added 2014-01-07 10:10:50 -05:00
Chris Rienzo 587ba2ed52 mod_rayo FS-6081 --resolve added mixer presence with entity capabilities 2014-01-06 21:06:31 -05:00
Chris Rienzo 9efe980438 mod_rayo --resolve FS-6072 fixed prompt state machine 2014-01-06 14:36:47 -05:00
Chris Rienzo 8d30da28d7 mod_rayo FS-6071 fix DTMF overflow and increase max DTMF matching from 64 to 256 2014-01-06 09:50:44 -05:00
Chris Rienzo 8db351858b mod_rayo CPA implemented - still needs testing 2014-01-05 00:39:40 -05:00
Chris Rienzo 91f210a5fc mod_rayo CPA - added detector abstraction 2014-01-04 15:18:10 -05:00
Anthony Minessale 2c5a861b03 FS-6074 --resolve 2014-01-03 23:43:48 +05:00
Chris Rienzo 6779217d12 FS-6051 added some logging to help troubleshoot mod_rayo crash 2013-12-20 09:56:04 -05:00
Chris Rienzo 4a2054a951 mod_rayo: doh- fix adhearsionconf core dump 2013-12-04 20:18:09 -05:00
Chris Rienzo cf0a3bbf83 mod_rayo: added args to console aliases 2013-11-14 16:12:08 -05:00
Chris Rienzo c00b8d3fe9 FS-5962 --resolve mod_rayo: fix unjoin request on b-leg 2013-11-14 14:47:33 -05:00
Chris Rienzo 048a0eb898 FS-5961 --resolve mod_rayo: fixed <dial>, wasn't returning errors in some scenarios 2013-11-12 11:02:37 -05:00
Chris Rienzo 9500e120a9 mod_rayo: fix config to passthrough loopback dialstrings 2013-11-11 11:43:03 -05:00
Chris Rienzo a5328fe9c3 mod_rayo: send/receivefax bugfixes, also allow outbound calls not created with <dial> to be offered 2013-11-08 11:43:40 -05:00
Chris Rienzo 035818aa3a mod_rayo: log when rayo call is rejected because there are no online clients 2013-11-08 09:38:10 -05:00
Chris Rienzo 96ceb6363e mod_rayo: <sendfax> bugfixes 2013-11-07 21:41:45 -05:00
Chris Rienzo f97ca68f8e mod_rayo: add <sendfax> component 2013-11-07 21:41:45 -05:00
Chris Rienzo 69035ff412 mod_rayo: add fax to service discovery query 2013-11-07 16:14:03 -05:00
Chris Rienzo 8bc0f99e70 mod_rayo: <receivefax> now supports HTTP(S) 2013-11-06 17:57:31 -05:00
Chris Rienzo bb5d283e50 mod_rayo: <receivefax> component added. No support for HTTP(S) yet. 2013-11-06 17:00:13 -05:00
Chris Rienzo 90f0fdb93d mod_rayo: default record format is now wav 2013-11-05 15:16:04 -05:00
Anthony Minessale 3370002913 delete resources on csv mod shutdown 2013-10-23 03:03:29 +05:00
Chris Rienzo 6354b055f2 mod_rayo: allow unjoin of call without specifying call-uri, fix unjoin of call on hold so that b-leg is not hung up, allow unjoin command to b-leg 2013-10-18 15:14:50 -04:00
Chris Rienzo da5fd53417 mod_rayo: fix hangup after unjoining bridged calls 2013-10-18 09:47:30 -04:00
Chris Rienzo 1c3704e78f FS-5884 --resolve mod_rayo: detect unjoin mismatch 2013-10-17 09:42:52 -04:00
Chris Rienzo ca32b7e357 FS-5865 --resolve mod_rayo: fix join/unjoin IQ result for mixers 2013-10-15 14:17:33 -04:00
Chris Rienzo 396d2c6cb1 FS-5865 mod_rayo: send IQ result after join/unjoin completes 2013-10-09 17:39:33 -04:00
Nathan Neulinger fa45e08d0b FS-5838 fix segfaults in unload of mod_format_cdr 2013-10-02 16:42:49 -05:00
Nathan Neulinger 3b36e9908d FS-5599 implement mod_format_cdr 2013-10-02 12:22:36 -05:00
Chris Rienzo de9bebc779 FS-5790 --resolve mod_rayo: fix buffer overflow when reading stereo .wav file 2013-09-18 23:20:26 -04:00
Chris Rienzo 4b8ad5b549 mod_rayo: fixed prompt state machine - wrong state transition when output finishes before input starts 2013-09-16 20:13:26 -04:00
Chris Rienzo 27d2761ac0 mod_rayo: fix reloadxml issue 2013-09-15 23:23:07 -04:00
Chris Rienzo 8ee46a316f FS-5788 --resolve used wrong variable for setting custom origination SIP headers 2013-09-12 12:13:22 -04:00
Chris Rienzo 6a842ab21d mod_rayo: fix record complete URI when recording to HTTP 2013-09-09 16:22:49 -04:00
Anthony Minessale dc9815461f FS-5741 --resolve 2013-09-02 22:56:58 +05:00
Chris Rienzo 7012a1c422 mod_rayo: tweak to allow duplicate <tag> for SISR 2013-08-30 18:17:43 -04:00
Chris Rienzo 9ff85aacbe mod_rayo: add some hacky support for SISR in DTMF recognizer 2013-08-30 17:45:37 -04:00
Chris Rienzo 56a3791349 FS-5733 --resolve mod_rayo: don't use nested <input> when creating dtmf-only match. 2013-08-26 18:57:04 -04:00
Chris Rienzo d2fb03eda1 mod_rayo: use XMPP URI instead of FS UUID for join/unjoin 2013-08-20 17:26:07 -04:00
Ben Langfeld c695f2322b mod_rayo: Remove compensation for Punchblock Rayo spec incompatibility 2013-08-20 16:27:40 -04:00
Chris Rienzo 4ae41dd1bd mod_rayo: move alias definition to config file, tweak console command completion to make testing easier 2013-08-14 18:00:30 -04:00
Chris Rienzo 96eba0d6a8 mod_rayo: add support for speech recognizers other than pocketsphinx, fixed some input component bugs, allow simultaneous dtmf and voice input. 2013-08-14 09:41:11 -04:00
Chris Rienzo 83ba706049 mod_rayo: add offer-uri param (default true) to toggle between URI and number in to/from of offer 2013-08-10 09:30:33 -04:00
Chris Rienzo 60e8ca1bcc FS-5686 reversed send/recv direction 2013-08-09 09:54:45 -04:00
Chris Rienzo 0defeeee35 FS-5686 --resolve mod_rayo: allow re-join to mixers so that audio direction can be changed. Added support for audio direction in mixers. Allow unjoin without mixer-name or call-id 2013-08-09 09:42:10 -04:00
Chris Rienzo 5f6d3f0f8e mod_rayo: reply with temporary failure if no clients available to accept call 2013-08-08 11:59:17 -04:00
Chris Rienzo e94c931102 FS-5679 --resolve mod_rayo: SIP 180 doesn't result in ringing event 2013-08-06 16:21:22 -04:00
Chris Rienzo 68253e3748 FS-5668 --resolve mod_rayo: offer from/to do not match SIP 2013-08-06 15:30:22 -04:00
Chris Rienzo d285e79867 mod_rayo: fix crash on originate error 2013-08-06 14:52:56 -04:00
Chris Rienzo 25b068714d FS-5669 --resolve mod_rayo: return error if <document> is missing in <output> 2013-08-06 11:05:35 -04:00
Ben Langfeld 9ad14d1d33 mod_rayo: Commands executed against a dead call should return item-not-found 2013-08-06 10:26:38 -04:00
Chris Rienzo 40c983beeb FS-5657 --resolve fix mod_rayo build errors in CentOS 5 2013-08-01 14:38:02 -04:00
Anthony Minessale 7973b7be7a add global mutex to cdr_csv to protech the fd_hash 2013-07-26 15:56:50 -05:00
Ken Rice 7fb4369932 peak sessions step 1 2013-07-20 20:11:46 -05:00
Ken Rice 5660f90509 add peak SPS for last 5 minutes 2013-07-19 22:40:59 -05:00
Ken Rice 241e9f45ed Add to the MIB and small tweak to subagent.c 2013-07-19 17:06:17 -05:00
Anthony Minessale c510f3f52e add peak sps to stats and a command to reset it 2013-07-19 15:16:42 -05:00
Chris Rienzo 07e0de3229 mod_rayo: support secure client-to-server connections 2013-07-15 18:52:09 -04:00
Chris Rienzo 6423787da8 mod_rayo: fix - client messages not accepted over s2s connection 2013-07-08 13:09:27 -04:00
Chris Rienzo 0d32f510f2 mod_rayo: move example config so that make config-rayo works 2013-07-03 14:22:30 -04:00
Chris Rienzo 72aad68965 mod_rayo: dtmf #*A-D was broken 2013-06-28 11:16:06 -04:00
Chris Rienzo 628b4048d9 mod_rayo: added missing modeline 2013-06-25 15:15:08 -04:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Chris Rienzo 13fdd77f7e mod_rayo: used wrong stack 2013-06-25 11:40:38 -04:00
Chris Rienzo f750bcbcc1 mod_rayo: fixes for <prompt> and reply loops 2013-06-25 11:30:10 -04:00
Chris Rienzo 7625001e49 mod_rayo: fix component JID 2013-06-25 08:08:56 -04:00
Chris Rienzo 899f68759a mod_rayo: fix cleanup of console complete functions 2013-06-25 07:54:59 -04:00
Chris Rienzo ad5ea44aeb mod_rayo: don't send item-not-found to replies 2013-06-25 07:42:34 -04:00
Chris Rienzo 8bf40819df mod_rayo: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo e52f131460 mod_rayo: forgot to return error if unknown destination for stanza 2013-06-24 22:19:53 -04:00
Chris Rienzo c15c0924d1 mod_rayo: added message delivery threads 2013-06-24 22:19:53 -04:00
Chris Rienzo 0f0f278124 mod_rayo: reworked internal messaging- all messages sent by JID only 2013-06-24 22:19:53 -04:00
Chris Rienzo 911948c87a mod_rayo: remove reply from send function - everything is send only now 2013-06-24 22:19:53 -04:00
Ben Langfeld 6faae5b178 mod_rayo: Punchblock now supports content-type on input matches
Fix applied to Punchblock here: cef5198e80
2013-06-22 14:27:28 -04:00
Chris Rienzo 609b0b324d mod_rayo: fix crash when DTMF is received after input timeout 2013-06-21 09:42:54 -04:00
Chris Rienzo a8751d15ce mod_rayo: allow variables to be passed in dialstring 2013-06-19 08:53:17 -04:00
Chris Rienzo 0311d4615a mod_rayo: some fixes for punchblock 2.0 compatibility 2013-06-13 15:28:53 -04:00
Chris Rienzo 2d4acdfa61 mod_rayo: updates for 0.2 of spec 2013-06-13 11:23:12 -04:00
William King 91c8c8a57b oops 2013-06-12 21:17:17 -07:00
William King 5c60bd6b42 Make sure to cleanup event if there was a failure that caused it not to be fired. 2013-06-12 17:02:15 -07:00
Chris Rienzo ee2f1d32a4 Added mod_rayo (XMPP 3PCC http://xmpp.org/extensions/xep-0327.html). Used by Adhearsion as its native call control protocol. Currently beta testing. 2013-06-06 16:03:00 -04:00
Travis Cross a82878f786 Unsigned values are never less than zero 2013-05-29 03:02:07 +00:00
Travis Cross c09a261d58 Fix memory corruption in mod_erlang_event
Thanks-to: Alexandre Snarskii <snar@snar.spb.ru>

FS-5465 --resolve
2013-05-25 21:20:41 +00:00
Daniel Swarbrick e6f6c32c6f minor tidyup of user-submitted patch from last year 2013-03-26 01:19:30 +01:00
Seven Du 1ce96ce9f5 fix seg when mod unload with event_sink listeners present 2013-03-21 12:58:25 +08:00
Jeff Lenk 3a30c4df33 FS-4768 MSB_LNK_warnings.diff applied 2013-01-31 15:36:08 -06:00
Jeff Lenk e9fe51124f FS-5014 --resolve 2013-01-11 11:12:50 -06:00
Stefan Knoblich 5bba01f5c3 mod_event_zmq: Use sed to patch configure.in to use AC_CONFIG_HEADERS
AM_CONFIG_HEADER is deprecated in automake 1.13.1 (and temporarily not available in 1.13),
the replacement is available in autoconf-2.59 (and maybe before).

NOTE: Remove sed hackery when upstream has released a fixed version

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-10 00:30:16 +01:00
Anthony Minessale 30e4c71bbe FS-4996 --resolve 2013-01-08 13:01:07 -06:00
Jeff Lenk dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Anthony Minessale e1094cbd0f FS-4902 --resolve 2012-12-03 16:39:09 -06:00
Daniel Swarbrick 6c2baed108 Fix segfault in mod_cdr_mongo when "number" is null. Thanks Dave May for bug report and patch. Fixes FS-4843. 2012-11-16 23:36:29 +01:00
Anthony Minessale f60962ae87 fix some contention issues under really high load...That doesn't mean you need to push it this hard and bug me about it =p 2012-11-07 12:10:50 -06:00
Jeff Lenk acd73bfaee FS-4758 try this 2012-10-29 23:16:46 -05:00
Seven Du 5ff654dab5 fix NIL case 2012-10-23 10:44:51 +08:00
Daniel Swarbrick 58f1ee7ff0 mod_cdr_mongodb: add post-v0.6 patch to driver to support Unix domain sockets 2012-10-21 22:59:51 +02:00
Daniel Swarbrick a92fb019c5 Add missing config param to sample config 2012-10-21 17:55:13 +02:00
Daniel Swarbrick b53e4ed800 mod_cdr_mongodb: add support for replica sets (refs FS-4668) 2012-10-21 17:52:45 +02:00
Daniel Swarbrick 2b6e342534 mod_cdr_mongodb: tweak auth handling 2012-10-21 16:21:01 +02:00
Daniel Swarbrick ad7f889a82 mod_cdr_mongodb: add support for authentication 2012-10-21 16:04:56 +02:00
Daniel Swarbrick c60b4b31c1 updating my email address 2012-10-14 14:00:11 +02:00
Daniel Swarbrick 10093b44c0 mod_cdr_mongodb: update MongoDB driver to v0.6 2012-10-14 13:45:50 +02:00
Anthony Minessale e1fe289672 refactor db stuff to use single string dsn to avoid code duplication and introduce switch_sql_queue_manager api to create transactional sql queues to aggregate a bunch of sql stmts into transactions 2012-10-09 20:20:32 -05:00
Anthony Minessale daa97613a7 FS-4641 --resolve 2012-09-24 12:28:18 -05:00
Anthony Minessale a39ba84f5e FS-4458 --resolve 2012-09-20 09:55:47 -05:00
Seven Du 9c1c911648 fix lost bindings when list 2012-09-13 11:33:16 +08:00
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
Anthony Minessale dd8e6089c7 FS-3798 --resolve 2012-01-05 08:49:56 -06:00
Marc Olivier Chouinard 7c22661efb mod_event_socket: Fix a segfault on authlogin with missing domain 2011-12-28 00:35:05 -05:00
Anthony Minessale 19dad4a527 FS-3750 --resolve 2011-12-08 12:26:36 -06:00
Tamas Cseke e64104530e FS-3738 --resolve 2011-12-05 09:35:00 +01:00
Anthony Minessale e794a6db21 FS-2936 stage 2 please test ASAP 2011-11-29 15:35:36 -06:00
Anthony Minessale e58ed35d17 FS-2936 stage 1 2011-11-29 11:13:11 -06:00
Tamas Cseke 196f890a08 change content-type and add encode-values param FSCORE-3721 2011-11-28 17:11:34 +01:00
Tamas Cseke 100017e7e2 FS-3719 --resolve 2011-11-25 11:59:03 +01:00
Anthony Minessale 6bd2798ea1 FS-3702 --resolve 2011-11-17 11:47:14 -06:00
Anthony Minessale 7ba5197009 fix 2 memory leaks detected by valgrind run 2011-11-15 07:50:45 -06:00
dschreiber 3b8ab39f45 Undo change for erlang event listeners - should be 100 not 50 2011-11-11 12:53:25 -05:00
Anthony Minessale 6bbde4e27f FS-3621 --resolve 2011-10-20 10:19:39 -05:00
dschreiber 0d37261888 Merge remote branch 'origin/master' 2011-09-30 22:00:12 -04:00
Darren Schreiber 994f9a8ca6 Fixed a memory leak, too short of connect times across data centers, a deadlock condition with the globals.bindings_rwlock not being released, a buffer overrun possibility or 4, and added the ability to send a body when injecting an event 2011-09-30 21:58:06 -04:00
Anthony Minessale 142fa9922c Do not include descriptions on socket shutdowns for failures since they probably will never get it anyway and its in a protected section of code 2011-09-16 11:18:55 -05:00
Anthony Minessale 7ed7f539b0 add optional format string after myevent 2011-09-09 14:31:16 -05:00
Daniel Swarbrick a91691999d add MongoDB CDR module 2011-09-07 23:50:25 +02:00
Anthony Minessale 2b7a830d6d allow duplicate headers to be parsed into events received on the wire 2011-09-06 13:56:21 -05:00
Travis Cross 3a352e67f4 bump to zeromq-2.1.9 2011-09-01 15:53:03 +00:00
Anthony Minessale ed4b944b12 FS-3534 --resolve 2011-08-31 10:10:50 -05:00
Jeff Lenk 11bcc60077 FS-3530 --resolve 2011-08-30 09:01:07 -05:00
Andrew Thompson af3be7b21d Silence a silly warning about ignored return values 2011-08-24 14:44:12 -04:00