Hello Dear ,<br><br>I want to register a periodic timer for overload control in Opensips 1.5.<br>I wrote these in a header file: <br>1) <br>void cal_delay(unsigned int ticks, void *param)<br>{<br> LM_INFO(" timer is working. ");<br>
<br>}<br><br>2) //for initializing :<br> if (register_timer(cal_delay, 0, 1)<0) {<br> //LM_ERR("failed to register timer\n");<br> LM_INFO("failed to register timer\n");<br> goto error;<br>
}<br><br>but it dosn't work .<br><br>please help me.<br><br>Best regardes,<br>Enayati<br> <br>