前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >yate.conf

yate.conf

作者头像
全栈程序员站长
发布2022-07-05 21:38:34
3450
发布2022-07-05 21:38:34
举报
文章被收录于专栏:全栈程序员必看

大家好,又见面了,我是全栈君

但档案。粘贴下面的例子。不解释!除去非常灵活!只保留sip电话!

代码语言:javascript
复制
[general]
; General settings for the operation of Yate

; modload: boolean: Should a module be loaded by default if there is no
;  reference to it in the [modules] section
modload=disable

; modpath: string: Overrides the runtime module directory path which is
;  compiled in or specified with the -m command line option. Note that this
;  setting takes priority over anything else
; Note that you MUST NOT add a path separator at the end
;modpath=

; extrapath: string: Relative path to an extra modules directory, gets loaded
;  before those added by command line -x parameters
; Note that you MUST NOT add a path separator at the end
;extrapath=

; nodename: string: Name of this node in a cluster
;nodename=

; maxworkers: int: Maximum number of worker threads the engine can create
;maxworkers=10

; maxevents: int: Maximum number of events kept per type
;maxevents=25

; startevents: boolean: Capture all debug events at startup
;startevents=yes

; restarts: int: Time in seconds after startup the engine will try to restart
;  to clean up any accumulating problems. Restarts are performed only when
;  started in supervised mode
; If at restart time at least one of the modules is busy it will try again to
;  restart every 10 seconds
;restarts=0

; warntime: int: Warn time limit for message dispatch in milliseconds, a value
;  of zero disables such warnings
;warntime=0

; idlemsec: int: System idle time in milliseconds
;  Set to zero to use platform default
;  If not set the platform default is doubled only in client mode
;idlemsec=

; wintimer: int: Requested timer resolution in milliseconds (Windows only, does
;  not work on 9x and ME). The default resolution depends on hardware, Windows
;  version and currently running programs
;wintimer=0

; trackparam: string: Name of the parameter used to track message through handlers
;  If empty or boolean true the default "handlers" will be used instead
;  Set to boolean false to disable tracking only if you are sure what you want
;trackparam=handlers

; msgsniff: bool: Activate message sniffer module (if loaded) at engine init time
;msgsniff=disable

; filtersniff: regexp: Default filter to apply to message sniffer at initialization
; If empty it will match all messages except engine.timer which is never displayed
; Example for a filter matching all chan.Anything messages and engine.halt:
;  filtersniff=^\(chan\.\|engine\.halt$\)
;filtersniff=


[modules]
; This section should hold one line for each module whose loading behaviour
;  is to be changed from the default specified by modload= in section [general]
; Each line has to be of the form:
;   modulename.yate=boolean
; Note that modules can be located only in the module directory so no path
;  information should be specified

register.yate=true
mysqldb.yate=true
cache.yate=true
cpuload.yate=true
ysipchan.yate=true
yrtpchan.yate=true

yiaxchan.yate=false
SigTransport.yate=false
h323chan.yate=false
LkSCTP.yate=false
callcounters.yate=false
cdrcombine.yate=false
callfork.yate=false
cdrbuild.yate=false
cdrfile.yate=false
presence.yate=false
users.yate=false
accfile.yate=false
eventlogs.yate=false
analog.yate=false
camel_map.yate=false
ccongestion.yate=false
ciscosm.yate=false
clustering.yate=false
dbpbx.yate=false
dsoundchan.yate=false
enumroute.yate=false
extmodule.yate=false
fileinfo.yate=false
filetransfer.yate=false
gvoice.yate=false
heartbeat.yate=false
isupmangler.yate=false
jabberserver.yate=false
openssl.yate=false
jabberclient.yate=false
queuesnotify.yate=false
javascript.yate=false
jbfeatures.yate=false
mgcpca.yate=false
lateroute.yate=false
mgcpgw.yate=false
moh.yate=false
monitoring.yate=false
mux.yate=false
pbxassist.yate=false
queues.yate=false
rmanager.yate=false
sigtransport.yate=false
sip_cnam_lnp.yate=false
sipfeatures.yate=false
ss7_lnp_ansi.yate=false
subscription.yate=false
tdmcard.yate=false
tonegen.yate=false
wpcard.yate=false
yiaxchan.yate=false
ysnmpagent.yate=false
ysockschan.yate=false
ystunchan.yate=false
zlibcompress.yate=false
yjinglechan.yate=false
yradius.yate=false
ysigchan.yate=false
ysipchan.yate=false

[localsym]
; This section is used to force some modules to be loaded without their
;  symbols being globally available - if the operating system supports.
; Windows will ignore this section completely.
; Each line has to be of the form:
;   modulename.yate=boolean

; pwlib does not clean up properly on Linux so we must disable global symbols
;  unfortunately preventing all pwlib plugins from loading
h323chan.yate=yes


[nounload]
; This section is used to prevent some modules from being unloaded from
;  memory, although finalization will be attempted if possible.
; Each line has to be of the form:
;   modulename.yate=boolean
Javascript.yate=false;
YJingle.yate=false;


[preload]
; Put a line in this section for each shared library that you want to load
;  before any Yate module
; Each line has to be of the form:
;   /path/to/the/library.so=boolean
; You should specify the full path to the library. Extension is operating
;  system specific - usually .so for *NIX systems and .dll for Windows


[postload]
; Put a line in this section for each shared library that you want to load
;  after all Yate modules
; Each line has to be of the form:
;   /path/to/the/library.so=boolean
; You should specify the full path to the library. Extension is operating
;  system specific - usually .so for *NIX systems and .dll for Windows


[debug]
; Each line in this section generates an engine.debug message immediately
;  after the first initialization. This is equivalent of issuing the debug
;  command in the Remote Manager.
; Each line has to be of the form:
;  modulename=parameters to debug
; Examples:
;  tone=off
;  h323=level 9
;  sip=level 8
;  sip=filter 127.0.0.1


[variables]
; Each line in this section initializes a variable in the Engine's shared list
; These variables can be accessed and modified from each module
; Examples:
;  index1=5
;  custom=EXAMPLE


[telephony]
; Default settings for telephony drivers

; timeout: int: Default channel timeout in milliseconds
;timeout=0

; maxroute: int: Maximum number of calls routed at once by each driver
;maxroute=0

; maxchans: int: Maximum number of channels running at once in each driver
;maxchans=0

; dtmfdups: bool: Allow duplicate DTMFs (detected with different methods)
;dtmfdups=disable

版权声明:本文博客原创文章,博客,未经同意,不得转载。

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/117544.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022年1月4,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档