Sunday, April 18, 2010

Basic commands used in vicidial Server

1. If Network is not configured (check that internet is working or not) then chek
type command
#vi /etc/resolve.conf



check whether there is nameserver or not if not then type:
nameserver
nameserver

press esc-->shift+colon-->wq-->exit

2. Set the Gateway:-
#route add default gw 192.168.1.1 eth0

3. if permanently want to add gateway then use this command

#vi /etc/sysconfig/network
Networking=yes
Hotname-vici.vicidialnow.org
Gateway=192.168.1.1
or
if want to add this in network
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
Add this entry:-
Network=192.168.1.1

4.Restarting asterisk
service asterisk restart
or
/etc/init.d/asterisk stop
/etc/init.d/asterisk start

5.root@vici#asterisk -r (for checking logs or to see all dialled call)
sip reload
sip show registry (gives status of sip service provider )

5. all sip config files are in :-
cd /etc/asterisk/sip.cong
cd /etc/asterisk/extensions.conf
6. top and ps -ef |grep asterisk

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.