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',
|
revision => 'master',
|
||||||
require => [ File['/var/rhizomatica'], Package['git'] ],
|
require => [ File['/var/rhizomatica'], Package['git'] ],
|
||||||
notify => [ Exec['locale-gen'],
|
notify => [ Exec['locale-gen'],
|
||||||
Exec['restart-freeswitch'],
|
Exec['notify-freeswitch'],
|
||||||
Exec['restart-rapi'] ],
|
Exec['restart-rapi'] ],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -244,6 +244,11 @@ class rhizo_base {
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec { 'notify-freeswitch':
|
||||||
|
command => '/bin/echo 1 > /tmp/FS-dirty',
|
||||||
|
refreshonly => true,
|
||||||
|
}
|
||||||
|
|
||||||
exec { 'restart-freeswitch':
|
exec { 'restart-freeswitch':
|
||||||
command => '/usr/bin/sv restart freeswitch',
|
command => '/usr/bin/sv restart freeswitch',
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue