Permalink
Browse files

XX-10116: Registrar is not restarted when dialplan changed

- oprder of execution not guaranteed, so restarting registrar together with proxy
  • Loading branch information...
1 parent 38957e0 commit 5edb2e3aafde92b061b4de401efa4082e8437b46 @dizzy dizzy committed Apr 19, 2012
Showing with 12 additions and 2 deletions.
  1. +11 −1 sipXproxy/etc/sipxproxy.cf
  2. +1 −1 sipXregistry/etc/sipxregistrar.cf
View
@@ -121,10 +121,20 @@ bundle agent sipxproxy_running {
comment => "start sipxproxy",
args => "start";
- sipxproxy.sipxproxy_running.(restart_sipxproxy|restart_sipxecs|restart_sipxproxy_and_registrar)::
+ sipxproxy.sipxproxy_running.(restart_sipxproxy|restart_sipxecs)::
"$(sipx.SIPX_SERVICEDIR)/sipxproxy"
comment => "restart sipxproxy",
args => "restart";
+
+ restart_sipxproxy_and_registrar.sipxproxy::
+ "$(sipx.SIPX_SERVICEDIR)/sipxproxy"
+ comment => "restart sipxproxy",
+ args => "restart";
+
+ restart_sipxproxy_and_registrar.sipxregistrar::
+ "$(sipx.SIPX_SERVICEDIR)/sipxregistrar"
+ comment => "restart sipxregistrar",
+ args => "restart";
}
@@ -92,7 +92,7 @@ bundle agent sipxregistrar_running {
comment => "start sipxregistrar",
args => "start";
- sipxregistrar.sipxregistrar_running.(restart_sipxregistrar|restart_sipxecs|restart_sipxproxy_and_registrar)::
+ sipxregistrar.sipxregistrar_running.(restart_sipxregistrar|restart_sipxecs)::
"$(sipx.SIPX_SERVICEDIR)/sipxregistrar"
comment => "restart sipxregistrar",
args => "restart";

0 comments on commit 5edb2e3

Please sign in to comment.