Difference between revisions of "How to restart Asterisk server"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 8: Line 8:
# You will lose money on the active calls, because provider will charge you for these calls but you will not be able to charge your users because calls will not be in database.
# You will lose money on the active calls, because provider will charge you for these calls but you will not be able to charge your users because calls will not be in database.


==How to do it in right way?==
<br><br>
=How to do it in the right way?=


Just run:
Just run:
  /usr/src/mor/sh_scripts/asterisk_nice_restart.sh
  /usr/src/mor/sh_scripts/asterisk_nice_restart.sh
to restart service.
to restart service.

Revision as of 07:55, 20 May 2010

You should never restart it. That would be perfect.

But there are situations when you need to do it no matter what.

If you restart/shutdown your Asterisk server when there are active calls going:

  1. Users will be disconnected and will not feel very happy about your service;
  2. You will lose money on the active calls, because provider will charge you for these calls but you will not be able to charge your users because calls will not be in database.



How to do it in the right way?

Just run:

/usr/src/mor/sh_scripts/asterisk_nice_restart.sh

to restart service.