Don't just hangup all calls whenever rccn gets an update
This commit is contained in:
parent
24a3b852cf
commit
070be4a9ce
1 changed files with 6 additions and 1 deletions
|
@ -202,7 +202,7 @@ class rhizo_base {
|
|||
revision => 'master',
|
||||
require => [ File['/var/rhizomatica'], Package['git'] ],
|
||||
notify => [ Exec['locale-gen'],
|
||||
Exec['restart-freeswitch'],
|
||||
Exec['notify-freeswitch'],
|
||||
Exec['restart-rapi'] ],
|
||||
}
|
||||
|
||||
|
@ -244,6 +244,11 @@ class rhizo_base {
|
|||
refreshonly => true,
|
||||
}
|
||||
|
||||
exec { 'notify-freeswitch':
|
||||
command => '/bin/echo 1 > /tmp/FS-dirty',
|
||||
refreshonly => true,
|
||||
}
|
||||
|
||||
exec { 'restart-freeswitch':
|
||||
command => '/usr/bin/sv restart freeswitch',
|
||||
refreshonly => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue