返回列表 發帖
回復 1# 角色

Please refer to my tutorial thread here

http://www.telecom-cafe.com/forum/viewthread.php?tid=3682

TOP

回復 5# 角色


    Yes. But remember, you do need a x-window terminal to install the skype at the beginning, i.e. the first installation. It asks you to allow access and to save your user login and password. Once you did this, all text modes are ok.

TOP

I did my installation using vnc. My server has no monitor attached. I rely on vnc to assist my installation for skype and obiapps. All other are done via ssh in text mode.

TOP

本帖最後由 ckleea 於 2011-10-8 14:17 編輯

回復 10# 角色


    you do not need to install the client on the server.

"rpm -qa | grep vnc" will show you all the relevant information

TOP

you can type setup in the command line to configure X windows size

If you enable vnc, each enable vnc user will have one .vnc directory within the user home directory e.g. in my case, I have a hidden directory in /home/ckleea/.vnc

for the geometry of vnc size, configure the file at /etc/sysconfig/vncservers
  1. # The VNCSERVERS variable is a list of display:user pairs.
  2. #
  3. # Uncomment the lines below to start a VNC server on display :2
  4. # as my 'myusername' (adjust this to your own).  You will also
  5. # need to set a VNC password; run 'man vncpasswd' to see how
  6. # to do that.  
  7. #
  8. # DO NOT RUN THIS SERVICE if your local area network is
  9. # untrusted!  For a secure way of using VNC, see
  10. # <URL:http://www.uk.research.att.com/archive/vnc/sshvnc.html>.

  11. # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.

  12. # Use "-nohttpd" to prevent web-based VNC clients connecting.

  13. # Use "-localhost" to prevent remote VNC clients connecting except when
  14. # doing so through a secure tunnel.  See the "-via" option in the
  15. # `man vncviewer' manual page.

  16. # VNCSERVERS="2:myusername"
  17. # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
  18. VNCSERVERS="1:cklee 2:ckleea
  19. VNCSERVERARGS[1]="-geometry 1280x1024"
  20. VNCSERVERARGS[2]="-geometry 1152x864"
複製代碼

TOP

You need VNC, or NX for remote connection

TOP

Two resposities are usually

Rpmforge and Epel

TOP

It should be more than enough

TOP

You are close to it.

TOP

You cannot make use of windows versions of skype to install multiple instances in the future. Wine is limited in functionality.

TOP

Your way is towards installation of multiple instances of skype for > 1 channels to asterisk.

This is different from the OBiApps product that has only windows version only.

TOP

I install as root user, same as asterisk

TOP

回復 34# bubblestar

As spoken, as long as use linux static build skype, it should work. No worry on the audio in and out at the skype machine because you use it remotely. Concentrate to see if audio stream working when using asterisk to dial in and out

In my set up, I use siptosis to connect 9 skype users accounts and install wine + obiapps on the same machine. No conflict seen

For dial plan,
  1. [CallingRule_Skype]; This serve 3 skype trunks _01 _02 _03 _05 _06 _07 _08 & _09 for outgoing to other skype accounts
  2. exten => _83[1235679].,1,NoOp
  3. exten => _83[1235679].,n,Dial(SIP/stsTrunk_0${EXTEN:2:1}/${EXTEN:3})
  4. exten => _83[1235679].,n,Macro(stsdialresult)
  5. exten => _83[1235679].,n,Playback(pls-try-call-later)
  6. exten => _83[1235679].,n,Hangup()
