Asterisk配置中的写入顺序会影响VoIP的性能吗?
伙计们!我的extensions.conf中有这样的配置,
[globals]
[general]
autofallthrough=yes
[lain-lain]
[telpun]
exten => 1000,1,Dial(SIP/tes)
exten => 1001,1,Dial(SIP/tesku)
exten => 1002,1,Dial(SIP/1002)
exten => 1003,1,Dial(SIP/1003)
exten => 1004,1,Dial(SIP/1004)
exten => 1005,1,Dial(SIP/1005)
exten => 55,1,Playback(demo-echotest) ; Let them know what’s going on
exten => 55,2,Echo ; Do the echo test
exten => 55,3,Playback(demo-echodone) ; Let them know it’s over
如果我改变顺序,就会变成这样:
[globals]
[general]
autofallthrough=yes
[lain-lain]
[telpun]
exten => 55,1,Playback(demo-echotest) ; Let them know what’s going on
exten => 55,2,Echo ; Do the echo test
exten => 55,3,Playback(demo-echodone) ; Let them know it’s over
exten => 1000,1,Dial(SIP/tes)
exten => 1001,1,Dial(SIP/tesku)
exten => 1002,1,Dial(SIP/1002)
exten => 1003,1,Dial(SIP/1003)
exten => 1004,1,Dial(SIP/1004)
exten => 1005,1,Dial(SIP/1005)
我想知道,根据voip的性能有什么区别?
guys! I have configuration like this in my extensions.conf
[globals]
[general]
autofallthrough=yes
[lain-lain]
[telpun]
exten => 1000,1,Dial(SIP/tes)
exten => 1001,1,Dial(SIP/tesku)
exten => 1002,1,Dial(SIP/1002)
exten => 1003,1,Dial(SIP/1003)
exten => 1004,1,Dial(SIP/1004)
exten => 1005,1,Dial(SIP/1005)
exten => 55,1,Playback(demo-echotest) ; Let them know what’s going on
exten => 55,2,Echo ; Do the echo test
exten => 55,3,Playback(demo-echodone) ; Let them know it’s over
if I change the order become like this :
[globals]
[general]
autofallthrough=yes
[lain-lain]
[telpun]
exten => 55,1,Playback(demo-echotest) ; Let them know what’s going on
exten => 55,2,Echo ; Do the echo test
exten => 55,3,Playback(demo-echodone) ; Let them know it’s over
exten => 1000,1,Dial(SIP/tes)
exten => 1001,1,Dial(SIP/tesku)
exten => 1002,1,Dial(SIP/1002)
exten => 1003,1,Dial(SIP/1003)
exten => 1004,1,Dial(SIP/1004)
exten => 1005,1,Dial(SIP/1005)
I wonder, what is the differences according the performance of voip?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这些文件在启动时或重新加载扩展时被解析并加载到内存中。它们在 extensions.conf 文件中出现的顺序根本不应该产生影响。
These files are parsed and loaded into memory at startup or when you reload the extensions. The order they appear in the extensions.conf file shouldn't make a difference at all.