iaxprov.conf.sample 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. ;
  2. ; IAX2 Provisioning Information
  3. ;
  4. ; Contains provisioning information for templates and for specific service
  5. ; entries.
  6. ;
  7. ; Templates provide a group of settings from which provisioning takes place.
  8. ; A template may be based upon any template that has been specified before
  9. ; it. If the template that an entry is based on is not specified then it is
  10. ; presumed to be 'default' (unless it is the first of course).
  11. ;
  12. ; Templates which begin with 'si-' are used for provisioning units with
  13. ; specific service identifiers. For example the entry "si-000364000126"
  14. ; would be used when the device with the corresponding service identifier of
  15. ; "000364000126" attempts to register or make a call.
  16. ;
  17. [default]
  18. ;
  19. ; The port number the device should use to bind to. The default is 4569.
  20. ;
  21. ;port=4569
  22. ;
  23. ; server is our PRIMARY server for registration and placing calls
  24. ;
  25. ;server=192.168.69.3
  26. ;
  27. ; altserver is the BACKUP server for registration and placing calls in the
  28. ; event the primary server is unavailable.
  29. ;
  30. ;altserver=192.168.69.4
  31. ;
  32. ; port is the port number to use for IAX2 outbound. The connections to the
  33. ; server and altserver -- default is of course 4569.
  34. ;serverport=4569
  35. ;
  36. ; language is the preferred language for the device
  37. ;
  38. ;language=en
  39. ;
  40. ; codec is the requested codec. The iaxy supports ulaw and adpcm
  41. ;
  42. codec=ulaw
  43. ;
  44. ; flags is a comma separated list of flags which the device should
  45. ; use and may contain any of the following keywords:
  46. ;
  47. ; "register" - Register with server
  48. ; "secure" - Do not accept calls / provisioning not originated by the server
  49. ; "heartbeat" - Generate status packets on port 9999 sent to 255.255.255.255
  50. ; "debug" - Output extra debugging to port 9999
  51. ;
  52. ; Note that use can use += and -= to adjust parameters
  53. ;
  54. flags=register,heartbeat
  55. ;
  56. ; See https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service for a description of this parameter.
  57. ;tos=ef
  58. ;
  59. ; Example iaxy provisioning
  60. ;
  61. ;[si-000364000126]
  62. ;user=iaxy
  63. ;pass=bitsy
  64. ;flags += debug
  65. ;[si-000364000127]
  66. ;user=iaxy2
  67. ;pass=bitsy2
  68. ;template=si-000364000126
  69. ;flags += debug
  70. ;
  71. ;[*]
  72. ;
  73. ; If specified, the '*' provisioning is used for all devices which do not
  74. ; have another provisioning entry within the file. If unspecified, no
  75. ; provisioning will take place for devices which have no entry. DO NOT
  76. ; USE A '*' PROVISIONING ENTRY UNLESS YOU KNOW WHAT YOU'RE DOING.
  77. ;
  78. ;template=default