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(&quot; timer is working. &quot;);<br>
<br>}<br><br>2) //for initializing :<br>    if (register_timer(cal_delay, 0, 1)&lt;0) {<br>        //LM_ERR(&quot;failed to register timer\n&quot;);<br>        LM_INFO(&quot;failed to register timer\n&quot;);<br>        goto error;<br>
    }<br><br>but it dosn&#39;t work .<br><br>please help me.<br><br>Best regardes,<br>Enayati<br> <br>