summaryrefslogtreecommitdiff
path: root/configs/samples
diff options
context:
space:
mode:
authorNir Simionovich <nirs@greenfieldtech.net>2017-10-16 17:46:02 -0400
committerNir Simionovich <nirs@greenfieldtech.net>2017-10-20 10:08:05 -0400
commit4559cd0e284ee3cb672d9c7c935ab99b3bb16489 (patch)
tree5654e35e5a6b6c1db91d475d892cc5b588b9a0ed /configs/samples
parent00d1c7ddd28557aa845c3522956852a60310df96 (diff)
This patch adds a beanstalk CDR backend.
Beanstalkd is a simple to use job queue. It provides a means to create multiple job queues called "tubes". Each tube can store multiple jobs, with varying priorities with the queue. Queue processing is available via a simple TCP socket or via well defined libraries, avaialble at https://github.com/kr/beanstalkd/wiki/client-libraries This module is based upon the beanstalk-client library, available for download at: https://github.com/deepfryed/beanstalk-client Change-Id: I5fe4089a34ab3b39230786d9bbfddafa56715f48
Diffstat (limited to 'configs/samples')
-rw-r--r--configs/samples/cdr_beanstalkd.conf.sample26
1 files changed, 26 insertions, 0 deletions
diff --git a/configs/samples/cdr_beanstalkd.conf.sample b/configs/samples/cdr_beanstalkd.conf.sample
new file mode 100644
index 000000000..5f45d5d5d
--- /dev/null
+++ b/configs/samples/cdr_beanstalkd.conf.sample
@@ -0,0 +1,26 @@
+;
+; Asterisk Call Management CDR via Beanstalkd job queue
+;
+; Beanstalkd is a simple job queue server, that is highly versatile and simple to use.
+; Beanstalkd includes the capability of using multiple queues at the same time, with priorities.
+;
+; This module requires that your server has the beanstalk-client library installed. The library
+; can be downloaded from - https://github.com/deepfryed/beanstalk-client
+;
+
+[general]
+;enabled = yes
+
+;host = 127.0.0.1 ; Specify the remote IP address of the Beanstalkd server
+;port = 11300 ; Specify the remote PORT of the the Beanstalkd server
+;tube = asterisk-cdr ; Specify the default CDR job queue to use
+;priority = 99 ; Specify the default job priority for the queue. This parameter is useful when building
+ ; platform with multiple Asterisk servers, that are used for different functions. For example,
+ ; none billable CDR records can be inserted with a priority of 99, while billable ones be
+ ; inserted with a priority of 1
+
+
+
+
+
+