返回列表 發帖
Give you a feel of the log message on failover.

You can see 2b has no answer then it goes to dial via pstn line.
  1. JABBER: asterisk INCOMING:
  2.     -- Accepting AUTHENTICATED call from 192.168.xxx.x:
  3.        > requested format = alaw,
  4.        > requested prefs = disabled,
  5.        > actual format = alaw,
  6.        > host prefs = disabled,
  7.        > priority = reqonly
  8.     -- Executing [9xxxxxxxx@DLPN_DP1:1] Macro("IAX2/6101-4113", "superdial,SIP/133xxxxxxxx@hkbn2b") in new stack
  9.     -- Executing [s@macro-superdial:1] Set("IAX2/6101-4113", "GROUP()=") in new stack
  10.     -- Executing [s@macro-superdial:2] Set("IAX2/6101-4113", "GROUPCOUNT=0") in new stack
  11. [Feb 14 07:48:32] WARNING[30286]: ast_expr2.fl:468 ast_yyerror: ast_yyerror():  syntax error: syntax error, unexpected $end, expecting '-' or '!' or '(' or '<token>'; Input:
  12. 0 >
  13.     ^
  14. [Feb 14 07:48:32] WARNING[30286]: ast_expr2.fl:472 ast_yyerror: If you have questions, please refer to doc/tex/channelvariables.tex.
  15.     -- Executing [s@macro-superdial:3] GotoIf("IAX2/6101-4113", "0?104") in new stack
  16.     -- Executing [s@macro-superdial:4] GotoIf("IAX2/6101-4113", "1?macro-superdial,s,6") in new stack
  17.     -- Goto (macro-superdial,s,6)
  18.     -- Executing [s@macro-superdial:6] GotoIf("IAX2/6101-4113", "1?macro-superdial,s,8") in new stack
  19.     -- Goto (macro-superdial,s,8)
  20.     -- Executing [s@macro-superdial:8] GotoIf("IAX2/6101-4113", "1?macro-superdial,s,10") in new stack
  21.     -- Goto (macro-superdial,s,10)
  22.     -- Executing [s@macro-superdial:10] Dial("IAX2/6101-4113", "SIP/133xxxxxxxx@hkbn2b,,,") in new stack
  23.   == Using SIP RTP TOS bits 184
  24.   == Using SIP RTP CoS mark 5
  25.     -- Called 133xxxxxxxx@hkbn2b
  26.     -- No one is available to answer at this time (1:0/0/0)
  27.     -- Executing [s@macro-superdial:11] Goto("IAX2/6101-4113", "s-NOANSWER,1") in new stack
  28.     -- Goto (macro-superdial,s-NOANSWER,1)
  29.     -- Executing [s-NOANSWER@macro-superdial:1] GotoIf("IAX2/6101-4113", "1?macro-superdial,s-NOANSWER,3") in new stack
  30.     -- Goto (macro-superdial,s-NOANSWER,3)
  31.     -- Executing [s-NOANSWER@macro-superdial:3] NoOp("IAX2/6101-4113", "") in new stack
  32.     -- Executing [9xxxxxxxx@DLPN_DP1:2] Macro("IAX2/6101-4113", "superdial,SIP/pstn-spa3k-d1/xxxxxxxx") in new stack
  33.     -- Executing [s@macro-superdial:1] Set("IAX2/6101-4113", "GROUP()=") in new stack
  34.     -- Executing [s@macro-superdial:2] Set("IAX2/6101-4113", "GROUPCOUNT=0") in new stack
  35. [Feb 14 07:48:33] WARNING[30286]: ast_expr2.fl:468 ast_yyerror: ast_yyerror():  syntax error: syntax error, unexpected $end, expecting '-' or '!' or '(' or '<token>'; Input:
  36. 0 >
  37.     ^
  38. [Feb 14 07:48:33] WARNING[30286]: ast_expr2.fl:472 ast_yyerror: If you have questions, please refer to doc/tex/channelvariables.tex.
  39.     -- Executing [s@macro-superdial:3] GotoIf("IAX2/6101-4113", "0?104") in new stack
  40.     -- Executing [s@macro-superdial:4] GotoIf("IAX2/6101-4113", "1?macro-superdial,s,6") in new stack
  41.     -- Goto (macro-superdial,s,6)
  42.     -- Executing [s@macro-superdial:6] GotoIf("IAX2/6101-4113", "1?macro-superdial,s,8") in new stack
  43.     -- Goto (macro-superdial,s,8)
  44.     -- Executing [s@macro-superdial:8] GotoIf("IAX2/6101-4113", "1?macro-superdial,s,10") in new stack
  45.     -- Goto (macro-superdial,s,10)
  46.     -- Executing [s@macro-superdial:10] Dial("IAX2/6101-4113", "SIP/pstn-spa3k-d1/xxxxxxxx,,,") in new stack
  47.   == Using SIP RTP TOS bits 184
  48.   == Using SIP RTP CoS mark 5
  49.     -- Called pstn-spa3k-d1/xxxxxxxxx\
  50.     -- SIP/pstn-spa3k-d1-00000007 is ringing
  51.     -- SIP/pstn-spa3k-d1-00000007 answered IAX2/6101-4113
  52.   == Spawn extension (macro-superdial, s, 10) exited non-zero on 'IAX2/6101-4113' in macro 'superdial'
  53.   == Spawn extension (DLPN_DP1, 9xxxxxxxx, 2) exited non-zero on 'IAX2/6101-4113'
  54.     -- Hungup 'IAX2/6101-4113'
複製代碼

TOP

The other possibilities for our world is skype trunks. I have 4 at the moment and can add more if my ATOM D525 can be made working. I have migrated the D330 server images into D525 but not working well. Somethings outside asterisk not working as expected. Not enough time to deal with.

Besides, another thing is that we need a better internet line. To may understanding and experience, I feel HGC is still better for my use. I do encounter problem with my 2b account while I am in HKBN network.

TOP

No, only one PCCW line and a 2b line. Skype trunk is from the siptosis software.

TOP

本帖最後由 ckleea 於 2011-2-14 22:38 編輯

Now I have 5 skype trunks added to my asterisk server.

All are working.

TOP

回復 28# Qnewbie

It will be much better for me to get my D525 running to host more skype trunks.

How is your skype - voip setup? Can you tell us how you make it work? Do you have a linux server or use windows for skype connection?

TOP

I try to increase to 8 now. But not yet able to work.

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

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

回復 39# bubblestar


    well done.

TOP

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

TOP

回復 42# bubblestar


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

TOP

回復 33# ckleea

唔知點解第9 條唔 work?

TOP

返回列表