agents.conf 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. ;
  2. ; Agent configuration
  3. ;
  4. [general]
  5. ;
  6. ; Define whether callbacklogins should be stored in astdb for
  7. ; persistence. Persistent logins will be reloaded after
  8. ; Asterisk restarts.
  9. ;
  10. ;persistentagents=yes
  11. ; Enable or disable a single extension from logging in as multiple agents.
  12. ; The default value is "yes".
  13. ;multiplelogin=yes
  14. [agents]
  15. ;
  16. ; Define maxlogintries to allow agent to try max logins before
  17. ; failed.
  18. ; default to 3
  19. ;
  20. ;maxlogintries=5
  21. ;
  22. ;
  23. ; Define autologoff times if appropriate. This is how long
  24. ; the phone has to ring with no answer before the agent is
  25. ; automatically logged off (in seconds)
  26. ;
  27. ;autologoff=15
  28. ;
  29. ; Define autologoffunavail to have agents automatically logged
  30. ; out when the extension that they are at returns a CHANUNAVAIL
  31. ; status when a call is attempted to be sent there.
  32. ; Default is "no".
  33. ;
  34. ;autologoffunavail=yes
  35. ;
  36. ; Define ackcall to require an acknowledgement by '#' when
  37. ; an agent logs in using agentcallbacklogin. Default is "no".
  38. ;
  39. ;ackcall=no
  40. ;
  41. ; Define endcall to allow an agent to hangup a call by '*'.
  42. ; Default is "yes". Set this to "no" to ignore '*'.
  43. ;
  44. ;endcall=yes
  45. ;
  46. ; Define wrapuptime. This is the minimum amount of time when
  47. ; after disconnecting before the caller can receive a new call
  48. ; note this is in milliseconds.
  49. ;
  50. ;wrapuptime=5000
  51. ;
  52. ; Define the default musiconhold for agents
  53. ; musiconhold => music_class
  54. ;
  55. ;musiconhold => default
  56. ;
  57. ; Define the default good bye sound file for agents
  58. ; default to vm-goodbye
  59. ;
  60. ;agentgoodbye => goodbye_file
  61. ;
  62. ; Define updatecdr. This is whether or not to change the source
  63. ; channel in the CDR record for this call to agent/agent_id so
  64. ; that we know which agent generates the call
  65. ;
  66. ;updatecdr=no
  67. ;
  68. ; Group memberships for agents (may change in mid-file)
  69. ;
  70. ;group=3
  71. ;group=1,2
  72. ;group=
  73. ;
  74. ; --------------------------------------------------
  75. ; This section is devoted to recording agent's calls
  76. ; The keywords are global to the chan_agent channel driver
  77. ;
  78. ; Enable recording calls addressed to agents. It's turned off by default.
  79. ;recordagentcalls=yes
  80. ;
  81. ; The format to be used to record the calls: wav, gsm, wav49.
  82. ; By default its "wav".
  83. ;recordformat=gsm
  84. ;
  85. ; The text to be added to the name of the recording. Allows forming a url link.
  86. ;urlprefix=http://localhost/calls/
  87. ;
  88. ; The optional directory to save the conversations in. The default is
  89. ; /var/spool/asterisk/monitor
  90. ;savecallsin=/var/calls
  91. ;
  92. ; An optional custom beep sound file to play to always-connected agents.
  93. ;custom_beep=beep
  94. ;
  95. ; --------------------------------------------------
  96. ;
  97. ; This section contains the agent definitions, in the form:
  98. ;
  99. ; agent => agentid,agentpassword,name
  100. ;
  101. ;agent => 1001,4321,Mark Spencer
  102. ;agent => 1002,4321,Will Meadows