mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-23 04:58:48 +00:00
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
This commit is contained in:
26
configs/samples/cdr_beanstalkd.conf.sample
Normal file
26
configs/samples/cdr_beanstalkd.conf.sample
Normal file
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user