the cpu shows almost 100 % idle at that time and the pc were kamailio is running has nothing else running but kamailio. this is my config file:
####### Routing Logic ########
# main request routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
xlog("L_DBG", "mylog, time [$Tf] : starting_main_logic.\n");
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
xlog("L_DGB","mylog, time [$Tf] : Too Many Hops.\n");
exit;
};
if (msg:len >= 2048 ) {
sl_send_reply("513", "Message too big");
xlog("L_DGB","mylog, time [$Tf] : Message too big.\n");
exit;
};
if (!method=="REGISTER")
record_route();
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
};
if (uri==myself) {
if (method=="REGISTER") {
xlog("L_DGB","mylog, time [$Tf] : starting to process REGISTER.Info: [$au,$ad,$ci,$ct,$cs,$rd,$si,$sp].\n");
if (!www_authorize("", "subscriber")) {
xlog("L_DGB","mylog, time [$Tf] : REGISTER came without auth, sending challenge.\n");
www_challenge("", "0");
exit;
};
save("location");
xlog("L_DBG","mylog, time [$Tf] : save-location successful.\n");
exit;
};
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
xlog("L_DGB","mylog, time [$Tf] : lookup-location failed, sending 404 Not Found.\n");
exit;
};
append_hf("P-hint: usrloc applied\r\n");
};
route(1);
}
route[1] {
if (!t_relay()) {
sl_reply_error();
};
exit;
}