Commit Graph

1127 Commits

Author SHA1 Message Date
Chris Rienzo 77a9aa69b1 FS-8143 #resolve #comment [mod_rayo] Fix crash caused by client disconnecting from mod_rayo while a message is being delivered to that client.
This is caused by the XMPP context's JID -> XMPP stream mapping not being cleaned up on XMPP stream destruction.
2015-09-09 17:06:37 -04:00
Mike Jerris 46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04:00
Mike Jerris 3be62e292e Merge pull request #434 in FS/freeswitch from ~VIPKILLA/freeswitch-odbc_cdr-b-leg-fix:master to master
* commit '00a2e4814d2b3a5fcb4fc62cb7814384afeb0d89':
  FS-8044: [mod_odbc_cdr] fix how module detects b-leg
2015-09-01 12:57:48 -05:00
Chris Rienzo 070f53205e FS-8110 #resolve #comment [mod_rayo] prompt IQ error reply was being deleted after being sent for delivery. This is incorrect since message delivery thread will clean up the message. 2015-09-01 13:44:23 -04:00
Chris Rienzo 1588ebda0f FS-8082 #resolve #comment [mod_rayo] do not remove items from hash while iterating 2015-09-01 12:50:58 -04:00
Chris Rienzo ed59a6286e FS-8103 #resolve #comment [mod_rayo] handle <prompt> where <output> finishes unexpectedly before start event is received 2015-09-01 11:01:58 -04:00
Mike Jerris 5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -04:00
Michael Jerris 164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Chris Rienzo 03219436d5 FS-8054 #resolve #comment [mod_rayo] fix warning when building on Debian. 2015-08-26 10:52:33 -04:00
Emmanuel Schmidbauer 00a2e4814d FS-8044: [mod_odbc_cdr] fix how module detects b-leg 2015-08-25 12:54:24 -04:00
Michael Giagnocavo 5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Chris Rienzo dff03e35cf FS-7951 #resolve #comment completely clean up mod_rayo if it fails to load 2015-08-13 08:35:18 -04:00
Luis Azedo 4114c1d59a FS-7806 FS-7803 #resolve
added new properties to amqp configuration
fixed - enable_fallback_format_fields usage, only worked on first event
added amqp_util_encode to fix routing key
2015-08-03 13:25:28 +01:00
Luis Azedo 183b51dd5c FS-7918 small fixes in mod_kazoo 2015-07-30 16:17:09 +01:00
Emmanuel Schmidbauer af9310ce00 add channel variable odbc-cdr-ignore-leg to ignore per leg 2015-07-10 10:10:12 -04:00
Mike Jerris 0e8ea8573b Merge pull request #329 in FS/freeswitch from ~LAZEDO/freeswitch:feature/fs-7776 to master
* commit 'eaf6430e0d3cb72525fbd7af4975341439d62c49':
  FS-7776 #resolve add mod_kazoo to build system
2015-07-07 11:20:15 -05:00
Sergey Safarov 97ed52cbef FS-7628: mod_erlang_event - removed unused var 2015-07-07 16:22:36 +03:00
Luis Azedo eaf6430e0d FS-7776 #resolve add mod_kazoo to build system 2015-07-06 23:13:00 +01:00
Mike Jerris a817701824 Merge pull request #290 in FS/freeswitch from ~SAFAROV/freeswitch2:mod_erlang_socket to master
* commit '97c25275a629f88700d28513a98f234d821ac9d7':
  FS-7628: mod_erlang_event - added ipv6 support
