Hello everybody,<br><br>I am creating a C program of ESL outbound for call processing.<br>I am using testserver.c example, and till now it seems fine.<br><br>But i noticed that every call testserver process, a new process is being created which I can see in Linux system with below command:<br>
For example, when I make two calls and even after hangup, I saw three process like below:<br>ps -A | grep testserver<br> 9345 pts/2    00:00:00 testserver<br> 9350 pts/2    00:00:00 testserver<br> 9357 pts/2    00:00:00 testserver<br>
<br>This get increased for every call i make.<br><br>I did some workout and placed below two lines (close &amp; exit) at the end of mycallback function, (as I found them on ivrd.c file):<br><br>    esl_disconnect(&amp;handle);<br>
    close(client_sock);<br>    exit(0);<br>}<br>But after that the process becomes defunct/zombie<br><br> 9440 pts/2    00:00:00 conflisten<br> 9442 pts/2    00:00:00 conflisten &lt;defunct&gt;<br> 9452 pts/2    00:00:00 conflisten &lt;defunct&gt;<br>
<br><br>Will anybody please suggest me how can I eliminate this process, which remains in memory even after call hangup?<br><br>Thanks for any response.<br>MohammedShehzad<br><br><br><br>