Browse Source

log line tweak

3.17
karl anderson 12 years ago
parent
commit
3c11f5132e
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      kamailio/registrar-role.cfg

+ 3
- 2
kamailio/registrar-role.cfg View File

@ -67,7 +67,7 @@ route[HANDLE_REGISTER]
if (!auth_check("$fd", "subscriber", "1")) { if (!auth_check("$fd", "subscriber", "1")) {
route(FAILED_AUTH_COUNT); route(FAILED_AUTH_COUNT);
auth_challenge("$fd", "0"); auth_challenge("$fd", "0");
xlog("L_INFO", "$ci|log|Issued new auth challenge to failed registration attempt\n");
xlog("L_INFO", "$ci|end|Issued new auth challenge to failed registration attempt\n");
exit; exit;
} else { } else {
xlog("L_INFO", "$ci|log|Caching SIP credentials for $Au\n"); xlog("L_INFO", "$ci|log|Caching SIP credentials for $Au\n");
@ -76,7 +76,7 @@ route[HANDLE_REGISTER]
} }
} else { } else {
auth_challenge("$fd", "0"); auth_challenge("$fd", "0");
xlog("L_INFO", "$ci|log|Issued new auth challenge to new registration attempt\n");
xlog("L_INFO", "$ci|end|Issued new auth challenge to new registration attempt\n");
exit; exit;
} }
@ -84,6 +84,7 @@ route[HANDLE_REGISTER]
consume_credentials(); consume_credentials();
save("location"); save("location");
xlog("L_INFO", "$ci|end|new contact: $ct");
exit; exit;
} }
} }


Loading…
Cancel
Save