Commit 31c7555c authored by Grzegorz Sluja's avatar Grzegorz Sluja
Browse files

Use graceful shutdown of asterisk to allow sending deregister messages

parent 1aabf6ec
......@@ -21,7 +21,7 @@ msg_log() {
stop_and_wait_asterisk() {
pidof $NAME > /dev/null && {
killall -q $NAME
$PROG -rx "core stop gracefully"
}
pid=$(pidof $NAME > /dev/null)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment