agents.conf.sample 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [general]
  2. ;
  3. ; Define whether callbacklogins should be stored in astdb for
  4. ; persistence. Persistent logins will be reloaded after
  5. ; Asterisk restarts.
  6. ;
  7. persistentagents=yes
  8. ;
  9. ; Agent configuration
  10. ;
  11. ;
  12. [agents]
  13. ;
  14. ; Define autologoff times if appropriate. This is how long
  15. ; the phone has to ring with no answer before the agent is
  16. ; automatically logged off (in seconds)
  17. ;
  18. ;autologoff=15
  19. ;
  20. ; Define ackcall to require an acknowledgement by '#' when
  21. ; an agent logs in using agentcallbacklogin. Default is "no".
  22. ;
  23. ;ackcall=no
  24. ;
  25. ; Define wrapuptime. This is the minimum amount of time when
  26. ; after disconnecting before the caller can receive a new call
  27. ; note this is in milliseconds.
  28. ;
  29. ;wrapuptime=5000
  30. ;
  31. ; Define the default musiconhold for agents
  32. ; musiconhold => music_class
  33. ;
  34. ;musiconhold => default
  35. ;
  36. ; Define updatecdr. This is whether or not to change the source
  37. ; channel in the CDR record for this call to agent/agent_id so
  38. ; that we know which agent generates the call
  39. ;
  40. ;updatecdr=no
  41. ;
  42. ; Group memberships for agents (may change in mid-file)
  43. ;
  44. ;group=3
  45. ;group=1,2
  46. ;group=
  47. ;
  48. ; --------------------------------------------------
  49. ; This section is devoted to recording agent's calls
  50. ; The keywords are global to the chan_agent channel driver
  51. ;
  52. ; Enable recording calls addressed to agents. It's turned off by default.
  53. ;recordagentcalls=yes
  54. ;
  55. ; The format to be used to record the calls: wav, gsm, wav49.
  56. ; By default its "wav".
  57. ;recordformat=gsm
  58. ;
  59. ; Insert into CDR userfield a name of the the created recording
  60. ; By default it's turned off.
  61. ;createlink=yes
  62. ;
  63. ; The text to be added to the name of the recording. Allows forming a url link.
  64. ;urlprefix=http://localhost/calls/
  65. ;
  66. ; The optional directory to save the conversations in. The default is
  67. ; /var/spool/asterisk/monitor
  68. ;savecallsin=/var/calls
  69. ;
  70. ; An optional custom beep sound file to play to always-connected agents.
  71. ;custom_beep=beep
  72. ;
  73. ; --------------------------------------------------
  74. ;
  75. ; This section contains the agent definitions, in the form:
  76. ;
  77. ; agent => agentid,agentpassword,name
  78. ;
  79. ;agent => 1001,4321,Mark Spencer
  80. ;agent => 1002,4321,Will Meadows