This is repost because i send only to Mamadou by mistake.
I didn't understant your replay.
Do you manage to replicate the bug in your system? Can i had more logs to help debugg the problem?
Bellow the file descriptors behaviors during a call:
ls -l /proc/`pidof webrtc2sip`/fd
lrwx------ 1 sdf sdf 64 Aug 2 02:31 0 -> /dev/pts/6
lrwx------ 1 sdf sdf 64 Aug 2 02:31 1 -> /dev/pts/6
lrwx------ 1 sdf sdf 64 Aug 2 07:14 10 -> socket:[2622557]
lr-x------ 1 sdf sdf 64 Aug 2 07:14 11 -> /dev/urandom
l-wx------ 1 sdf sdf 64 Aug 2 07:14 17 -> pipe:[2622851]
l-wx------ 1 sdf sdf 64 Aug 2 07:14 19 -> pipe:[2622852]
lrwx------ 1 sdf sdf 64 Aug 2 02:12 2 -> /dev/pts/6
lrwx------ 1 sdf sdf 64 Aug 2 02:31 3 -> socket:[2602163]
lrwx------ 1 sdf sdf 64 Aug 2 02:31 4 -> socket:[2602165]
lr-x------ 1 sdf sdf 64 Aug 2 02:31 5 -> pipe:[2602166]
l-wx------ 1 sdf sdf 64 Aug 2 02:31 6 -> pipe:[2602166]
lr-x------ 1 sdf sdf 64 Aug 2 02:31 7 -> pipe:[2602167]
l-wx------ 1 sdf sdf 64 Aug 2 02:31 8 -> pipe:[2602167]
lrwx------ 1 sdf sdf 64 Aug 2 07:14 9 -> socket:[2622138]
ls -l /proc/`pidof webrtc2sip`/fd | wc -l
15
during Call
ls -l /proc/`pidof webrtc2sip`/fd
lrwx------ 1 sdf sdf 64 Aug 2 02:31 0 -> /dev/pts/6
lrwx------ 1 sdf sdft 64 Aug 2 02:31 1 -> /dev/pts/6
lrwx------ 1sdf sdf 64 Aug 2 07:14 10 -> socket:[2622557]
lr-x------ 1 sdf sdf 64 Aug 2 07:14 11 -> /dev/urandom
lrwx------ 1 sdf sdft 64 Aug 2 07:16 12 -> socket:[2624169]
lrwx------ 1 sdf sdf 64 Aug 2 07:16 13 -> socket:[2624171]
lrwx------ 1sdf sdf 64 Aug 2 07:16 14 -> socket:[2624176]
lrwx------ 1 sdf sdft 64 Aug 2 07:16 15 -> socket:[2624178]
lr-x------ 1 sdf sdf 64 Aug 2 07:16 16 -> pipe:[2624180]
l-wx------ 1 sdf sdf 64 Aug 2 07:14 17 -> pipe:[2622851]
l-wx------ 1sdf sdf 64 Aug 2 07:16 18 -> pipe:[2624180]
l-wx------ 1sdf sdf 64 Aug 2 07:14 19 -> pipe:[2622852]
lrwx------ 1sdf sdf 64 Aug 2 02:12 2 -> /dev/pts/6
lr-x------ 1 sdf sdf 64 Aug 2 07:16 20 -> pipe:[2624181]
l-wx------ 1 sdf sdf 64 Aug 2 07:16 21 -> pipe:[2624181]
lrwx------ 1 sdf sdf 64 Aug 2 02:31 3 -> socket:[2602163]
lrwx------ 1 sdf sdf 64 Aug 2 02:31 4 -> socket:[2602165]
lr-x------ 1 sdf sdf 64 Aug 2 02:31 5 -> pipe:[2602166]
l-wx------ 1 sdf sdf 64 Aug 2 02:31 6 -> pipe:[2602166]
lr-x------ 1 sdf sdf 64 Aug 2 02:31 7 -> pipe:[2602167]
l-wx------ 1 sdf sdf 64 Aug 2 02:31 8 -> pipe:[2602167]
lrwx------ 1 sdf sdf 64 Aug 2 07:14 9 -> socket:[2622138]
>> ls -l /proc/`pidof webrtc2sip`/fd | wc -l
23
end Call
>> ls -l /proc/`pidof webrtc2sip`/fd
total 0
lrwx------ 1 sdf sdf 64 Aug 2 02:31 0 -> /dev/pts/6
lrwx------ 1 sdf sdf 64 Aug 2 02:31 1 -> /dev/pts/6
lrwx------ 1 sdf sdf 64 Aug 2 07:14 10 -> socket:[2622557]
lr-x------ 1 sdf sdf 64 Aug 2 07:14 11 -> /dev/urandom
l-wx------ 1 sdf sdf 64 Aug 2 07:14 17 -> pipe:[2622851]
l-wx------ 1 sdf sdf 64 Aug 2 07:16 18 -> pipe:[2624180]
l-wx------ 1 sdf sdf 64 Aug 2 07:14 19 -> pipe:[2622852]
lrwx------ 1 sdf sdf 64 Aug 2 02:12 2 -> /dev/pts/6
l-wx------ 1 sdf sdf 64 Aug 2 07:16 21 -> pipe:[2624181]
lrwx------ 1 sdf sdf 64 Aug 2 02:31 3 -> socket:[2602163]
lrwx------ 1 sdf sdf t 64 Aug 2 02:31 4 -> socket:[2602165]
lr-x------ 1 sdf sdf 64 Aug 2 02:31 5 -> pipe:[2602166]
l-wx------ 1 sdf sdf t 64 Aug 2 02:31 6 -> pipe:[2602166]
lr-x------ 1 sdf sdf 64 Aug 2 02:31 7 -> pipe:[2602167]
l-wx------ 1 sdf sdf 64 Aug 2 02:31 8 -> pipe:[2602167]
lrwx------ 1 sdf sdf 64 Aug 2 07:14 9 -> socket:[2622138]
>> ls -l /proc/`pidof webrtc2sip`/fd | wc -l
17
from 15 file descriptors it pass to 17.