Forum Replies Created

Viewing 15 posts - 91 through 105 (of 259 total)
  • Author
    Posts
  • Avatar photoTelium Support Group
    Participant
    Post count: 265
    in reply to: Export to Russia #6778

    Telium’s products are not impacted by any export limitations, so yes we can export the product to Russia. The software itself does not care where it operates – so it will operate perfectly in any geographic region.

    На продукцию Telium не влияют ограничения на экспорт, поэтому да, мы можем экспортировать продукт в Россию. Самому программному обеспечению не важно, где он работает, поэтому он будет работать отлично в любом географическом регионе.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    Don’t worry about your software. It will run for 60 days on the temporary license and if needed we can send you another temporary license by email.

    Since the USB keys were never used we can issue a replacement set of USB keys. There is a $150 charge to cover the keys, shipping and handling, and we will email you an invoice for the replacement keys shortly.

    Note that if the USB keys were used and then lost, you would have to purchase an entirely new software license since this situation enables a separate instance of our software to run. Normally you would claim this amount on your office insurance for a lost asset.

    [discussion moved to email]

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    USB keys are sent with insurance, tracking, and signature required upon receipt. If they are lost by the courier (eg: UPS, Fedex) then we claim the insurance value ($150) and issue new keys to you at no cost.

    However, in your case the item shows as delivered and signed for. We emailed you a copy of the name and signature of the individual who accepted the package (not posted for privacy reasons). Please check with this individual in case they have placed the package somewhere in your office or delivered to the wrong person.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    First you must enable insecure updates on your Windows DNS server as follows:

    1. Click Start, point to Administrative Tools, and then click DNS.
    2. Under DNS, double-click the applicable DNS server, double-click Forward Lookup Zones
    3. Right-click the applicable zone.
    4. Click Properties.
    5. In the Dynamic updates box, click to allow insecure updates
    6. Repeat the above for the associated reverse lookup zone
    7. Click OK.

    Next, you need to add some code to your Asterisk pre-start event handler to update the DNS entries:


    #!/bin/bash
    # Update DNS server with this IP 192.x.x.x address
    HOST=pbx.mydomain.local
    IP=$(ip addr | grep 192 | awk ‘{print $2}’ | cut -f 1 -d/)
    TTL=600
    SERVER1=192.168.0.2
    SERVER2=192.168.1.2
    #—————————————————————————-
    NSU=/tmp/nsupdate.data
    echo “server ${SERVER1}” > ${NSU}
    echo “update delete $HOST A” >> ${NSU}
    echo “update add $HOST ${TTL} A ${IP}” >> ${NSU}
    echo “update delete $HOST PTR” >> ${NSU}
    echo “update add $HOST ${TTL} PTR ${IP}” >> ${NSU}
    echo “send” >> ${NSU}
    logger “asterisk.start.pre updating DNS for host ${HOST} to IP ${IP} on server ${SERVER1}”
    nsupdate -v ${NSU}
    echo “server ${SERVER2}” > ${NSU}
    echo “update delete $HOST A” >> ${NSU}
    echo “update add $HOST ${TTL} A ${IP}” >> ${NSU}
    echo “update delete $HOST PTR” >> ${NSU}
    echo “update add $HOST ${TTL} PTR ${IP}” >> ${NSU}
    echo “send” >> ${NSU}
    logger “asterisk.start.pre updating DNS for host ${HOST} to IP ${IP} on server ${SERVER2}”
    nsupdate -v ${NSU}
    rm -f ${NSU}

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    Some versions of FreePBX may contain tables with invalid/problematic schemas (possibly not even valid SQL but MySQL allows it).

    HAAst is complaining that it can’t sync a table without a unique index. (Although this is likely an unimportant table as Sangoma may be cleaning up their tables slowly). The best solution is to wait for an update to FreePBX which fixes the table.

    If you need an immediate fix please contact Telium technical support for further assistance and workarounds. When Telium performs the installation for the customer, we might modify the MySQL table, modify PHP code, or modify MySQL tools for synchronization. Customers who perform their own installation need to thoroughly test synchronization for moving to production.

    Before you perform any changes to resolve this problem ensure you have a bare metal backup, and perform testing on a staging system.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    Run result 3 means that it is taking too long to start Asterisk/FreePBX and something is wrong, so HAAst gives up.

    In your case there are two compounding factors. First the old hardware is probably slowing started, but to an acceptable level. Second, FreePBX’s startup script can be very slow as it resets permissions on lots files, etc. If you start the FreePBX service manually you will even see a warning message about slow startup (and a link to their wiki on how to speed it up).

    Your choices are to speedup the FreePBX start (as outlined by Sangoma on their website), or, increase the amount of time HAAst will wait. To properly solve the problem try to start the FreePBX service directly (with the HAast service disabled). Check for errors onscreen or in the log, and confirm how long it takes for FreePBX to start.

    If you really can’t solve the reason for slow FreePBX start, then edit the maxstarttime (in haast.conf) to allow for a slower start. Note that if the error occurs on failover only (HAast already running) the promotesnoozetime is also available – but check with Telium support before you play with these values.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    HAAst fully supports what you are trying to do, and there are many ways to accomplish this. We have many customers that have split their cluster(s) between on-premise and in-cloud.

    On the AWS side it’s easy. AWS is certified compatible with Telium’s products, so nothing has to be done to allow the instance to move between hosts, regions, etc. You can use ‘hardware fingerprint’ activation and that will tie into your AWS instance identification.

    On the data center side you have several options (see http://www.telium.io/activation). The easiest option is to use the cloud license option and you’re set. We understand that some users don’t want to use the cloud for activation or any external service, so then you could use the USB dongle with USB over ethernet software (see https://telium.io/topic/usb-license-on-hyper-v-guest/ for examples) and the dongle is always accessible to all of your VM hosts. You could also use our VLS product but that’s overkill for just 3 PBX’s.

    • This reply was modified 4 years, 10 months ago by WebMaster.
    Avatar photoTelium Support Group
    Participant
    Post count: 265

    You should place the new file in your /usr/local/haast folder, and remove the old file called haast.license or rename is to haast.lisence.old

    Upon next HAAst service restart the new license file will be used. The new license allows you to install new upgrades to HAAst, and benefit from new features as they are released. The new license file will also reflect the updated expiry date for your maintenance agreement (in terms of support and upgrades).

    In case you have multiple HAAst license files (following one or more maintenance agreement renewals) then this is how HAAst picks which license file to use: When HAAst starts it will first look for a file called haast.license and use that as the license. If that file does not exist then HAAst will look for a file called haast.XXXXX.license where XXXXX is your license number. If there are multiple files that match this format then HAAst will choose the one with the highest license number (most recent). If you have multiple HAAst license files and you want HAAst to use a particular one then you can create a symlink from haast.license to the file you wish.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    Yes HAAst supports Asterisk as far back as version 1.4 (see knowledge base article https://telium.io/faq1031 )

    Due to the age of Asterisk 1.4 (released December 2006) we no longer actively test new HAAst builds against it. However, if you have any compatibility problems our engineering team will test & fix it to guarantee compatibility.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    I think you are mixing up some network terms/concepts, but I’ll offer a solution to your problem and some networking concepts along the way.

    First, the reason we recommend placing the gateway on the management subnet is that when a node promotes/demotes the route to the other peer must not change. If the route does change then the PeerLink will drop and both of your nodes may attempt to promote.

    You can safely place the gateway on the VoIP subnet if:

    • the addresses of your management NICs of your two nodes are on the same subnet since they will never make use of the gateway; or
    • you create a permanent route which tells each node how to find the other across the management network.

    So long as you setup your nodes such that management traffic will always go in/out the management NIC then you can configure your gateway/default route however you like.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    The answer can be found in your question above. Notice that the Asterisk server / AMI is listening on 127.0.0.1 ? That is a special address known as “localhost”

    You have configured HAAst to try to find the Asterisk server at 192.168.1.44. Even though that is the address of your PBX (actually the IPv4 address on one interface of your PBX), it is not the same as localhost. Localhost is a different interface, and is special in that it cannot be accessed from the network side (only from the LOCAL HOST side).

    So the AMI is listening on one interface, and HAAst is trying to connect to it on another, and that’s the problem. I recommend you modify your haast.conf file to connect to asterisk at “localhost” (the default), or its IPv4 equivalent 127.0.0.1

    You don’t mention if you are using pure Asterisk or a configuration generator, but you could alternatively modify manager.conf to tell Asterisk to listen on a different IP/interface. This is not normally recommended – but since you modified the haast.conf away from defaults I assume you might have had a reason to do so.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    HAAst performs all NIC control using the Linux system API; it does not use network configuration scripts (such as ifcfg-ethX, ifup, ifdown, etc). These scripts you are referring to are Linux distribution specific, and are ignored by HAAst. All configuration of a shared VoIP NIC is accomplished in the [voipnic] stanza of the haast.conf file.

    In order to perform other actions on the PBX at the time of promotion/demotion (i.e. becoming the active or becoming the standby node), you need to use the HAAst event handler system. For example, if you wanted to change the default route of the PBX when it is promoted, you could create a file called /usr/local/haast/events/asterisk.start.pre which contains:


    #!/bin/bash
    # Delete old default route
    ip route del default via 172.31.254.1 2>&1
    # Add new default route
    ip route add default via 172.31.253.1 2>&1

    And if you wanted to switch the default route back when the PBX is demoted, you could create a file called /usr/local/haast/events/asterisk.stop.post which reverses these statements. You can place any code you like in the event handler, but it should complete quickly (ideally < 5 seconds), so if you need to start long-running executables from the event handler be sure to fork them in the event handler code. For example, if you wanted to deleted all temporary files (which can run for several minutes) when the node becomes standby, your event handler file would contain (notice the ampersand which forks the command):

    #!/bin/bash
    rm -rf /tmp &

    If you want to open/close ports in a firewall, control virtual machine functions, etc. then the event handler system is the right way to accomplish this. Just be sure to fork each command, or fork a single bash script which serializes those commands if any of these commands can run for an extended period of time.

    Please note that event handlers are only available in the Commercial Unlimited edition of HAAst. See the EDITIONS tab of the HAAst web page to see what functionality is available in each HAAst edition.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    The problem may be that your new VM has insufficient memory. I suspect you only allocated

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    The “FEATURES” page for HAAst on the Telium website is far from complete. I would compare our “FEATURES” page to the window sticker of a new car at a dealership. It shows the highlights of a car but is not an exhaustive list of all features.

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    We can definitely help.

    Although we don’t list Asterisk beta’s as officially certified, our engineering group is regularly testing and certifying newer Asterisk versions. (Probably not Beta’s however)

    If you can provide SSH access to your system our engineering group will ensure HAAst is working with your specific code. Since you are already running commercial editions of HAAst, we will ensure HAAst works with your Beta at no charge.

Viewing 15 posts - 91 through 105 (of 259 total)