<div dir="ltr">Yes, good question. But it looks like OpenSER is inserting the duplicate From header and the RFC specifically does not say that this is illegal.<div><br></div><div style>-JP</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jun 5, 2013 at 12:14 PM, Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">Is 2 From headers even technically allow? <br><div class="im">
<br>
<br>
On 6/5/13 2:03 PM, &quot;JP&quot; &lt;<a href="http://jaykris@gmail.com" target="_blank">jaykris@gmail.com</a>&gt; wrote:<br>
<br>
</div></span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><div class="im">I thought I would bounce this off the mailing list before filing a Jira ticket.<br>
<br>
I&#39;m facing an issue where FS doesn&#39;t acknowledge a 200 OK response with a duplicate &quot;From&quot; header:<br>
<br>
recv 422 bytes from udp/[10.191.210.149]:5060 at 17:21:22.634270:<br>
   ------------------------------------------------------------------------<br>
   SIP/2.0 200 OK<br>
   Via: SIP/2.0/UDP 10.191.210.147:5080;rport;branch=z9hG4bKNv1g56Djj6BKj<br></div>
   From: &quot;&quot; &lt;sip:<a href="http://0000000000@10.191.210.147" target="_blank">0000000000@10.191.210.147</a> &lt;<a href="mailto:sip%3A0000000000@10.191.210.147" target="_blank">mailto:sip%3A0000000000@10.191.210.147</a>&gt; &gt;;tag=By8FpSr2m6NvF<br>

   From: &quot;&quot; &lt;sip:<a href="http://0000000000@10.191.210.147" target="_blank">0000000000@10.191.210.147</a> &lt;<a href="mailto:sip%3A0000000000@10.191.210.147" target="_blank">mailto:sip%3A0000000000@10.191.210.147</a>&gt; &gt;;tag=By8FpSr2m6NvF<br>

   To: &lt;sip:<a>1000@10.191.210.149:5060</a> &lt;<a href="http://sip:1000@10.191.210.149:5060" target="_blank">http://sip:1000@10.191.210.149:5060</a>&gt; &gt;;tag=1<div class="im"><br>
   Call-ID: 1efaef87-48a7-1231-d08a-000c29ccde0a<br>
   CSeq: 44890363 INVITE<br>
   Contact: &lt;sip:10.191.210.149:5060;transport=UDP&gt;<br>
   Content-Type: application/sdp<br>
   Content-Length: 0<br>
<br>
Although I&#39;ve not yet stepped through the code, it is my suspicion that the Sofia SIP stack is not accepting the response.  Aside from the re-transmissions of the response that I&#39;m seeing in the logs, there are no other error, info, or trace statements coming from any other FS module.  RFC 3261 seems a bit vague in my opinion as to whether or not this is even allowed.<br>

<br>
As a side note, this issue came up while doing integration testing with OpenSER 1.3.4.  OpenSER seems to stick in the duplicate From header whenever it does a serial proxy to multiple carriers and the first carrier leg times out.  I&#39;m wondering if anyone on the mailing list was familiar with this issue and perhaps knew of some fix/workaround on the FreeSWITCh end.<br>

<br>
Thanks,<br>
<br>
JP<br>
<br>
</div><hr align="CENTER" size="3" width="95%"></span></font><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></span></font></font></blockquote><span class="HOEnZb"><font color="#888888"><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font face="Monaco, Courier New"><span style="font-size:11pt">-- <br>
Ken<br>
<font color="#0000FF"><u><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
</u></font><a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
</span></font>
</font></span></div>


<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>