[SIP Beyond VoIP] SIPCoreError: PJSIPUA is not instantiated

Saúl Ibarra Corretgé saul at ag-projects.com
Fri Feb 22 10:22:24 CET 2013


On Feb 22, 2013, at 9:13 AM, ANIL KARADAĞ wrote:

> Hi Saúl,
> 
> 
> I tried to re-produce the problematic scenario. But there is no "PJSIPUA is not instantiate" message in syslog file.
> 
> 
> But SylkServer behaves same. 
> 
> 
> logs;
> 
> 
> 1- notification_trace.txt
> 
> 2013-02-21 21:08:29.105116 [sylk-server 1652]: Notification name=SIPApplicationDidEnd sender=<sylk.server.SylkServer object at 0x2535550>
> {'end_reason': 'engine failed'}
> 

Can you attach the full notifications trace? There will be a SIPEngineDidFail notification which will explain what is happening.

> 
> 2- syslog;
> 
> Feb 21 21:08:26 sylk-server[1652]: error: An exception occured within the SIP core:
> Feb 21 21:08:26 sylk-server[1652]: error: Traceback (most recent call last):
> Feb 21 21:08:26 sylk-server[1652]: error:   File "/usr/lib64/python2.6/site-packages/sipsimple/core/_engine.py", line 110, in run
> Feb 21 21:08:26 sylk-server[1652]: error:     failed = self._ua.poll()
> Feb 21 21:08:26 sylk-server[1652]: error:   File "_core.ua.pxi", line 694, in sipsimple.core._core.PJSIPUA.poll (sipsimple/core/_core.c:42735)
> Feb 21 21:08:26 sylk-server[1652]: error:   File "_core.ua.pxi", line 43, in sipsimple.core._core.Timer.call (sipsimple/core/_core.c:34501)
> Feb 21 21:08:26 sylk-server[1652]: error:   File "_core.invitation.pxi", line 1045, in sipsimple.core._core.Invitation._cb_state (sipsimple/core/_core.c:119114)
> Feb 21 21:08:26 sylk-server[1652]: error:   File "_core.ua.pxi", line 37, in sipsimple.core._core.Timer.cancel (sipsimple/core/_core.c:34439)
> Feb 21 21:08:26 sylk-server[1652]: error:   File "_core.ua.pxi", line 740, in sipsimple.core._core.PJSIPUA._remove_timer (sipsimple/core/_core.c:43306)
> Feb 21 21:08:26 sylk-server[1652]: error: ValueError: list.remove(x): x not in list
> 
> 
> 
> On Thu, Feb 21, 2013 at 11:25 AM, Saúl Ibarra Corretgé <saul at ag-projects.com> wrote:
> 
> On Feb 21, 2013, at 9:36 AM, ANIL KARADAĞ wrote:
> 
> > Hi Saúl,
> >
> >
> > I found a new data; strace shows status pause for parent SylkServer process. And checked there is no any childs. So I think the parent process waits child.
> 
> SylkServer is not multiprocess. That pause is performed in the main Python thread, the actual SIP engine runs in another thread. Looks like the SIP engine died for some reason, but I can't confirm unless I see the notifications.
> 
> --
> Saúl Ibarra Corretgé
> AG Projects
> 
> 
> 
> 
> 
> 
> -- 
> Anıl KARADAĞ
> Senior Software Developer

--
Saúl Ibarra Corretgé
AG Projects





More information about the SIPBeyondVoIP mailing list