login | register
Wed 01 of Aug, 2007 [09:15 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.

Web www.voip-info.org
Shoutbox
  • Aykut, Wed 01 of Aug, 2007 [07:53 UTC]: Hi all, does anybody know about Thomson ST2030 SIP phone. I have upgraded it to latest version (1.56) but "Hold" and "Conf" features are not working after the upgrade ?? Do you know any solution or do you have Ver. 1.52 ?? Where can I find it?
  • Edward J Brown, Tue 31 of Jul, 2007 [23:33 UTC]: Has anybody experienced Choppy voice quality when using a Linksys SPA942 in an Asterisk Conference bridge? It works fine with my polycom and Cisco, but sucks with my Linksys.
  • www.astawerks.com, Fri 27 of Jul, 2007 [18:00 UTC]: does anyone use asterisk on top of clark connect? does it work good?
  • simon, Fri 27 of Jul, 2007 [14:16 UTC]: Hi All, Has anyone here managed to get the Cisco79x1 to successfully fail over to the backup proxy. I have 2 asterisk servers , handsets all register and function, except that backup proxy function doesn't work. Any working example would be very apprecia
  • Matthew Richmond, Thu 26 of Jul, 2007 [03:40 UTC]: using the page() application to page across our building...often the meetme conferences don't disconnect after the caller hangs up. Anyone else having this problem. (using Polycom phones)
  • Matthew Richmond, Wed 25 of Jul, 2007 [02:58 UTC]: thanks Nicholas Blasgen! I haven't worked with AGI before, but there's always a first! Thanks again!
  • Nicholas Blasgen, Tue 24 of Jul, 2007 [19:18 UTC]: Matthew Richmond, AGI will handle all that for you.
  • sam, Mon 23 of Jul, 2007 [16:39 UTC]: need help - certain voicemail extension will stop working and recording voicemail on asterisk - anyone know why and how to fix it? Thanks
  • john haji, Mon 23 of Jul, 2007 [14:55 UTC]: free calls to pakistan
  • bong, Sat 21 of Jul, 2007 [19:09 UTC]: hi good day to all can anyone help me how to configured the nortel sip to the signaling server and how to activate in mobile w/ sip compatible without mcs
Server Stats
  • Execution time: 0.37s
  • Memory usage: 2.19MB
  • Database queries: 32
  • GZIP: Disabled
  • Server load: 3.88

Asterisk options

Starting Asterisk

  • -c: Console mode. Don't go into background mode, stay in foreground with a command line interface (implies -f)
  • -C <filename>: Start Asterisk with a specified configuration file
  • -d: Debug mode
  • -f: Stay in foreground mode
  • -g: Dump core in case of a crash
  • -h: Help (list all command line options).
  • -i: Initializie crypto keys at startup
  • -p: Run as pseudo-realtime thread
  • -q: Quiet mode
  • -v: The verbose command. Add more 'v':s to get more messages.


Connecting to a running Asterisk



Examples


  • asterisk -vvvvvvdr:Start a very chatty Asterisk command line interface and connect to asterisk running in the background
  • asterisk -vvvvvvc:Start Asterisk PBX, don't go background
  • asterisk -rx reload:Connect to a running Asterisk, force reload of configuration with the CLI command "reload"


Created by oej, Last modification by flachance on Sun 07 of Mar, 2004 [06:36 UTC]

Comments Filter
Edit

my init.d script

by Anonymous on Tuesday 31 of August, 2004 [18:42:13 UTC]
This may not be perfect, and I'm still refining it, but here's my attempt at an init.d script.


  1. !/bin/bash
  2. asterisk Startup script for the asterisk PBX Server
  3. chkconfig: - 87 15
  4. description: Asterisk is a PBX server.
  5. processname: asterisk
  6. config: /etc/asterisk/
  7. pidfile: /var/run/asterisk.pid

  1. Source function library.
. /etc/rc.d/init.d/functions

asterisk=/usr/sbin/asterisk
prog=Asterisk
pidfile=/var/run/asterisk.pid
lockfile=/var/lock/subsys/asterisk
RETVAL=0

start() {
       echo -n $"Starting $prog: "
       daemon $asterisk $OPTIONS
       RETVAL=$?
       echo
        $RETVAL = 0  && touch ${lockfile}
       return $RETVAL
}
stop() {
       echo -n $"Stopping $prog: "
       killproc $asterisk
       RETVAL=$?
       echo
        $RETVAL = 0  && rm -f ${lockfile} ${pidfile}
}
reload() {
       echo -n $"Reloading $prog config files "
       $asterisk -rx reload
       RETVAL=$?
       echo
}

  1. See how we were called.
case "$1" in
 start)
       start
       ;;
 stop)
       stop
       ;;
 restart)
       stop
       start
       ;;
 reload)
       reload
       ;;
 *)
       echo $"Usage: $prog {start|stop|restart|reload}"
       exit 1
esac

exit $RETVAL

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2007 Arte Marketing, Inc.

Powered by bitweaver