返回列表 發帖
I try to increase to 8 now. But not yet able to work.

TOP

回復 31# ckleea


   
How long does it take to initiate a real call when you reach the first available trunk, say on the fourth or fifth trunk?

I ask as I did a similar test and placed the unavailable trunk in the first 3 position on purpose.  When the system check the fourth trunk and sucessfully initiated the call, it took about 20 - 30 seconds.

In this connection, I infer that the more we add, the longer time we need and wait to make the call.

TOP

Just complete. 9 trunks all working

stsTrunk_01/stsTrunk_01    192.168.1xx.xx                                      5072     OK (3 ms)
stsTrunk_02/stsTrunk_02    192.168.1xx.xx                                      5073     OK (3 ms)
stsTrunk_03/stsTrunk_03    192.168.1xx.xx                                      5074     OK (4 ms)
stsTrunk_04/stsTrunk_04    192.168.1xx.xx                                      5075     OK (4 ms)
stsTrunk_05/stsTrunk_05    192.168.1xx.xx                                      5076     OK (3 ms)
stsTrunk_06/stsTrunk_06    192.168.1xx.xx                                      5077     OK (3 ms)
stsTrunk_07/stsTrunk_07    192.168.1xx.xx                                      5078     OK (3 ms)
stsTrunk_08/stsTrunk_08    192.168.1xx.xx                                      5079     OK (3 ms)
stsTrunk_09/stsTrunk_09    192.168.1xx.xx                                      5080     OK (1 ms)

TOP

回復 32# bubblestar


    Of course, it will takes some time. As noted, it is for failover, some time lapse is expected.

TOP

Are those stsTrunks use the same IP (different ports I know) on the same server?  My test was made on difference different IPs on difference VoIP devices.  So, I think it took some time in my case.

Anyway, thanks for your experiment report.  Yours are quite acceptable and satisfactory.

TOP

You can set up your skype trunk by siptosis in a linux machine. Then, use IP01 within LAN to connect as sip trunk

TOP

One interesting thing I observe, even you have all skype accounts set up and run. In windows skype, some may actually not appeared online. Don't know why.

Anyway when dial in, it works.

TOP

How is the performance with multiple active calls?
Linux CPU usage under varying conditions.

Virtualbox (not an ideal setup) in 32 bit mode using a Vista 64 Host Dual Core AMD Athlon X2 4850e.
Skype sound device setup is a 2 card snd-dummy configuration. SIP codec for all channels is PCMU.
6 calls were from the same Vista host using softphones. The other 4 were made from another PC using softphones.
The Ubuntu distro is a 32 bit 9.0.4 (desktop) with 1.5GB total ram allocation. Approx 800MB was used for the entire setup.
10 Idle channels - There really are 10 they just are not "top" processes.
10 Active channels to echo test - Despite the apparent high load, there was no issue.
6 Active channels to echo test

Dedicated Ubuntu 64 bit 10.04 (desktop) on Dual Core AMD Athlon X2 4850e and 4GB ram.
Skype 2.1.0.81 using a single card snd-dummy configuration. SIP codec for all channels is PCMU.
10 calls were from another PC using softphones.
Top on 10.04 shows weird cpu % sometimes for idle processes.
10 Idle channels - There really are 10 they just are not "top" processes.
10 Active channels to echo test
6 Active channels to echo test
10 Active channels to echo test - This is using sndShare for sound device

Windows Vista CPU usage under varying conditions.
These shots are on a Vista 64 Host Dual Core AMD Athlon X2 4850e.
Skype sound device setup using on-board sound device. SIP codec for all channels is PCMU.
6 calls were from the same Vista host using softphones. The other 4 were made from another PC using softphones.
10 Idle channels
10 Active channels to echo test - This system maxed out at 8. It struggled to get 10 going.
6 Active channels to echo test

TOP

本帖最後由 bubblestar 於 2011-4-19 21:31 編輯

因為最近加入了OBi110 及 OBiAPP 兩種撥打模式,經過一番組合後,現在都可以利用Super Dial 的方法撥打PSTN電話了,好處是不用再死記不同的Dialing Prefix,實在記死人了

