首页 > 代码库 > yate.conf
yate.conf
仅仅是配置文件,粘贴如下,不做解释!去掉了很多功能!仅保留sip电话!
[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
yate.conf
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。