@@ -308,7 +308,7 @@ modparam("uac","restore_mode","none")
308308
309309# ----------------- Settings for RTimer ---------------
310310# time interval set to 60 seconds
311- modparam(" rtimer" , " timer" , " name=NATPING;interval=60 ;mode=1;" )
311+ modparam(" rtimer" , " timer" , " name=NATPING;interval=5 ;mode=1;" )
312312modparam(" rtimer" , " exec" , " timer=NATPING;route=NATPING" )
313313# !endif
314314
@@ -893,7 +893,7 @@ route[NATPING] {
893893sht_lock(" natping=>natpinglock" );
894894sht_iterator_start(" nat_iterator" , " natping" );
895895while(sht_iterator_next(" nat_iterator" )) {
896- xlog (" OPTIONS to $shtitval(nat_iterator) via $shtitkey(nat_iterator)...\n" );
896+ xnotice (" OPTIONS to $shtitval(nat_iterator) via $shtitkey(nat_iterator)...\n" );
897897$uac_req(method) = " OPTIONS" ;
898898$uac_req(ruri) = $shtitval(nat_iterator);
899899$uac_req(furi) = PCSCF_URL;
@@ -909,7 +909,7 @@ route[NATPING] {
909909
910910event_route[uac:reply] {
911911# #!ifdef WITH_DEBUG
912- xlog (" request sent to $uac_req(ruri) completed with code: $uac_req(evcode), Type $uac_req(evtype)\n" );
912+ xnotice (" request sent to $uac_req(ruri) completed with code: $uac_req(evcode), Type $uac_req(evtype)\n" );
913913# #!endif
914914if (($uac_req(evtype) != 1) || ($uac_req(evcode) != 200)) {
915915if ($sht(natpingfail =>$uac_req(ouri)) == $null) {
0 commit comments