Hi Saul,<div><br></div><div>Same things happen if I add Record-Route instead of Route.</div><div><br></div><div>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.<br>
<br><div class="gmail_quote">On Thu, Feb 28, 2013 at 12:55 PM, Saúl Ibarra Corretgé <span dir="ltr"><<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On Feb 28, 2013, at 11:24 AM, Record Route wrote:<br>
<br>
> Hi,<br>
><br>
> These are what I got.<br>
><br>
<br>
</div>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.<br>

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