但我發現OBi110 及 OBiAPP 的撥打反應最慢,而且打完之後,可能要等幾十秒後,才可以打第二次,可能要在個別OBi110 的機子內調較一下才有改善,而且我比較特別,因為OBi110接了入Siemens DECT Phone,經過了幾重關卡,這也許是反應慢了的原因吧!
  1. exten => _9X.,1,Noop(Dialing out through PSTN)
  2. exten => _9X.,n,Macro(superdial,DAHDI/g0/${EXTEN:1})
  3. exten => _9X.,n,Macro(superdial,SIP/${EXTEN:1}@SPA3K-HTTPD)
  4. exten => _9X.,n,Macro(superdial,SIP/**8${EXTEN:1}@obi110)
  5. exten => _9X.,n,Macro(superdial,SIP/2*${EXTEN:1}@obiapp)
  6. exten => _9X.,n,Macro(superdial,SIP/5${EXTEN:1}@ip01)
複製代碼

  • DAHDI 因為TDM Card 設於Asterisk Server本機之中,速度及反應最快,最理想,跟直撥PSTN沒兩樣,贏晒;

  • SPA3102 緊除其後,打完一次,再打第二次都不需要等;

  • OBi110 及 OBiAPP,每打完一兩次,有時會要等幾十秒,好像要等它回復Ready狀態似的才能再打;

  • IP01 因為要利用另一條TRUNK接出,所以反應略慢,但都可以接受。



但好奇怪,IP01條Rule一定要放在最後,否則,把它放在中間時,有時不通的時候,它不會Pass 給下一條Rule撥打,所以要留意先後次序,自行測試至最佳的設定。

TOP

回復 39# bubblestar


    well done.

TOP

如果有其他CHing借出的trunk,功能上可以更加多完化。

TOP

本帖最後由 bubblestar 於 2011-4-21 22:56 編輯
因為最近加入了OBi110 及 OBiAPP 兩種撥打模式,經過一番組合後,現在都可以利用Super Dial 的方法撥打PSTN ...
bubblestar 發表於 2011-4-19 21:26



   

上面的一段Dial Plan雖然可以正確地利用不同Trunk撥出電話,但我在CLI 入面看,發覺它有很多Warning prompt,令我感覺好樣衰和肉酸,所以現在修正如下,主要是用一些逗號填補了一些沒有使用的ARG 空位,讓Marco 讀取後,不會發出Warning Prompt。現在感覺良好了,一個Warning error 也沒有,乾淨靚仔晒 。

我在呢方面有D潔僻
  1. exten => _9X.,1,Noop(Dialing out through PSTN)
  2. exten => _9X.,n,Macro(superdial,DAHDI/g0/${EXTEN:1},,m,,,1,,,,)
  3. exten => _9X.,n,Macro(superdial,SIP/${EXTEN:1}@SPA3K-HTTPD,,m,,,1,,,,)
  4. exten => _9X.,n,Macro(superdial,SIP/**8${EXTEN:1}@obi110,,m,,,1,,,,)
  5. exten => _9X.,n,Macro(superdial,SIP/2*${EXTEN:1}@obiapp,,m,,,1,,,,)
  6. exten => _9X.,n,Macro(superdial,SIP/5${EXTEN:1}@ip01,,m,,,1,,,,)
複製代碼

TOP

回復 42# bubblestar


    You are really fast. I notice it for long time but no time to deal with.
Thanks

TOP

另外,有關另一條 macro-trunkdial-failover-0.3 一樣出現Warning Prompt,現亦修正改為 macro-trunkdial-failover-0.3a 如下:
  1. [macro-trunkdial-failover-0.3a]
  2. exten = s,1, Set(GROUP()=OUTBOUND_GROUP)
  3. exten = s,2, Noop(${GROUP_COUNT(OUTBOUND_GROUP)})
  4. exten = s,3, GotoIf($[${GROUP_COUNT(OUTBOUND_GROUP)} > 1]?1-CHANUNAVAIL,1)
  5. exten = s,4,Set(CALLERID(num)=${IF($[${LEN(${CID_${CALLERID(num)}})} > 2]?${CID_${CALLERID(num)}}:)})
  6. exten = s,n,GotoIf($[${LEN(${CALLERID(num)})} > 6]?1-dial,1)
  7. exten = s,n,Set(CALLERID(all)=${IF($[${LEN(${CID_${ARG3}})} > 6]?${CID_${ARG3}}:${GLOBAL_OUTBOUNDCID})})
  8. exten = s,n,Goto(1-dial,1)
  9. exten = 1-dial,1,Dial(${ARG1})
  10. exten = 1-dial,n,Gotoif(${LEN(${ARG2})} > 0 ?1-${DIALSTATUS},1:1-out,1)
  11. exten = 1-CHANUNAVAIL,1,Dial(${ARG2})
  12. exten = 1-CHANUNAVAIL,n,Hangup()
  13. exten = 1-CONGESTION,1,Dial(${ARG2})
  14. exten = 1-CONGESTION,n,Hangup()
  15. exten = 1-NOANSWER,1,Dial(${ARG2})
  16. exten = 1-NOANSWER,n,Hangup()
  17. exten = 1-out,1,Hangup()
複製代碼
把它運用於Speed Dial 之中,使用如下:

[context]
exten => 330,1,Macro(trunkdial-failover-0.3a,DAHDI/g0/1878200,SIP/**81878200@obitalk,,)


現在可以跟那些Warning Prompt 說拜拜了。

TOP

回復 33# ckleea

唔知點解第9 條唔 work?

TOP

返回列表