2015-07-03 18:00:08 -05:00
karl anderson d66839debe FS-7774 add mod_kazoo
#resolve
2015-07-03 22:54:47 +01:00
William King 775ce5c0a8 Adding mod_smpp as an event_handler module.
FS-7730 #resolve
2015-07-03 14:26:05 -07:00
Chris Rienzo 3533c653c4 FS-7752 [mod_rayo] increase maximum number of <tag> elements from 30 to 1024. This allows adhearsion to create large grammars to navigate IVR menus. 2015-07-01 11:30:39 -04:00
Sergey Safarov 97c25275a6 FS-7628: mod_erlang_event - added ipv6 support 2015-06-23 10:41:40 +03:00
Mike Jerris 2283270b8b Merge pull request #288 in FS/freeswitch from ~MICHAELGG/freeswitch:winperf to master
* commit '81190c6d89aa7bedbda041c8a8519081856effff':
  FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true.
  FS-7644. Remove non-existent projects.
  FS-7644. Add switch_core_video.c and switch_vidderbuffer.c to VS2013 FreeSwitchCore.2013.vcxproj
  FS-7644. Change 2013.vcxproj references to 2013
2015-06-18 15:35:02 -05:00
Sergey Safarov 53759ff143 FS-7628: Fixed name of Erlang naming daemon 2015-06-18 13:22:57 +03:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
William King 30b83daaab Merge pull request #197 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:feature/timezone-support to master
* commit 'ce36330b5c7ecc6243994469f42659419cc590c8':
  FS-7303 #comment Added adjustment of time values reported by FS server when RADIUS server located in different timezone
2015-06-15 22:49:09 -05:00
Jeff Lenk 345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
William King 9410d7c602 FS-7623 Fix param name ordering bug in mod_amqp due to exposing these params 2015-06-11 12:33:16 -07:00
Brian 2815994647 FS-7638 properly match ACL with IPv4 mapped IPv6 addresses 2015-06-11 10:41:33 -05:00
Michael Jerris 2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
William King 257bb5c655 FS-7623 allow for custom exchange name and type for mod_amqp producers 2015-06-08 20:33:16 -07:00
William King 6484c6fc0a FS-7622 make sure to close the connections on destroy. Currently the connection is malloc'd from the module pool, so there is nothing to destroy. 2015-06-08 20:28:38 -07:00
Mike Jerris 0f6ec8e27c Merge pull request #149 in FS/freeswitch from ~TMPD/freeswitch-esl-104:master to master
* commit '72897018156e0eff4c61b567ef655a433f55b199':
  FS-7603: Implement failover for socket application
2015-06-03 15:21:39 -05:00
ico 7289701815 FS-7603: Implement failover for socket application 2015-06-02 21:39:26 +03:00
Chris Rienzo d04e1f03ff FS-7564 #resolve #comment [mod_rayo] Added new algorithms for offering calls to clients.
Two new params added to autoload_configs/rayo.conf.xml
     offer-algorithm
       all: offer to all clients (default and old behavior)
       first: offer to first client, fails over to next client in list
       random: offer to random client, fails over to next random client

     offer-timeout-ms
       0: disable
       > 0 and < 120000: time to wait for reply from offer.  On timeout, next client is offered call.
                         If no other clients available, call is rejected.  5000 is default.
2015-06-02 10:54:38 -04:00
Mike Jerris 12504aa210 Merge pull request #99 in FS/freeswitch from ~BRIAN/freeswitch-brian:bugfix/FS-6961-mod_erlang_event-add-call-uuid-to to master
* commit '89f3f5e2986d24800e40064f9966675389f5f8a0':
  FS-6961: [mod_erlang_event]: Add call UUID to call_hangup message
