<p dir="ltr">It must be the new fax machines that are using high speeds that are not supported by T.38. Striping SDP completely may create issues ... IIRC you are not allowed to have no SDP in INVITEs.</p>
<div class="gmail_quote">On Mar 12, 2014 8:48 AM, &quot;Jeff Pyle&quot; &lt;<a href="mailto:jpyle@fidelityvoice.com">jpyle@fidelityvoice.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Our use case is a call forward from an inbound carrier gateway to an outbound one.  Both do support T.38.  In fact, that&#39;s the problem.  We&#39;ve seen much higher success rates with fax forwards if both sides stay G.711.  Quite interesting considering in many cases both the originating and terminating gateways are Sonus GSX, although on different carrier networks.<div>

<br></div><div>And, before you ask, I&#39;m not bringing the media through my network.  :)</div><div><br></div><div class="gmail_extra"><div><div dir="ltr"><div>

I&#39;m not quite ready to test yet.  When I am, I&#39;ll try the SDP stripping approach and see how the gateways behave.  Perhaps if I strip the SDP in both the offer and the answer...</div><div><br></div><div><br></div>

<div>- Jeff</div><div><br></div></div></div>
<br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 3:29 PM, Ovidiu Sas <span dir="ltr">&lt;<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Well, then your out of luck here.<br>
Even if there&#39;s no SDP in ACK, should be fine.<br>
<br>
On the other hand, if one end doesn&#39;t support T.38 and the other end<br>
is insisting on it, the call will fail, so you can just drop the call<br>
there.<br>
<span><font color="#888888"><br>
-ovidiu<br>
</font></span><div><div><br>
On Tue, Mar 11, 2014 at 3:14 PM, Jeff Pyle &lt;<a href="mailto:jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>&gt; wrote:<br>
&gt; By removing the SDP, am I not causing a late-offer behavior?  The B-leg<br>
&gt; would expect an SDP on the ACK from the A-leg (which it&#39;s not going to get),<br>
&gt; and the A-leg is going to wonder why its T.38 SDP was answered with, say, a<br>
&gt; G.711 one.<br>
&gt;<br>
&gt; I&#39;ve yelled at customers for pulling stuff like that.  :)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; - Jeff<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Mar 11, 2014 at 2:00 PM, Ovidiu Sas &lt;<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Then remove completely the SDP.<br>
&gt;&gt; The other endpoint should offer the previous codec.<br>
&gt;&gt; The renegotiation should fail and hopefully the call will still stay on<br>
&gt;&gt; ...<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Ovidiu Sas<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Mar 11, 2014 at 1:56 PM, Jeff Pyle &lt;<a href="mailto:jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi Ovidiu,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In the case of a pure T.38 SDP offer like this:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; v=0<br>
&gt;&gt;&gt; o=- 1394560461 1394560461 IN IP4 192.168.58.4<br>
&gt;&gt;&gt; s=-<br>
&gt;&gt;&gt; c=IN IP4 192.168.58.4<br>
&gt;&gt;&gt; t=0 0<br>
&gt;&gt;&gt; m=image 16426 udptl t38<br>
&gt;&gt;&gt; a=T38FaxVersion:0<br>
&gt;&gt;&gt; a=T38FaxRateManagement:transferredTCF<br>
&gt;&gt;&gt; a=T38FaxFillBitRemoval:0<br>
&gt;&gt;&gt; a=T38FaxTranscodingMMR:0<br>
&gt;&gt;&gt; a=T38FaxTranscodingJBIG:0<br>
&gt;&gt;&gt; a=T38MaxBitRate:14400<br>
&gt;&gt;&gt; a=T38FaxUdpEC:t38UDPRedundancy<br>
&gt;&gt;&gt; a=T38FaxMaxBuffer:600<br>
&gt;&gt;&gt; a=T38FaxMaxDatagram:200<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Which codec would I remove?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - Jeff<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Tue, Mar 11, 2014 at 1:44 PM, Ovidiu Sas &lt;<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Remove the codec and let the re-INVITE go through.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt;&gt; Ovidiu Sas<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Tue, Mar 11, 2014 at 1:42 PM, Jeff Pyle &lt;<a href="mailto:jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>&gt;<br>
&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Hi Alexander,<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; To detect the &quot;image&quot; session in the SDP, you are thinking the same way<br>
&gt;&gt;&gt;&gt;&gt; that I am.  The problem I see is how to actually reject the re-INVITE.  If I<br>
&gt;&gt;&gt;&gt;&gt; were to do something like a sl_send_reply(&quot;488&quot;, &quot;Not Acceptable Here&quot;),<br>
&gt;&gt;&gt;&gt;&gt; that would work in the moment, but the CSeq values would be increased by one<br>
&gt;&gt;&gt;&gt;&gt; on side compared to the other.  That sounds to me like a recipe for problems<br>
&gt;&gt;&gt;&gt;&gt; in future in-dialog transactions (like BYE).<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; - Jeff<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Tue, Mar 11, 2014 at 12:58 PM, Alexander Mustafin<br>
&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:mustafin.aleksandr@gmail.com" target="_blank">mustafin.aleksandr@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi, Jeff.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Maybe stream_exists(regexp) in sipmsgops module will be useful for<br>
&gt;&gt;&gt;&gt;&gt;&gt; you.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt;&gt;&gt;&gt; Alexander Mustafin<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:mustafin.aleksandr@gmail.com" target="_blank">mustafin.aleksandr@gmail.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; 11 марта 2014 г., в 20:07, Jeff Pyle &lt;<a href="mailto:jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; написал(а):<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Is there anything I can do at the proxy level to prevent a dialog from<br>
&gt;&gt;&gt;&gt;&gt;&gt; reinviting to to T.38?  I think I could detect the T.38 attributes easily<br>
&gt;&gt;&gt;&gt;&gt;&gt; enough and respond with a 488, although I&#39;m concerned the CSeq values would<br>
&gt;&gt;&gt;&gt;&gt;&gt; be out of sequence for the next transaction that did make it through the<br>
&gt;&gt;&gt;&gt;&gt;&gt; proxy to the far end.  That could cause a problem, no?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Is this something that requires a B2BUA?  Is it possible from within<br>
&gt;&gt;&gt;&gt;&gt;&gt; the OpenSIPS B2B modules to do SDP inspection of any sort?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; - Jeff<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; VoIP Embedded, Inc.<br>
&gt;&gt;&gt;&gt; <a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
&gt;&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; VoIP Embedded, Inc.<br>
&gt;&gt; <a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>