www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Need help Installing Asterisk GUI

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
securenet



Joined: 27 Apr 2009
Posts: 64

PostPosted: Wed Aug 12, 2009 3:39 am    Post subject: Need help Installing Asterisk GUI Reply with quote

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:
Quote:
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.

Quote:
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
Back to top
View user's profile Send private message
vpn_rollercoaster



Joined: 30 Aug 2008
Posts: 80

PostPosted: Thu Aug 13, 2009 2:47 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
securenet



Joined: 27 Apr 2009
Posts: 64

PostPosted: Fri Aug 14, 2009 1:36 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
securenet



Joined: 27 Apr 2009
Posts: 64

PostPosted: Mon Aug 17, 2009 2:08 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
rockmanchile



Joined: 27 Mar 2009
Posts: 32

PostPosted: Tue Aug 18, 2009 7:33 pm    Post subject: Reply with quote

the same thing happen to me.

Asterisk runs ok, but without web interface because the install scripts are missing in the compressed file.
Back to top
View user's profile Send private message
rockmanchile



Joined: 27 Mar 2009
Posts: 32

PostPosted: Wed Aug 19, 2009 1:26 pm    Post subject: Reply with quote

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

Anyway, do this:

Code:
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.
Back to top
View user's profile Send private message
securenet



Joined: 27 Apr 2009
Posts: 64

PostPosted: Fri Aug 21, 2009 4:01 am    Post subject: Reply with quote

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!!!! Laughing
Back to top
View user's profile Send private message
rockmanchile



Joined: 27 Mar 2009
Posts: 32

PostPosted: Mon Aug 24, 2009 2:01 am    Post subject: Reply with quote

jajaja... thanks!

and im a man by the way.

regards !
Back to top
View user's profile Send private message
securenet



Joined: 27 Apr 2009
Posts: 64

PostPosted: Mon Aug 24, 2009 2:27 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
securenet



Joined: 27 Apr 2009
Posts: 64

PostPosted: Wed Aug 26, 2009 3:44 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
securenet



Joined: 27 Apr 2009
Posts: 64

PostPosted: Thu Aug 27, 2009 1:27 am    Post subject: Reply with quote

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....
Back to top
View user's profile Send private message
cshong



Joined: 21 Feb 2011
Posts: 1

PostPosted: Mon Feb 21, 2011 2:40 am    Post subject: need help in connect 2 server Reply with quote

assign a call rule to the TRUNK's User Accounts
call rule is dialplan or incoming call rule?
can give example
thanks
Back to top
View user's profile Send private message
xbaha



Joined: 03 May 2012
Posts: 4

PostPosted: Thu May 03, 2012 8:09 pm    Post subject: Reply with quote

rockmanchile wrote:
strange... for some reason the file didn`t decompress well.

Anyway, do this:

Code:
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group