Problem PJSIP 2.6


#1

Hi everyone,
I have a problem with calls in PJSIP after. When I freshly lunch my application the calls works perfectly then after 2 hours I can’t makes calls anymore and I had this message.

17:21:01.617 pjsua_aud.c .Set sound device: capture=-1, playback=-2
17:21:01.617 pjsua_aud.c …Opening sound device (speaker + mic) PCM@16000/1/20ms
17:21:01.634 ec0x629fc888 …AEC created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=0 ms
17:21:01.635 pjsua_media.c .Call 0: initializing media…
17:21:01.636 pjsua_media.c !..RTP socket reachable at 172.16.0.2:4000
17:21:01.636 pjsua_media.c …RTCP socket reachable at 172.16.0.2:4001
17:21:01.636 pjlib …Failed to register socket to ioqueue because socket fd is too big (fd=1854/FD_SETSIZE=1024)
17:21:01.637 pjsua_media.c …Unable to create media transport: Size is too big (PJ_ETOOBIG) [status=70017]
17:21:01.637 pjsua_media.c …Error creating media transport: Size is too big (PJ_ETOOBIG)
17:21:01.637 pjsua_media.c …Call 0: cleaning up provisional media, prov_med_cnt=1, med_cnt=0
17:21:01.637 pjsua_call.c .Error initializing media channel: Size is too big (PJ_ETOOBIG) [status=70017]
17:21:01.637 pjsua_media.c .Call 0: deinitializing media…

If you can help me I will be so grateful.
thanks in advance .


#2

How many channels do you have active? What does the shell command “ls /proc//fd” show, where <asterisk pid is the process id of the asterisk daemon?


#3

Asterisk doesn’t use pjsua and it is unlikely the people here would be familiar with such details. You may have better luck on the PJSIP mailing list.