[SIP Beyond VoIP] Sylk Respawn when RouteHeader is added for outgoing INVITE

Saúl Ibarra Corretgé saul at ag-projects.com
Thu Feb 28 11:55:34 CET 2013


On Feb 28, 2013, at 11:24 AM, Record Route wrote:

> Hi,
> 
> These are what I got.
> 

Thanks. Apparently the structure holding the Route header is in a weird state. I'll need to reproduce this myself and see what is going on. I'm afraid adding Route headers like that may not work since PJSIP tests them in a special way IIRC.

Why do you need to add such a Route header? What  are you trying to accomplish with it? Maybe we can find a way around this for you, while I investigate this.


Regards,

> On Wed, Feb 27, 2013 at 4:55 PM, Record Route <recordroute at gmail.com> wrote:
> I changed last three code lines in _NH_DNSLookupDidSucceed of IncomingReferralHandler class as below. And then I get respawning issue.
> 
>         extra_headers.append(Header('X-Originator-From', str(original_from_header.uri)))
>         extra_headers.append(RouteHeader(SIPURI(host='192.168.58.115', port='5060')))
>         subject = u'Join conference request from %s' % original_identity
>         self.session.connect(from_header, to_header, contact_header=contact_header, routes=notification.data.result, streams=self.streams, is_focus=True, subject=subject, extra_headers=extra_headers)
> 
> I'm trying to collect full back trace as you mentioned,
> It would be great if you have a local sylk setup and getting logs from that local setup.
> 
> Thanks in advance.
> 
> On Wed, Feb 27, 2013 at 3:23 PM, Saúl Ibarra Corretgé <saul at ag-projects.com> wrote:
> 
> On Feb 27, 2013, at 2:15 PM, Record Route wrote:
> 
> > Hi,
> >
> > When I add RouteHeader with some private ip to outgoing INVITE, sylk respawns as printing below error
> >
> > Feb 27 15:12:19 sylkserver kernel: sylk-server[2787] general protection ip:7f429e67c6c8 sp:7f429bb85fe0 error:0 in _core.so[7f429e578000+345000]
> > Feb 27 15:12:19 sylkserver init: sylkserver main process (2773) killed by SEGV signal
> > Feb 27 15:12:19 sylkserver init: sylkserver main process ended, respawning
> >
> 
> Please paste a full backtrace, you can get it as follows:
> 
> # enable core files
> ulimit -c unlimited
> 
> # run sylkserver in the foreground (--no-fork)
> ...
> 
> # when it crashes you see a file called 'core' in the current directory
> gdb python core
> set logging on
> thread apply all bt
> exit
> 
> # you'll see a file called gdb.txt
> 
> Please make sure you gave the python-sipsimple-dbg package installed.
> 
> 
> Regards,
> 
> --
> Saúl Ibarra Corretgé
> AG Projects
> 
> 
> 
> 
> 
> <coredump.txt><gdb.txt>

--
Saúl Ibarra Corretgé
AG Projects





More information about the SIPBeyondVoIP mailing list