2015-06-01 16:32:11 -05:00
Michael Jerris 8d30c18c5a fix clang build 2015-05-28 12:47:25 -05:00
William King 346f6cb6af FS-7552 #resolve 2015-05-13 15:56:18 -07:00
William King 15d8821ede FS-7060: On first startup, on a clean platform, make sure to create the amqp exchange. 2015-05-04 21:36:15 -07:00
Michael Jerris 2b79637036 FS-7523: [mod_json_cdr] don't install state handlers before we configure the module 2015-05-04 15:58:48 -04:00
Michael Jerris 7382cecf8c FS-7523: [mod_json_cdr] don't bind events before we configure the module 2015-05-04 11:46:30 -04:00
William King d3bac671d2 FS-7526: add enable_fallback_format_fields for mod_amqp producer profiles if the profile param is set. 2015-05-03 11:23:30 -07:00
Chris Rienzo 5816ddcd39 FS-7490 #resolve #comment mod_rayo, srgs to regex transform: latest PCRE doesn't like regex generated by mod_rayo. It requires the group name not to start
with a digit.
2015-04-28 14:38:38 -04:00
William King b01352c133 Fixing a typo from a last minute refactor after fixing a bug 2015-04-22 21:33:08 -07:00
William King 777c1154ee Additional fix for error case when connection succeeds, but login fails 2015-04-19 19:11:47 -07:00
William King c620ee32c7 If we lost connection and can't reconnect, make sure to set active connection to NULL 2015-04-19 18:43:03 -07:00
William King b51c054474 FS-7060 add configuration of the amqp command binding key 2015-04-08 16:04:00 -07:00
William King d55c4a053b FS-7060 expanded configuration for amqp command configuration 2015-04-07 16:11:34 -07:00
William King 7b6a9efcaa FS-7060 More accurate logging, and improve handling of producer reconnect attempt interval 2015-04-07 10:52:30 -07:00
William King 1a96f23f27 Adding mod_amqp as an event_handler module
AMQP(Advanced Message Queueing Protocol) is an event bus protocol
with more info here http://www.amqp.org/about/what

mod_amqp implements the client side of the amqp protocol. Currently
the module supports two separate, but not mutually exclusive usages:

1. Sending a filtered whitelist of events to an AMQP server. The
before the events are sent an amqp routing header is generated so that
downstream subscriptions can subscribe using filters. If the
connection to the remote server is interrupted, the module will
attempt to reconnect.

2. Subscribing to a 'control' channel on the remote AMQP server. When
events are received on this channel if they match a configured filter,
the commands are run locally as api commands. If the filter for the
events being sent to the remote AMQP server include SWITCH_EVENT_API
then the results of the api commands will be sent back to the AMQP
server.

FS-7060 #resolve
Thanks-to: Daniel Bryars <danb@aeriandi.com> and Tim Brown <tim.brown@aeriandi.com>
2015-04-03 15:34:09 -07:00
Chris Rienzo cbd94aac29 FS-7300 [mod_rayo] set iq type to error when prompt component forwards input/output error back to rayo client. 2015-03-22 14:40:25 -04:00
Chris Rienzo f2c993e5ee FS-7300 #resolve #comment [mod_rayo] handle all MRCP completion causes in SPEECH-COMPLETE event and validate / load input grammar URLs 2015-03-11 23:53:50 -04:00
Sergey Safarov 57aba47f6e FS-7354: Filter feature ported from mod_event_socket to mod_erlang_event 2015-03-09 10:55:28 +03:00
Michael Jerris 3a70750b42 FS-7340: remove all build system references to json-c because we are no longer using it anywhere 2015-03-04 14:06:18 -05:00
Brian West 1b35585084 Merge pull request #185 in FS/freeswitch from ~JCHERUKURI_NECC/freeswitch-fs6794:master to master
* commit '849e90ba733bfe0a2a380fdf26dbff263b3e67b2':
  destroy erlang session elements when the outbound erlang processis stopped/terminated
