<div dir="ltr">Hello again guys, <div><br></div><div>a little bit of progress but not yet working fully - couple of further questions - to recap the scenario is to use freeswitch to split fax and voice, and forward on to either remote phone or remote fax accordingly - the below bridge on to remote fax fails as t.38 needs to be supported with a re-invite &amp; SDP and at the moment freeswitch does not offer t.38 in its 200 ok to the re-invite, log suggest no update to SDP - so not clear how to ensure its an end to end update with t.38 set up correctly,  I had thought that &quot;&quot;export&quot; data=&quot;t38_passthru=true&quot;/&gt;&quot; would help, but has not yet - perhaps I need to apply as global setting? Any further thoughts  ?</div><div><div><br></div><div><div>    &lt;extension name=&quot;fax_test&quot;&gt;</div><div>    &lt;condition field=&quot;destination_number&quot; expression=&quot;(\+)?4412345678$&quot;&gt;</div><div>    &lt;action application=&quot;export&quot; data=&quot;t38_passthru=true&quot;/&gt;</div><div>    &lt;action application=&quot;tone_detect&quot; data=&quot;fax 1100 r +5000 transfer fax XML default&quot;/&gt;</div><div>    &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</div><div>    &lt;action application=&quot;transfer&quot; data=&quot;1008 XML default&quot;/&gt;</div><div>    &lt;/condition&gt;</div><div><br></div><div>    &lt;/extension&gt;</div><div>    &lt;extension name=&quot;fax&quot;&gt;</div><div>    &lt;condition field=&quot;destination_number&quot; expression=&quot;fax&quot;&gt;</div><div>    &lt;action application=&quot;export&quot; data=&quot;t38_passthru=true&quot;/&gt;</div><div>    &lt;action application=&quot;bridge&quot; data=&quot;{sip_renegotiate_codec_on_reinvite=true}sofia/gateway/hgw/+4488888888888&quot;/&gt;</div><div>    &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div><div>The Cli shows as -</div><div><div>2016-10-04 12:59:56.552337 [DEBUG] switch_core_media.c:4276 Audio Codec Compare [CLEARMODE:121:8000:20:0:1]/[PCMU:0:8000:20:64000:1]</div><div>2016-10-04 12:59:56.552337 [DEBUG] switch_core_media.c:4276 Audio Codec Compare [t38:125:8000:20:0:1]/[PCMA:8:8000:20:64000:1]</div><div>2016-10-04 12:59:56.552337 [DEBUG] switch_core_media.c:4276 Audio Codec Compare [t38:125:8000:20:0:1]/[opus:116:48000:20:0:1]</div><div>2016-10-04 12:59:56.552337 [DEBUG] switch_core_media.c:4276 Audio Codec Compare [t38:125:8000:20:0:1]/[G722:9:8000:20:64000:1]</div><div>2016-10-04 12:59:56.552337 [DEBUG] switch_core_media.c:4276 Audio Codec Compare [t38:125:8000:20:0:1]/[PCMU:0:8000:20:64000:1]</div><div>2016-10-04 12:59:56.552337 [DEBUG] switch_core_media.c:4567 No 2833 in SDP. Liberal DTMF mode adding 101 as telephone-event.</div><div>2016-10-04 12:59:56.552337 [DEBUG] switch_core_media.c:4596 sofia/external/+4488888888888 Set 2833 dtmf send payload to 101 recv payload to 101</div><div>2016-10-04 12:59:56.552337 [DEBUG] switch_core_media.c:6417 Audio params are unchanged for sofia/external/+444488888888888.</div><div>2016-10-04 12:59:56.552337 [DEBUG] sofia.c:7783 Processing updated SDP</div><div>2016-10-04 12:59:56.552337 [DEBUG] sofia.c:6962 Channel sofia/external/+444488888888888 entering state [completed][200]</div><div>2016-10-04 12:59:56.572337 [DEBUG] sofia.c:6962 Channel sofia/external/+444488888888888 entering state [ready][200]</div><div>2016-10-04 12:59:56.572337 [NOTICE] sofia.c:1011 Hangup sofia/external/+444488888888888 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]</div><div>2016-10-04 12:59:56.572337 [DEBUG] switch_ivr_bridge.c:712 sofia/external/+444488888888888 ending bridge by request from read function</div><div>2016-10-04 12:59:56.572337 [DEBUG] switch_ivr_bridge.c:785 BRIDGE THREAD DONE [sofia/external/+444488888888888]</div></div><div><br></div><div>Appreciate any tips, or am I best locally capturing the fax, as in store and forward as opposed to trying to forward fax call?</div><div><br></div><div>thanks</div><div>Magnus</div><div> <br></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 September 2016 at 23:59, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-plain" style="color:rgb(255,255,255);background-color:rgb(0,0,0);white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box">&lt;</code><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-keyword" style="color:rgb(255,255,255);background-color:rgb(0,0,0);white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box">action</code><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-keyword" style="color:rgb(255,255,255);background-color:rgb(0,0,0);font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;white-space:nowrap"> </code><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-color1" style="color:rgb(255,255,255);background-color:rgb(0,0,0);white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box">application</code><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-plain" style="color:rgb(255,255,255);background-color:rgb(0,0,0);white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box">=</code><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-string" style="color:rgb(255,255,255);background-color:rgb(0,0,0);white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box">&quot;tone_detect&quot;</code><span style="color:rgb(255,255,255);background-color:rgb(0,0,0);font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;font-size:14px;white-space:nowrap"> </span><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-color1" style="color:rgb(255,255,255);background-color:rgb(0,0,0);white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box">data</code><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-plain" style="color:rgb(255,255,255);background-color:rgb(0,0,0);white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box"><wbr>=</code><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-string" style="color:rgb(255,255,255);background-color:rgb(0,0,0);white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box">&quot;fax 1100 r +5000 transfer fax XML default&quot;</code><span style="color:rgb(255,255,255);background-color:rgb(0,0,0);font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;font-size:14px;white-space:nowrap"> </span><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-plain" style="color:rgb(255,255,255);background-color:rgb(0,0,0);white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box">/&gt; </code><br></div><div><code class="gmail-m_8818626071716768079gmail-xml gmail-m_8818626071716768079gmail-plain" style="white-space:pre-wrap;font-size:14px;font-family:consolas,&#39;bitstream vera sans mono&#39;,&#39;courier new&#39;,courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box"><font color="#000000"><br></font></code></div><div><font face="consolas, bitstream vera sans mono, courier new, courier, monospace" color="#000000"><span style="font-size:14px;white-space:pre-wrap">Attaches a media bug,  This listens for the fax tone and proceeds into the dialplan,  If it detects a fax tone in the first 5 seconds (5000ms) it transfers to the extension fax XML default, which is fax extension in the xml dialplan, default context.</span></font></div><div><font face="consolas, bitstream vera sans mono, courier new, courier, monospace" color="#000000"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font face="consolas, bitstream vera sans mono, courier new, courier, monospace" color="#000000"><span style="font-size:14px;white-space:pre-wrap">I think you may be over thinking it slightly.</span></font></div><span class="gmail-HOEnZb"><font color="#888888"><div><font face="consolas, bitstream vera sans mono, courier new, courier, monospace" color="#000000"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font face="consolas, bitstream vera sans mono, courier new, courier, monospace" color="#000000"><span style="font-size:14px;white-space:pre-wrap">/b</span></font></div><div><font face="consolas, bitstream vera sans mono, courier new, courier, monospace" color="#000000"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div></font></span></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 20, 2016 at 5:25 PM, Magnus Kelly <span dir="ltr">&lt;<a href="mailto:magnus.kelly@gmail.com" target="_blank">magnus.kelly@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:calibri,sans-serif"><div>Appreciate the url form both Brian &amp; Don, I had found this on Confluence,  but I read it as more about how to detect a fax and send it to fax extension – that I get. Hence am I thus to understand that the logic would be if not triggering this transfer to the fax extension;  to let it “fall through” to the next action and send it to a normal user extension? </div><div><br></div><div>Assuming correct, is the voice caller experience acceptable in terms of timing for a human (impatient as ever)? Roughly whats the minimum time needed to detect a remote fax? Can ring back be played out in parallel to the fax detection stage ? I will try myself but I do not yet have the fax machines to experiment with, hence asking for advice. </div><div>Thanks</div><div><br></div><span><div style="font-family:calibri;font-size:11pt;text-align:left;color:black;border-width:1pt medium medium;border-style:solid none none;padding:3pt 0in 0in;border-top-color:rgb(181,196,223)"><span style="font-weight:bold">From: </span> &lt;<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@list<wbr>s.freeswitch.org</a>&gt; on behalf of Brian West &lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;<br><span style="font-weight:bold">Reply-To: </span> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freesw<wbr>itch.org</a>&gt;<br><span style="font-weight:bold">Date: </span> Tuesday, 20 September 2016 at 23:00<br><span style="font-weight:bold">To: </span> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freesw<wbr>itch.org</a>&gt;<br><span style="font-weight:bold">Subject: </span> Re: [Freeswitch-users] Fax / voice splitting question<br></div><div><div class="gmail-m_8818626071716768079h5"><div><br></div><div dir="ltr"><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+fax+detect" target="_blank">https://freeswitch.org/conflue<wbr>nce/display/FREESWITCH/mod_<wbr>dptools%3A+fax+detect</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 20, 2016 at 4:34 PM, Magnus Kelly <span dir="ltr">&lt;<a href="mailto:magnus.kelly@gmail.com" target="_blank">magnus.kelly@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:calibri,sans-serif"><div>Hello all ,</div><div><br></div><div>Please could someone share if its possible to split voice and fax calls, e.g. numbers that are used to also receive fax’s to be forwarded by SIP to FreeSwitch in order to answer calls and then somehow automatically determine between voice and fax calls and onward route to either fax extension or to a hunt group to find a person? I was thinking of looking for T.38 in the SDP, but then understood that this only appears in the actual fax transaction and thus bit late in the setup to determine routing.</div><div><br></div><div>Appreciate any tips if others have successfully found solutions to this call case.</div><div><br></div><div>Thanks</div><span><font color="#888888"><div>Magnus</div></font></span></div><br>______________________________<wbr>______________________________<wbr>_____________<br></blockquote></div></div></div></div></span></div></blockquote></div></div></div></div><br></blockquote></div><br></div></div></div></div>