複製代碼
  1. [macro-stsdialresult]
  2. ; **** this is not complete - but a good start ****
  3. ;       603 Refused - hangup
  4. ;       404 Failed, Invalid user, no skype credit (Can't tell the difference) - hangup
  5. ;       408 UNPLACED whatever that means, try next channel
  6. ;       600 Busy - hangup
  7. ;       403 Anything else - hangup

  8. ;ISUP Cause value                        SIP response
  9. ;  ----------------                        ------------
  10. ;  1  unallocated number                   404 Not Found
  11. ;  2  no route to network                  404 Not found
  12. ;  3  no route to destination              404 Not found
  13. ;  16 normal call clearing                 --- (*)
  14. ;  17 user busy                            486 Busy here
  15. ;  18 no user responding                   408 Request Timeout
  16. ;  19 no answer from the user              480 Temporarily unavailable
  17. ;  20 subscriber absent                    480 Temporarily unavailable
  18. ;  21 call rejected                        403 Forbidden (+)
  19. ;  22 number changed (w/o diagnostic)      410 Gone
  20. ;  22 number changed (w/ diagnostic)       301 Moved Permanently
  21. ;  23 redirection to new destination       410 Gone
  22. ;  26 non-selected user clearing           404 Not Found (=)
  23. ;  27 destination out of order             502 Bad Gateway
  24. ;  28 address incomplete                   484 Address incomplete
  25. ;  29 facility rejected                    501 Not implemented
  26. ;  31 normal unspecified                   480 Temporarily unavailable
  27. exten => s,1,NoOp(HANGUPCAUSE is ${HANGUPCAUSE} and DIALSTATUS is ${DIALSTATUS})
  28. exten => s,2(debug1),Verbose(1,debug1 "${HANGUPCAUSE}:${DIALSTATUS}")
  29. exten => s,3,Set(TIMEOUT(absolute)=120)
  30. exten => s,4,GotoIf($[${HANGUPCAUSE} = 0]?s,6)
  31. exten => s,5,Goto(cause-${HANGUPCAUSE},1)
  32. exten => s,6,GotoIf($[${DIALSTATUS} = NOANSWER]?cause-19,1)
  33. exten => s,7,GotoIf($[${DIALSTATUS} = BUSY]?cause-2,1)
  34. exten => s,8,GotoIf($[${DIALSTATUS} = CHANUNAVAIL]?cause-0,1)
  35. exten => s,9,GotoIf($[${DIALSTATUS} = ANSWER]?exit-1,1)
  36. exten => s,10,Goto(cause-0,1)

  37. exten => cause-0,1,NoOp(AST_CAUSE_NOTDEFINED)
  38. exten => cause-0,n,Verbose(1,debug "cause-0")
  39. exten => cause-0,n,Playback(error)
  40. ;exten => cause-0,n,Congestion
  41. exten => cause-0,n,Goto(exit-1,1)

  42. exten => cause-1,1,NoOp(AST_CAUSE_FAILURE)
  43. exten => cause-1,n,Verbose(1,debug "cause-1 invalid destination")
  44. exten => cause-1,n,Playback(invalid)
  45. exten => cause-1,n,Hangup

  46. exten => cause-2,1,NoOp(AST_CAUSE_BUSY)
  47. exten => cause-2,n,Verbose(1,debug "cause-2 busy")
  48. exten => cause-2,n,Busy

  49. exten => cause-3,1,NoOp(AST_CAUSE_FAILURE)
  50. exten => cause-3,n,Verbose(1,debug "cause-3")
  51. ;exten => cause-3,n,Playback(error)
  52. exten => cause-3,n,Goto(exit-1,1)

  53. exten => cause-4,1,NoOp(AST_CAUSE_CONGESTION)
  54. exten => cause-4,n,Verbose(1,debug "cause-4")
  55. exten => cause-4,n,Goto(exit-1,1)

  56. exten => cause-5,1,NoOp(AST_CAUSE_UNALLOCATED)
  57. exten => cause-5,n,Verbose(1,debug "cause-5 invalid destination")
  58. exten => cause-5,n,Playback(invalid)
  59. exten => cause-5,n,Hangup

  60. exten => cause-18,1,NoOp(AST_CAUSE_CALL_UNPLACED)
  61. exten => cause-18,n,Verbose(1,debug "cause-18 unplaced")
  62. exten => cause-18,n,Goto(exit-1,1)

  63. exten => cause-19,1,NoOp(AST_CAUSE_NO_ANSWER)
  64. exten => cause-19,n,Verbose(1,debug "cause-19 noanswer")
  65. exten => cause-19,n,Playback(noanswer)
  66. exten => cause-19,n,Hangup

  67. exten => cause-21,1,NoOp(AST_CAUSE_CALL_REJECTED)
  68. exten => cause-21,n,Verbose(1,debug "cause-21 rejected")
  69. exten => cause-21,n,Playback(rejected)
  70. exten => cause-21,n,Hangup

  71. exten => _cause-X,1,NoOp(UNKNOWN_CAUSECODE)
  72. exten => _cause-X,n,Verbose(1,debug "cause-X")
  73. exten => _cause-X,n,Playback(error)
  74. ;exten => _cause-X,n,Congestion
  75. exten => _cause-X,n,Goto(exit-1,1)

  76. exten => exit,1(exit),Noop
複製代碼

TOP

回復 36# bubblestar


   I can tell you that it is not difficult to make it running.

TOP

I have the line in /etc/rc.d/rc.local

/opt/siptosis/stsTrunk_Control boot

TOP

返回列表