2011-06-25 88 views
0

夥計!我有這樣的配置在我的extensions.confAsterisk配置中的寫入順序是否會影響VoIP的性能?

[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的性能差異?

回答

1

這些文件在啓動時或重新加載擴展時會被解析並加載到內存中。它們出現在extensions.conf文件中的順序根本不應該有所作爲。

+0

哦,我明白了,謝謝兄弟 – zia

相關問題