Asterisk配置中的写入顺序会影响VoIP的性能吗?

发布于 2024-11-17 12:38:24 字数 1033 浏览 3 评论 0原文

伙计们!我的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

翻了热茶 2024-11-24 12:38:24

这些文件在启动时或重新加载扩展时被解析并加载到内存中。它们在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文