hello,<br>I wrote one function which returns a int value in userloc.c module.<br>int no_call()<br>{<br> if(count==0)<br> {<br> count=1;<br> return 0;<br> }<br> else<br> {<br> count=0;<br>
return 1;<br> }<br>}<br><br>I called that function in opensips,cfg.<br>if (is_method("INVITET"))<br> {<br> <br> if(no_call())<br> {<br> forward();<br> exit();<br> }<br> else<br>
{<br> forward();<br> exit;<br> }<br> }<br> <br>opensips is not starting.<br>when i comment function call opensips work.<br>Please help me in this.<br>