2015-03-03 08:03:14 -06:00
Sergey Safarov ce36330b5c FS-7303 #comment Added adjustment of time values reported by FS server when RADIUS server located in different timezone 2015-02-21 10:02:11 +03:00
Chris Rienzo eb9379b5f0 FS-7164 [mod_rayo] support input grammar URL for MRCP only. Mixing URL and embedded grammars in same input request (but in different grammar elements) should work 2015-02-17 09:52:49 -05:00
Jyotshna Cherukuri 849e90ba73 destroy erlang session elements when the outbound erlang processis stopped/terminated 2015-02-11 15:20:32 -05:00
Anthony Minessale 6afbc05f4f FS-7252 #resolve 6-year-old regression from commit 525f1ac362 back in 2008 2015-02-10 02:15:18 -06:00
Brian West e408f409fe FS-7157 #resolve 2015-01-16 09:31:08 -06:00
Brian West c880f9a9dd FS-7156 #resolve 2015-01-16 09:29:10 -06:00
Brian West acbeaec1bd #resolve FS-7162 #comment test 2015-01-16 09:28:28 -06:00
Chris Rienzo 85fbddc655 FS-7150 #resolve #comment [mod_rayo] added param add-variables-to-events which will add channel variables to <offer>, <ringing>, <answered>, and <end> if set to true. Default is false. 2015-01-13 16:01:02 -05:00
Chris Rienzo d5119a7a77 FS-7091 #resolve #comment [mod_rayo] Removed unnecessary mutex lock inside input component's cleanup function since the input component won't be cleaned up unless all references have been released. This fixes a deadlock when output component is created at the same time an input component completes. 2014-12-17 14:49:01 -05:00
Chris Rienzo a3f630fc2e FS-7047 #resolve #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp output components 2014-12-10 16:57:02 -05:00
Chris Rienzo f024ea3c2b FS-7047 #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp input components 2014-12-10 15:44:10 -05:00
Chris Rienzo e8cf9c7d35 FS-7045 #resolve #comment [mod_rayo] guarantee that dialed call can be joined when answered event is sent. 2014-12-03 16:03:58 -05:00
Chris Rienzo 6f660c3a10 iksemel - remove support for SSLv23 in iks_proceed_tls (was a FS addition to iksemel). mod_rayo - updated to no longer support SSLv23 2014-11-17 09:46:23 -05:00
Chris Rienzo 07c5cc18ba FS-7003 #resolve #comment mod_rayo: fix infinite loop when output sent to server without SSML configured and repeat-times=0 2014-11-14 14:20:48 -05:00
Chris Rienzo e1c0ef5008 mod_rayo: new configuration parameter, add-variables-to-offer (default=false). When true, all channel variables are included in the offer to rayo client 2014-11-14 13:22:53 -05:00
Mike Jerris b7741916eb Merge pull request #49 in FS/freeswitch from ~VIPKILLA/freeswitch-mod_odbc_cdr:master to master
* commit '544c5faf5e6ce6fe2b87523304d1f00e2d201d90':
  Add module mod_odbc_cdr
2014-11-07 08:34:55 -06:00
Chris Rienzo cf1424cfe5 mod_rayo: update config to use spandsp_start_tone_detect and spandsp_stop_tone_detect 2014-11-06 14:54:55 -05:00
Brian West 89f3f5e298 FS-6961: [mod_erlang_event]: Add call UUID to call_hangup message 2014-11-05 12:18:47 -06:00
Chris Rienzo bea7d8ec71 FS-5853 #resolve #comment mod_rayo now reports record completion cause 2014-10-27 13:41:52 -04:00
Chris Rienzo a43e3496c2 FS-6921 #resolve #comment rayo APP now accepts optional comma separated list of JIDs or user names to steer incoming calls to specific rayo clients 2014-10-27 12:18:17 -04:00
Chris Rienzo 57e8231cba FS-6929 #resolve #comment fix deadlock in mod_rayo 2014-10-27 10:05:12 -04:00
Chris Rienzo 28bc992fce mod_rayo: fix error in SRGS grammar parser... <one-of><item>7</item><item>715</item></one-of> will return MATCH_END with input of 7 instead of MATCH since 715 is a potential match with further input. 2014-10-09 11:41:22 -04:00
E. Schmidbauer 544c5faf5e Add module mod_odbc_cdr 2014-10-08 08:31:35 -04:00
Travis Cross bb84b0534c Check for libpq in core before building mod_cdr_pg_csv 2014-09-10 22:29:24 +00:00
Ken Rice 30283b7f6b Revert "fix libpq location detection"
This reverts commit e2b1ee26ae.
2014-09-10 16:27:16 -05:00
Ken Rice e2b1ee26ae fix libpq location detection 2014-09-10 15:04:50 -05:00
root 575adecf75 Revert "FS-6566"
This reverts commit 99d0f134e7.
2014-09-10 14:57:57 -05:00
Travis Cross acb439ca03 Avoid leaking memory while iterating hash tables
`switch_core_hash_first` allocates an iterator on each call that is
never freed except when the hash table is empty.

