[SIP Beyond VoIP] Sylk Respawn when RouteHeader is added for outgoing INVITE
Record Route
recordroute at gmail.com
Thu Feb 28 12:32:06 CET 2013
Hi Saul,
Same things happen if I add Record-Route instead of Route.
The ip I added into Route header is my outbound proxy's ip. What I want is,
the further response/request messages for that outgoing INVITE come through
my outbound proxy again.
On Thu, Feb 28, 2013 at 12:55 PM, Saúl Ibarra Corretgé <saul at ag-projects.com
> wrote:
>
> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20130228/dd59112c/attachment.html>
More information about the SIPBeyondVoIP
mailing list