summaryrefslogtreecommitdiffstats
path: root/admin_server.c
diff options
context:
space:
mode:
authorSuper User2007-06-27 08:23:50 +0200
committerSuper User2007-06-27 08:23:50 +0200
commite9daaa4ef7ee895e6a8610ebb2166cc99c891a4e (patch)
tree147c8b74efd8830dc37be6a656944ce6d075a1e7 /admin_server.c
parentbackup (diff)
downloadlcr-e9daaa4ef7ee895e6a8610ebb2166cc99c891a4e.tar.gz
lcr-e9daaa4ef7ee895e6a8610ebb2166cc99c891a4e.tar.xz
lcr-e9daaa4ef7ee895e6a8610ebb2166cc99c891a4e.zip
backup
Diffstat (limited to 'admin_server.c')
-rw-r--r--admin_server.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/admin_server.c b/admin_server.c
index 9ccc18e..756376f 100644
--- a/admin_server.c
+++ b/admin_server.c
@@ -254,7 +254,14 @@ int admin_route(struct admin_queue **responsep)
apppbx->e_callback = 0;
apppbx->e_action = NULL;
apppbx->release(RELEASE_ALL, LOCATION_PRIVATE_LOCAL, CAUSE_NORMAL, LOCATION_PRIVATE_LOCAL, CAUSE_NORMAL);
- printlog("%3d endpoint ADMIN Kicking due to reload of routing.\n", apppbx->ea_endpoint->ep_serial);
+ start_trace(0,
+ NULL,
+ nationalize(apppbx->e_callerinfo.id, apppbx->e_callerinfo.ntype),
+ apppbx->e_dialinginfo.number,
+ DIRECTION_NONE,
+ CATEGORY_EP,
+ apppbx->e_serial,
+ "KICK (reload routing)");
}
apppbx->e_action_timeout = NULL;