By using `switch_core_hash_first_iter` we allocate only one iterator,
and that iterator is freed after the last item is processed.
2014-08-30 03:49:51 +00:00
Chris Rienzo 89b4b0c4ea mod_rayo: fix nested join to calls and conferences 2014-08-28 13:16:55 -04:00
Brian West f4a04e65f2 FS-6735 2014-08-22 16:39:52 -05:00
Anthony Minessale 7e08d2123d FS-6663 #resolve 2014-07-22 02:05:32 +05:00
Chris Rienzo 3df080a79f FS-6447 #close SUBSCRIBER_ABSENT also needs handling. Thanks to Ben Langfeld. 2014-07-16 13:21:19 -04:00
Brian West e1d814b7e7 FS-6565 2014-07-09 07:45:55 -05:00
Brian West 99d0f134e7 FS-6566 2014-07-09 07:44:37 -05:00
Travis Cross 7741f403f1 Handle SRTP_READ_ERROR in mod_rayo 2014-06-28 06:42:57 +00:00
Travis Cross 63351a1061 Terminate format_cdr json files with newline
In UNIX, text files by definition end with a newline.
2014-06-25 23:30:54 +00:00
Travis Cross d5fa28417e Allow setting format of log filename in format_cdr
This commit allows you to set a `log-file` string parameter in a
format_cdr profile.  This string is a template that may (and should!)
contain variables.  This template will be expanded and used as the
file name of the CDR to be written.  This parameter should contain
only the template for the file name itself; the path is relative to
the `log-dir`.
2014-06-25 23:22:34 +00:00
Seven Du 6540068faa fix compiler warning 2014-06-24 09:10:34 +08:00
Chris Rienzo 3c7c167581 mod_rayo: improved idle detection- call is idle only if no active components and not joined 2014-06-16 14:39:17 -04:00
Chris Rienzo 633dfe2a56 FS-6535 mod_rayo: close recognizer when input component is complete 2014-06-13 12:34:19 -04:00
Chris Rienzo 1511fe3ee8 mod_rayo: rework component inheritance- component now inherits parent call/mixer mutex and parent reference counting moved to base class 2014-06-13 12:16:26 -04:00
Chris Rienzo 730d2f88ba mod_rayo: rename reference counting functions to something more sensible 2014-06-13 11:33:33 -04:00
Chris Rienzo 9aa5102142 FS-6535 mod_rayo: compile error 2014-06-13 10:08:49 -04:00
Chris Rienzo 4c54f45f4a FS-6535 mod_rayo: allow unimrcp recognizer w/ profile specified 2014-06-13 10:05:53 -04:00
Chris Rienzo c82ac3afbf FS-6535 mod_rayo: fix double lock on speech detection failure 2014-06-12 23:24:35 -04:00
Chris Rienzo bb6869b7ab FS-6535 --resolve mod_rayo: allow multiple grammars (including dtmf) when using unimrcp 2014-06-12 22:56:34 -04:00
Chris Rienzo 48483452d2 mod_rayo: remove code that is no longer needed 2014-05-27 10:22:18 -04:00
Chris Rienzo ed2351e048 mod_rayo: http_put of received fax was broken 2014-05-27 09:15:22 -04:00
Tamas Cseke e6e0deba54 Fix erlang deadlock
Release session R/W Lock
2014-05-20 10:13:38 +02:00
Tamas Cseke ea78f4d0e8 Fix race in erlang process spawning
We received the reply and signaled the condition
earlier then started to wait for it
2014-05-19 14:47:39 +02:00
Travis Cross b263201a2e Avoid polluting CFLAGS for mod_snmp
Putting `net-snmp-config --cflags` into CFLAGS causes major pollution;
it overrides optimization and debugging levels, warnings, and more.
While normally we do want to automatically locate library headers,
there has to be a better way to do this.  libsnmp is normally in the
usual place and doesn't need special handling.  Perhaps people with
libsnmp in a weird place should just need to add the -I flag to their
CFLAGS before build.
2014-05-13 17:40:43 +00:00
Travis Cross 94ec447e0d Cleanup makefile library dependencies of mod_snmp
Calling out to net-snmp-config --agent-libs causes transitive
dependencies to get pulled in, but we don't need those -- a sensible
dynamic linker pulls those in automatically.  Trying to track the
transitive dependencies manually would be a losing battle.

