Queues Notify Module
From Yate Documentation
(Difference between revisions)
(Created page with " Queues notify module has three sections: * ''general'' - used to configure the account for the queries in database; * ''events'' - this section configures the status set in r...") |
|||
(One intermediate revision by one user not shown) | |||
Line 8: | Line 8: | ||
File queuesnotify.conf: | File queuesnotify.conf: | ||
− | |||
; This file keeps the configuration for the Queues Notify module | ; This file keeps the configuration for the Queues Notify module | ||
Line 55: | Line 54: | ||
; cdrinfo: string: The query used when a call is queued to get CDR data | ; cdrinfo: string: The query used when a call is queued to get CDR data | ||
;cdrinfo= | ;cdrinfo= | ||
+ | |||
+ | [[Category:Queues]] [[Category:Notify]] |
Latest revision as of 13:20, 4 November 2013
Queues notify module has three sections:
- general - used to configure the account for the queries in database;
- events - this section configures the status set in resource.notify messages when a queued call status changes;
- queued - this section configures the queries used when a call is queued.
[edit] Configuration
File queuesnotify.conf:
; This file keeps the configuration for the Queues Notify module [general] ; account: string: The account used to query the database ;account= ; defsleep: int: Loop sleep time in milliseconds ;defsleep=20 ; notifyhanguponunload: boolean: Notify hangup for all queued calls when the ; module is unloaded or the program terminates ; Defaults to yes ;notifyhanguponunload=yes [events] ; This section configures the status set in resource.notify messages when ; a queued call status changes ; queued: string: The status text to be sent when a call is queued ; Defaults to 'online' if missing ;queued= ; pickup: string: The status text to be sent when a call is picked up from queue ; Defaults to 'dnd' if missing ;pickup= ; hangup: string: The status text to be sent when a previously queued call ; is terminated ; Defaults to 'offline' if missing ;hangup= [queued] ; This section configures the queries used when a call is queued ; callinfo: string: The query to be used when a call is queued to get callinfo data ; These values will be added to the callinfo parameter(s) of the resource.notify ; message ; If the query fails a minimum set of parameters will be copied ; from received message to the resource.notify message: caller, called, callername ;callinfo= ; cdrinfo: string: The query used when a call is queued to get CDR data ;cdrinfo=