<div dir="ltr">Never mind, I found out how to enable the sip-traces on the logfile.<div><br></div><div>As soon as it happens again I will open a JIRA.</div><div><br></div><div>Thanks.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 9:55 AM, Joel Serrano <span dir="ltr"><<a href="mailto:joel@gogii.net" target="_blank">joel@gogii.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">HI Ken, <div><br></div><div>I have tried to enable sip-trace (sofia global siptrace on) but although I see it in console, it doen't get added to logfile.</div><div><br></div><div>How can I enable siptrace in the logfiles?</div><div><br></div><div>I will open a JIRA as soon as I find a case that happened after enabling DEBUG logs and siptrace.</div><div><br></div><div>Thanks!</div><span><font color="#888888"><div>Joel.</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 21, 2016 at 7:47 PM, Ken Rice <span dir="ltr"><<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And if you think this is a bug open anjora and attach a full unedited debug log with sip tracing and the xml cdr.<br>
<span><br>
Sent from my iPhone<br>
<br>
> On Sep 21, 2016, at 8:31 PM, Joel Serrano <<a href="mailto:joel@gogii.net" target="_blank">joel@gogii.net</a>> wrote:<br>
><br>
</span><span>> Hi,<br>
><br>
> As I understand, freeswitch can handle re-invites. Ok till here, but, is there any scenario where freeswitch will send a re-invite proactively ?<br>
><br>
> I'm facing the following problem:<br>
><br>
> Inbound call, from a random person to one of our numbers.<br>
> Call from: +1706288XXXX (random caller)<br>
> Call to: +1407602XXXX (our number)<br>
><br>
><br>
> This is the diagram:<br>
><br>
</span><span>> <Screen Shot 2016-09-21 at 18.15.16.png><br>
><br>
><br>
</span><span>> For some reason, after X amount of time, FreeSWITCH sends out an INVITE. I don't understand the reason. I have checked and there are no session-timers in the initial request that could trigger it.<br>
><br>
> The problem is not the re-invite, the problem is that the CDR for this call is messed up, because the sip_from_user ends up being the callee, and the sip_to_user ends up being the caller.<br>
><br>
> I use a script to pull full XML cdrs from our database... The CDR for this call has the following:<br>
><br>
> $ ./get_cdr_by_uuid.py '1367e1db-2df4-4c97-8b23-304f8<wbr>5493315' | grep -i -e sip_from_user -e sip_to_user<br>
> <sip_from_user_stripped><a href="tel:17062886161" value="+17062886161" target="_blank">17062<wbr>886161</a></sip_from_user_stripped<wbr>><br>
> <sip_from_user>%2B14076027616<wbr></sip_from_user><br>
> <sip_to_user>%2B17062886161</<wbr>sip_to_user><br>
> $<br>
><br>
> As you can see, the sip_to_user, is the caller, (and this is probably because of the re-invite from FS to the client). Also, isn't it weird that the sip_from_user_stripped still has the original caller correctly, but the sip_from_user is updated with the original callee?<br>
><br>
><br>
> I don't know if what can be happening.<br>
><br>
> This is happening on FS v1.6.10.<br>
><br>
> I have servers on older versions, I'm trying to reproduce to see if it is related to that specific version of FS.<br>
><br>
> I'm also trying to get debug logs, which I currently don't have (because they are disabled in prod).<br>
><br>
><br>
> Any initial ideas?<br>
><br>
> I think this might be a config setting or something, if it seems like a bug or similar I'm happy to open a JIRA.<br>
><br>
><br>
> Thanks,<br>
> Joel.<br>
><br>
><br>
><br>
><br>
><br>
</span><div><div>> ______________________________<wbr>______________________________<wbr>_____________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>