People were recently hitting this on Debian sid/jessie, where libpci
is in the transitive dependency list but isn't otherwise one of our
build dependencies.
2014-05-13 17:27:46 +00:00
Chris Rienzo c4f38f8d0d CID: 1211940 mod_rayo - unlikely dereference of NULL pointer 2014-05-08 12:11:15 -04:00
Chris Rienzo 42108871c9 CID: 1211941 mod_rayo - unlikely dereference of NULL pointer 2014-05-08 12:10:01 -04:00
Chris Rienzo 17848d26be CID: 1211943 mod_rayo - removed dead code when changing output speed 2014-05-08 12:03:28 -04:00
Chris Rienzo a72137d4ae CID: 1211944 mod_rayo - remove set of unused pointer 2014-05-08 11:47:38 -04:00
Chris Rienzo 58fea2544b CID: 1211946 mod_rayo - dead code after switch statement 2014-05-08 11:36:05 -04:00
Chris Rienzo 873acb2975 CID: 1211947 mod_rayo - allocated array with unsigned char * element size instead of unsigned char 2014-05-08 11:33:27 -04:00
Chris Rienzo 4f4fb9e942 CID: 1211951 mod_rayo - fix unlikely dereference of null pointer 2014-05-08 11:30:53 -04:00
Chris Rienzo 84eb4a0404 mod_rayo: re-added Makefile for iks helpers unit tests 2014-05-08 11:16:02 -04:00
Chris Rienzo d7d4625866 mod_rayo: re-added Makefile for srgs unit tests 2014-05-08 11:14:20 -04:00
Chris Rienzo 752f7956f9 mod_rayo: fix compiler error to nlsml.c from attempted coverity fix 2014-05-08 11:10:42 -04:00
William King ee6f3da9ff CID: 1211948 fix memory leak of decoded iks message in function parse_plain_auth_message in mod_rayo 2014-05-07 00:44:54 -07:00
William King 2a50bbba68 CID: 1211950 fix memory leak of iksparser in function nlsml_parse in mod_rayo 2014-05-07 00:37:32 -07:00
Michael Jerris 942215637a make sure receive buffer is always null terminated 2014-04-30 13:49:58 -04:00
Chris Rienzo 25c9b6196b mod_rayo: preserve old caller ID behavior if display name is not given 2014-04-22 13:30:15 -04:00
Chris Rienzo 1eab82ba2d mod_rayo: relax recent caller ID restrictions a bit 2014-04-22 08:50:50 -04:00
Seven Du 37ee4299fb fix compiler warning 2014-04-17 14:58:18 +08:00
Chris Rienzo ae69c5a7b0 FS-6407 --resolve mod_rayo: support SIP URI caller ID w/ display name 2014-04-15 14:27:49 -04:00
Chris Rienzo e8078d8aef mod_rayo: clean up module hashes on shutdown 2014-04-14 12:01:31 -04:00
Chris Rienzo b0c2c6d67c FS-6447 --resolve return subscriber-absent platform-code 20 if <dial> is attempted to user that is not registered 2014-04-14 09:47:41 -04:00
Travis Cross 2dba7dd367 Avoid leaking memory on mod_cdr_sqlite unload 2014-04-12 06:59:02 +00:00
Chris Rienzo a86623972d mod_rayo: fixed input crash introduced in 2014-04-07 commit 2014-04-10 10:20:47 -04:00
Chris Rienzo 264a12a4af mod_rayo: fix memory corruption in dial, input, output 2014-04-07 12:37:39 -04:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale 5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Chris Rienzo 0b9e5c82a5 FS-6402 mod_rayo/mod_ssml: add mutex to hashes now that iteration is no longer thread-safe 2014-03-24 17:03:33 -04:00
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