Need help Installing Asterisk GUI

Home Page Forums Network Management ZeroShell Need help Installing Asterisk GUI

This topic contains 11 replies, has 0 voices, and was last updated by  securenet 7 years, 3 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #41849

    securenet
    Member

    Please Help – I do not know Linux to go any further

    I followed the instructions from the documentation writer “Abbra Kadabr” and it is not working.

    The document name is “Asterisk GUI Installation on zeroshell by abbra kadabra“.

    The instruction worked up until “cd /Database/opt/x.x/packages/var/lib/asterisk/static-http/scripts“, the scripts directory is missing.

    I created the scripts directory and re-ran:

    wget http://comm7777.t35.com/GUI-2.0.tar.bz2
    tar xvfj GUI-2.0.tar.bz2

    I am still not able to continue any further because the scripts directory is empty.

    Asterisk_GUI Install.txt
    ===========================
    Asterisk GUI Installation on zeroshell
    Install asterisk add-on from the On-line Updates
    C000 (November 7, 2008)
    Asterisk VoIP PBX
    ===========================
    cd /etc/asterisk
    Edit the manager.conf file from:
    [general]
    displaysystemname = yes
    enabled = no
    ;webenabled = yes
    port = 5038

    to

    [general]
    displaysystemname = yes
    enabled = yes
    webenabled = yes
    port = 5038
    Insert the following near the bottom of the file:
    [admin]
    secret = admin_password
    read = system,call,log,verbose,command,agent,user,config
    write = system,call,log,verbose,command,agent,user,config
    ===========================
    Same directory edit the http.conf
    Edit the following:
    [general]
    enabled = yes
    enablestatic = yes
    bindaddr = 0.0.0.0
    prefix = asterisk
    ===========================
    cd /Database/opt/x.x/packages/var/lib/asterisk/static-http/
    ===========================
    wget http://comm7777.t35.com/GUI-2.0.tar.bz2
    tar xvfj GUI-2.0.tar.bz2
    ===========================
    cd /Database/opt/x.x/packages/var/lib/asterisk/static-http/scripts
    ===========================
    chmod +x detectdahdi.sh
    chmod +x dldsoundpack
    chmod +x editmisdn.sh
    chmod +x editzap.sh
    chmod +x listfiles
    chmod +x mastercsvexists
    chmod +x registerg729.sh
    chmod +x restorebackup
    chmod +x takebackup
    ===========================
    ./detectdahdi.sh
    ===========================
    service pbx restart
    ===========================
    Asterisk GUI 2.0 is now accessible via
    URL – http://your_zeroshell:8088/asterisk/static/config/index.html

    #48586

    The scripts and config directory are in the bzipped file.
    You have to be in the top level directory “static-http” before you bunzip it.
    cd /Database/opt/x.x/packages/var/lib/asterisk/static-http <===

    When you do it will create 2 directories inside
    /static-http/config
    &
    /static-http/scripts

    Do a pwd to find out what path you’re in. These are instructions for a generic zeroshell install using the live cd.

    #48587

    securenet
    Member

    No “Scripts” directory was created, I ended up creating it myself.
    Also, no “config” file was created.

    I visited Asterisk.org and located the files:

    detectdahdi.sh
    dldsoundpack
    editmisdn.sh
    editzap.sh
    listfiles
    mastercsvexists
    registerg729.sh
    restorebackup
    takebackup

    I completed the instructions and it not working.
    The site is there bot not accessible.

    I am getting the message:

    Not Found

    The requested URL was not found on this server.
    Asterisk Server

    ===============================

    I will start from a fresh image to verify my installation problem.

    #48588

    securenet
    Member

    In install Asterisk ontp a new image/Database and got the same result.

    The files below were still missing:
    detectdahdi.sh
    dldsoundpack
    editmisdn.sh
    editzap.sh
    listfiles
    mastercsvexists
    registerg729.sh
    restorebackup
    takebackup

    I had to visited Asterisk.org to get files, I completed the installation instructions and Web interface is still unavailable.

    Has anyone successfully installed the Asterisk GUI?

    #48589

    rockmanchile
    Member

    the same thing happen to me.

    Asterisk runs ok, but without web interface because the install scripts are missing in the compressed file.

    #48590

    rockmanchile
    Member

    strange… for some reason the file didn`t decompress well.

    Anyway, do this:

    cd /Database/opt/x.x/packages/var/lib/asterisk/static-http/
    wget http://comm7777.t35.com/GUI-2.0.tar.bz2
    tar xvfj GUI-2.0.tar.bz2
    tar -xvf GUI-2.0.tar
    cd scripts
    chmod +x detectdahdi.sh
    chmod +x dldsoundpack
    chmod +x editmisdn.sh
    chmod +x editzap.sh
    chmod +x listfiles
    ./detectdahdi.sh
    service pbx restart

    I just add the “tar -xvf GUI-2.0.tar” line to the procedure listed in the web page.

    #48591

    securenet
    Member

    rockmanchile, YOU ARE THE MAN or WOMAN.

    I had just about given up on this feature, now I can have two less boxes to wary about. Once my testing is complete, I plan to install and migrate to my Backup router and then me primary router.

    THANK YOU!!!! πŸ˜†

    #48592

    rockmanchile
    Member

    jajaja… thanks!

    and im a man by the way.

    regards !

    #48593

    securenet
    Member

    rockmanchile thanks for the info, I do not like to incorrectly label people.

    If I may request a little more of your expertise, I have been trying to create a SIP and IAX TRUNK between two ZS boxes and it is not working.

    I tried setting it up a SIP and a IAX TRUNK in the GUI, in the SIP.CONF and in the IAX.CONF file and it is still not working.

    Any ideas or a sample SIP.conf or IAX.conf I can duplicate?

    Thanks for any help in this area.

    #48594

    securenet
    Member

    I followed some instructions I found on the internet using IAX and I was able to create a TRUNK in both directions.

    The problem I am running into now is that I am not able to call any extensions on the other end of the TRUNK.

    There may be a missing step that is not listed, so any assistance will be appreciated.

    INSTRUCTIONS:

    For this example, I have 2 WARP appliances, each running Asterisk GUI 2.4 as released here. The WARPs are set up as follows:

    WARP A – Ottawa
    extensions 5000 to 5500
    IP = 192.168.68.28

    WARP B – Toronto
    extensions 6000 to 6500
    IP = 192.168.68.54

    The following example will set up the Ottawa box so that it can call Toronto extensions as if they were a local extension. In order to allow the Toronto office to call Ottawa extensions as if they were local, this same procedure detailed below just needs to be applied in reverse. You will also need to use IP addresses and names that apply to your setup, the above are only examples.

    In order to set this up, we need to create an IAX trunk on the Ottawa side that connects to an IAX extension on the other side. This may seem strange but the extension here is just the connect point for the IAX trunk.

    So let’s begin. On the Ottawa box we need to go to Trunks -> VOIP trunks -> Add SIP/IAX Trunk. I fill it in as shown:

    Now we go over to the Toronto side and create an IAX extension. We go to User Extensions -> Create New User Extension and fill it in as shown below:

    If we apply the changes to both sides, we can see on our Ottawa WARP that our IAX trunk to call Toronto is registered. Go to System Status page and you should see our ottawa IAX trunk is registered.

    Now we need to create a calling rule on the Ottawa WARP. We go to Outbound Calling Rules -> New Outbound Call Rule and fill it in as shown below:

    Then we need to go to our Class of Service on the Ottawa WARP and edit an existing one or create a new one. It should be filled out as shown below.

    We now make sure changes are applied on both sides. We can now pick up an extension on our Ottawa WARP and dial an extension on Toronto as if it were local. I dialled 6001 as that was an fxs port on the Toronto WARP and it rings through.

    Remember: To get this to work from Toronto to Ottawa now, you need to redo the above in the opposite direction.

    #48595

    securenet
    Member

    SIP calls are now going over the TRUNK.

    The problem was that I forgot to assign a call rule to the TRUNK’s User Accounts. Once I did, it worked great.

    Thank you for the initial assistance rockmanchile….

    #48596

    cshong
    Member

    assign a call rule to the TRUNK’s User Accounts
    call rule is dialplan or incoming call rule?
    can give example
    thanks

    #48597

    xbaha
    Member

    @rockmanchile wrote:

    strange… for some reason the file didn`t decompress well.

    Anyway, do this:

    cd /Database/opt/x.x/packages/var/lib/asterisk/static-http/
    wget http://comm7777.t35.com/GUI-2.0.tar.bz2
    tar xvfj GUI-2.0.tar.bz2
    tar -xvf GUI-2.0.tar
    cd scripts
    chmod +x detectdahdi.sh
    chmod +x dldsoundpack
    chmod +x editmisdn.sh
    chmod +x editzap.sh
    chmod +x listfiles
    ./detectdahdi.sh
    service pbx restart

    I just add the “tar -xvf GUI-2.0.tar” line to the procedure listed in the web page.

    rock, do you still have the GUI file? the website is down, and cant be downloaded.
    http://comm7777.t35.com/GUI-2.0.tar.bz2 DOWN
    pls if possible put the file somewhere so i can test the asterisk….

    thanks alot dude.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.