h323.conf.sample 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. ; The NuFone Network's
  2. ; Open H.323 driver configuration
  3. ;
  4. [general]
  5. port = 1720
  6. bindaddr = 0.0.0.0
  7. ;tos=lowdelay
  8. ;
  9. ; You may specify a global default AMA flag for iaxtel calls. It must be
  10. ; one of 'default', 'omit', 'billing', or 'documentation'. These flags
  11. ; are used in the generation of call detail records.
  12. ;
  13. ;amaflags = default
  14. ;
  15. ; You may specify a default account for Call Detail Records in addition
  16. ; to specifying on a per-user basis
  17. ;
  18. ;accountcode=lss0101
  19. ;
  20. ; You can fine tune codecs here using "allow" and "disallow" clauses
  21. ; with specific codecs. Use "all" to represent all formats.
  22. ;
  23. disallow=all
  24. ;allow=all ; turns on all installed codecs
  25. ;disallow=g723.1 ; Hm... Proprietary, don't use it...
  26. allow=gsm ; Always allow GSM, it's cool :)
  27. ;
  28. ; User-Input Mode (DTMF)
  29. ;
  30. ; valid entries are: rfc2833, inband
  31. ; default is rfc2833
  32. ;dtmfmode=rfc2833
  33. ;
  34. ; Set the gatekeeper
  35. ; DISCOVER - Find the Gk address using multicast
  36. ; DISABLE - Disable the use of a GK
  37. ; <IP address> or <Host name> - The acutal IP address or hostname of your GK
  38. ;gatekeeper = DISABLE
  39. ;
  40. ;
  41. ; Tell Asterisk whether or not to accept Gatekeeper
  42. ; routed calls or not. Normally this should always
  43. ; be set to yes, unless you want to have finer control
  44. ; over which users are allowed access to Asterisk.
  45. ; Default: YES
  46. ;
  47. ;AllowGKRouted = yes
  48. ;
  49. ; Default context gets used in siutations where you are using
  50. ; the GK routed model or no type=user was found. This gives you
  51. ; the ability to either play an invalid message or to simply not
  52. ; use user authentication at all.
  53. ;
  54. ;context=default
  55. ;
  56. ; H.323 Alias definitions
  57. ;
  58. ; Type 'h323' will register aliases to the endpoint
  59. ; and Gatekeeper, if there is one.
  60. ;
  61. ; Example: if someone calls time@your.asterisk.box.com
  62. ; Asterisk will send the call to the extension 'time'
  63. ; in the context default
  64. ;
  65. ; [default]
  66. ; exten => time,1,Answer
  67. ; exten => time,2,Playback,current-time
  68. ;
  69. ; Keyword's 'prefix' and 'e164' are only make sense when
  70. ; used with a gatekeeper. You can specify either a prefix
  71. ; or E.164 this endpoint is responsible for terminating.
  72. ;
  73. ; Example: The H.323 alias 'det-gw' will tell the gatekeeper
  74. ; to route any call with the prefix 1248 to this alias. Keyword
  75. ; e164 is used when you want to specifiy a full telephone
  76. ; number. So a call to the number 18102341212 would be
  77. ; routed to the H.323 alias 'time'.
  78. ;
  79. ;[time]
  80. ;type=h323
  81. ;e164=18102341212
  82. ;context=default
  83. ;
  84. ;[det-gw]
  85. ;type=h323
  86. ;prefix=1248,1313
  87. ;context=detroit
  88. ;
  89. ;
  90. ; Inbound H.323 calls from BillyBob would land in the incoming
  91. ; context with a maximum of 4 concurrent incoming calls
  92. ;
  93. ;
  94. ; Note: If keyword 'incominglimit' are omitted Asterisk will not
  95. ; enforce any maximum number of concurrent calls.
  96. ;
  97. ;[BillyBob]
  98. ;type=user
  99. ;host=192.168.1.1
  100. ;context=incoming
  101. ;incominglimit=4