| Class | Adhearsion::VoIP::Asterisk::ConfigFileGenerators::Queues::QueueDefinition |
| In: |
lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb
|
| Parent: | AsteriskConfigGenerator |
| DEFAULT_QUEUE_PROPERTIES | = | { :autofill => 'yes', :eventwhencalled => 'vars', :eventmemberstatus => 'yes', :setinterfacevar => 'yes' |
| SUPPORTED_RING_STRATEGIES | = | [:ringall, :roundrobin, :leastrecent, :fewestcalls, :random, :rrmemory] |
| DEFAULT_SOUND_FILES | = | { 'queue-youarenext' => 'queue-youarenext', 'queue-thereare' => 'queue-thereare', 'queue-callswaiting' => 'queue-callswaiting', 'queue-holdtime' => 'queue-holdtime', 'queue-minutes' => 'queue-minutes', 'queue-seconds' => 'queue-seconds', 'queue-thankyou' => 'queue-thankyou', 'queue-lessthan' => 'queue-less-than', 'queue-reporthold' => 'queue-reporthold', 'periodic-announce' => 'queue-periodic-announce' |
| SOUND_FILE_SYMBOL_INTERPRETATIONS | = | { :you_are_next => 'queue-youarenext', :there_are => 'queue-thereare', :calls_waiting => 'queue-callswaiting', :hold_time => 'queue-holdtime', :minutes => 'queue-minutes', :seconds => 'queue-seconds', :thank_you => 'queue-thankyou', :less_than => 'queue-lessthan', :report_hold => 'queue-reporthold', :periodic_announcement => 'periodic-announce' |
| members | [R] | |
| name | [R] | |
| properties | [R] |
Number of seconds to wait when an agent is to be bridged with a caller. Normally you‘d want this to be zero.
A context may be specified, in which if the user types a SINGLE digit extension while they are in the queue, they will be taken out of the queue and sent to that extension in this context. This context should obviously be a different context other than the one that normally forwards to Adhearsion (though the context that handles these digits should probably go out to Adhearsion too).
Give a Hash argument here to override the default sound files for this queue.
Usage:
queue.sound_files :you_are_next => 'queue-youarenext',
:there_are => 'queue-thereare',
:calls_waiting => 'queue-callswaiting',
:hold_time => 'queue-holdtime',
:minutes => 'queue-minutes',
:seconds => 'queue-seconds',
:thank_you => 'queue-thankyou',
:less_than => 'queue-less-than',
:report_hold => 'queue-reporthold',
:periodic_announcement => 'queue-periodic-announce'
Note: the Hash values are the defaults. You only need to specify the ones you wish to override.