Jump to content

conn

Members
  • Posts

    32
  • Joined

  • Last visited

Posts posted by conn

  1. Based on this discussion: 

     

     

    I am interested in knowing how, for example, the 7 servers per single setup mentioned in the discussion above, many people such a cluster can handle if all that we are looking for is conferencing for many people. If we were using a VPS from AWS, linode, Google, or Digitalocean, what specs for the machines should we look at to get support for say, 10,000 people per conference?

  2. 37 minutes ago, mc_ said:

    You just need to get the cert in the right location. Honestly HAProxy fronting it is probably a better solution anyway, since you can load balance among servers running Crossbar, stay up-to-date on the encryption/cipher suites better, etc.

    Interesting. So, do you guys have any tutorials for the HAProxy option? Or is this just something I have to "go google"?

  3. On 9/4/2018 at 9:54 AM, mc_ said:

    Single-server installs are proofs of concept, for testing/instructive purposes, do not use in production, here be dragons!

    There are two common "minimal" installations:

    - 2 zones, 4 servers per zone - in each zone, 2 bigcouch servers, 1 kazoo/kamailio/rabbit, 1 FreeSWITCH

    - 1 zone, 7 servers - 3 bigcouch servers, 2 kazoo/kamailio/rabbit, 2 FreeSWITCH

    But the big one is to have 3+ servers for bigcouch from the start.

     

    Is there a tutorial for the (2 zones, 4 servers per zone - in each zone, 2  bigcouch servers, 1 kazoo/kamailio/rabbit, 1 FreeSWITCH) server?

  4. On 9/4/2018 at 9:50 AM, mc_ said:

    There's a page from a while ago: https://docs.2600hz.com/dev/applications/crossbar/doc/securing_crossbar/

    It shows setting up a self-signed certificate but you can just skip to where the guide configures Crossbar. Should work as expected once you restart Crossbar.

    Another option is to use HAProxy or similar in front of Crossbar to handle SSL termination.

    Does that mean I cannot use something like Godaddy's Godaddy EV SSL Certificates?

  5. To really clear things up for myself, I would like to know if this software is really suitable for my use case. Much of what I have seen it be used as is as internal phone systems. Office phones, and whatever. I guess my use case is essentially a "Discord Voice Channel". I guess this software could be used for that, but am I overcomplicating things by using this for voice channels that would be used via apps for Android devices?

  6. I have finished the setup here: https://docs.2600hz.com/sysadmin/doc/install/install_via_centos7/

    I have looked around, but I confused where to start with my goal I first mentioned I wanted to do.

    First off, how do "calls" even work here? How can I have two numbers call each other? What do I need to learn to understand that bit.

    I understand what callflows are.

    Where would I start to make an all voice conference service, where, like IRC, you have multiple rooms and you have an endpoint like a website where users say, click on the room they want to enter and enter a conference that is open all the time to any number of people at the same time?

     

  7. After running  `yum -y install monster-ui* httpd` I get:

     

    Install  11 Packages (+5 Dependent packages)
    
    Total download size: 35 M
    Installed size: 52 M
    Downloading packages:
    
    
    Error downloading packages:
      monster-ui-application-accounts-4.2-4.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      centos-logos-70.0.6-3.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      monster-ui-core-4.2-48.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      monster-ui-application-numbers-4.2-0.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      monster-ui-application-voicemails-4.2-2.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      monster-ui-application-fax-4.2-2.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      monster-ui-application-callflows-4.2-19.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      mailcap-2.1.41-2.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      monster-ui-application-webhooks-4.2-3.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      monster-ui-application-pbxs-4.2-3.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      httpd-2.4.6-80.el7.centos.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
      apr-1.4.8-3.el7_4.1.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
      monster-ui-4.2-57.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory
      apr-util-1.5.2-6.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
      httpd-tools-2.4.6-80.el7.centos.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
      monster-ui-application-voip-4.2-19.el7.centos.noarch: [Errno 5] [Errno 12] Cannot allocate memory

    How do I resolve this?

  8. Is this comment up to date:

     

    # Add 2600Hz RPM server
    # You can find the latest Release RPM here: https://packages.2600hz.com/centos/7/stable/2600hz-release/
    # Currently, 4.2 is considered 'stable' so:
    # https://packages.2600hz.com/centos/7/stable/2600hz-release/4.2/2600hz-release-4.2-0.el7.centos.noarch.rpm

     

  9. 7 hours ago, mc_ said:

    It seems there is a bash script sitting in front of the actual sup escript that is failing to pass along the command line args properly. I'm looking into it.

    Bypass-able thusly:

    
    /opt/kazoo/bin/kazoo escript lib/sup-4.2.28/priv/sup.escript -?
    Usage: sup [-?] [-n [<node>]] [-c [<cookie>]] [-t [<timeout>]] [-v]
               [<module>] [<function>] [args ...]
    
      -?, --help     Show the program options
      -n, --node     Node name [default: kazoo_apps]
      -c, --cookie   Erlang cookie [default: change_me]
      -t, --timeout  Command timeout [default: 0]
      -v, --verbose  Be verbose
      <module>       The name of the remote module
      <function>     The name of the remote module's function
    

    But I'm working on a fix for the bash script sitting in front of this invocation

    Oh, okay. 

  10. On 5/11/2018 at 11:40 AM, mc_ said:

    Try the long arg version 'sup --help' (although, sup -h worked for me so not sure).

     'sup --help' gives me:=

    /usr/sbin/sup: illegal option -- -
    /usr/sbin/sup: illegal option -- h
    /usr/sbin/sup: illegal option -- e
    /usr/sbin/sup: illegal option -- l
    /usr/sbin/sup: illegal option -- p
    Invalid command or wrong number of arguments, please try again

     

  11. I am on the following in setting up kazoo applications:

     

    # Use SUP to communicate with the running VM
    sup -h

    I run the command, but I get the following error:

    /usr/sbin/sup: illegal option -- h
    Invalid command or wrong number of arguments, please try again

    What am I supposed to do here? how do I find this "running VM use SUP to communicate with?

  12. 18 hours ago, mc_ said:

    The server config shows you how to prefer querying database nodes in the same kazoo zone and using the other zone as a failover (hopefully minimizing WAN latency). Since couch is multi-master, even if the data isn't on a given node, the handling node knows how to retrieve it from its peers.

    Each db server will have its own hostname; any on the same LAN (typically) should be in the primary list and any that live across a WAN would include the 'backup' signifier.

    I think I might be starting to understand. So, I am using a digitalocean droplet -Centos 7- for this project. To set up these zones to Bigcouch, would it be sufficient to just keep making subdomains for the two zones via the digitalocean admin?

  13. 6 hours ago, tomas_ said:

    You should edit the DB servers in that file, after "balance roundrobin". Change to your CouchDB server info.

    What does this all mean:

        server db1.zone1.mydomain.com 127.0.0.1:5984 check
        server db2.zone1.mydomain.com 127.0.0.2:5984 check
        server db3.zone2.mydomain.com 127.0.0.3:5984 check backup
        server db4.zone2.mydomain.com 127.0.0.4:5984 check backup

    Should I simply give the subdomain from the output of:

     

    kazoo-bigcouch status

    which is 

    bigcouch@subdomain.example.net

    so just replace the first two with 

    subdomain.example.net

    ?

  14. I am now on the HAProxy part. It does not really give much guidance on what to put into the file it wants me to edit. All it says is:

    # Edit /etc/kazoo/haproxy/haproxy.cfg to setup the backend server to point to BigCouch

    Now, after some googling, I found this: https://github.com/2600hz/kazoo-configs-haproxy/blob/master/haproxy/haproxy.cfg

    It looks like an official enough source, so that part should be covered. However, should I use what is in that file from the git repo linked above? Or should I use something else?

  15. 49 minutes ago, mc_ said:

    If there are no FreeSWITCH servers yet, you are correct that the destination sets should be empty.

    When you setup FreeSWITCH and ecallmgr, there's a heartbeat that Kamailio will receive and auto-add FreeSWITCH to the proper destination set.

    Got it, thanks for the explanation. 

  16. So, I finished going through the kazoo-kamailio setup in the official docks and ran:

    kazoo-kamailio status

    and I got:

    error: 500 - No Destination Sets
    

    Is that an acceptable response to where I am at in the setup at this moment -i.e, it will change once I finish entire setup? or does it indicate that I did something wrong at this stage?

×
×
  • Create New...