<div dir="ltr"><p dir="ltr" style="font-size:12.8px">Sorry I wrote it while testing which is why the overall tone changes throughout.</p><p dir="ltr" style="font-size:12.8px">The without should should be without the execute_on_answer.</p><p dir="ltr" style="font-size:12.8px">I have a solution that works well enough, In that I have a documentable configuration that should work for all use cases on my particular implementation. If the user wants to use T38, they need to request it.</p></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 August 2016 at 07:56, Andrew Cassidy <span dir="ltr"><<a href="mailto:andee@bytz.co.uk" target="_blank">andee@bytz.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Sorry I wrote it while testing which is why the overall tone changes throughout.</p>
<p dir="ltr">The without should should be without the execute_on_answer.</p>
<p dir="ltr">I have a solution that works well enough, In that I have a documentable configuration that should work for all use cases on my particular implementation. If the user wants to use T38, they need to request it. </p><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><div class="gmail_quote">On 4 Aug 2016 17:37, "Serge S. Yuriev" <<a href="mailto:me@nevian.org" target="_blank">me@nevian.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Your with and without t38 looks same for me - is this by intent?<br>
I'm a little puzzled with your mail - have you every success?<br>
<br>
On 04/08/16 17:47, Andrew Cassidy wrote:<br>
> Ok lets go into details a little more:<br>
><br>
> User <--> FS <--> Provider<br>
><br>
> When User sends a fax, provider detects tones and renegotiates with t38.<br>
> I can handle this case fine using sip_execute_on_image=t38_gatew<wbr>ay<br>
><br>
> Now, one way or another I also want the a-leg to be t38 if possible. Be<br>
> that via reinvite from FS or sepcifically requested by User. I can't<br>
> make this work at all.<br>
><br>
> If FreeSWITCH renegotiates with User and User rejects T38, Freeswitch<br>
> does not reinvite with the original codecs.<br>
><br>
> If User requests t38, fax negotiation fails in some cases, although that<br>
> may be irrelevant.<br>
><br>
> So, here's my current configuration, that kind of works:<br>
><br>
> <action application="export" data="fax_enable_t38=true" /><br>
> <action application="export" data="sip_execute_on_image=t38<wbr>_gateway self<br>
> nocng" /><br>
><br>
> To test the User end (in this case another FreeSWITCH box for testing):<br>
><br>
> With T38:<br>
><br>
> originate {execute_on_answer='t38_gatewa<wbr>y<br>
> peer',fax_verbose=true,ignore_<wbr>early_media=true,fax_ident=xxx<wbr>x,fax_header='Test<br>
> Fax',absolute_codec_string=PCM<wbr>A,origination_caller_id_number<wbr>=xxxx}sofia/gateway/xxxx/xxxx<br>
> &txfax('/home/andrew/test_fax.<wbr>tiff')<br>
><br>
> Without T38:<br>
><br>
> originate {execute_on_answer='t38_gatewa<wbr>y<br>
> peer',fax_verbose=true,ignore_<wbr>early_media=true,fax_ident=xxx<wbr>x,fax_header='Test<br>
> Fax',absolute_codec_string=PCM<wbr>A,origination_caller_id_number<wbr>=xxxx}sofia/gateway/xxxx/xxxx<br>
> &txfax('/home/andrew/test_fax.<wbr>tiff')<br>
><br>
> However, the following fails:<br>
><br>
> originate<br>
> {fax_enable_t38=true,fax_enabl<wbr>e_t38_request=true,fax_verbose<wbr>=true,ignore_early_media=true,<wbr>fax_ident=xxxx,fax_header='<wbr>Test<br>
> Fax',absolute_codec_string=PCM<wbr>A,origination_caller_id_number<wbr>=xxxx}sofia/gateway/xxxx/xxxx<br>
> &txfax('/home/andrew/test_fax.<wbr>tiff')<br>
><br>
> I think this configuration will work for now, the User end can decide<br>
> freely if they want to send t38 requests to FS or not.<br>
><br>
> On 4 August 2016 at 14:39, Brian West <<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a><br>
> <mailto:<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>>> wrote:<br>
><br>
> You also do NOT want pass thru set if you're doing this.<br>
><br>
> On Thu, Aug 4, 2016 at 4:02 AM, Andrew Cassidy<br>
> <<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.<wbr>co.uk</a><br>
> <mailto:<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebserv<wbr>ices.co.uk</a>>> wrote:<br>
><br>
> Hi all,<br>
><br>
> Just realised the server I'm having issues with is an old wheezy<br>
> server running 1.4.26. I will test with latest and report back.<br>
><br>
> Kind regards,<br>
><br>
> On 4 August 2016 at 09:55, Andrew Cassidy<br>
> <<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.<wbr>co.uk</a><br>
> <mailto:<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebserv<wbr>ices.co.uk</a>>> wrote:<br>
><br>
> Good morning all,<br>
><br>
> I've been playing with faxing and t38 over the last few<br>
> days. I use a wholesale provider who detects and reinvites<br>
> for t38, and have implemented the same in my systems.<br>
> Passing t38 through unmodified is not an issue.<br>
><br>
> The issue I do have, is in the event that the sender refuses<br>
> the reinvite, I'd like freeswitch to transcode. In theory,<br>
> this is set up correctly, but see this error message<br>
> repeated over and over and ultimately the fax fails:<br>
><br>
> [DEBUG] mod_spandsp_fax.c:1756<br>
> sofia/external/<a href="mailto:xxx@provider.com" target="_blank">xxx@provider.c<wbr>om</a> <mailto:<a href="mailto:xxx@provider.com" target="_blank">xxx@provider.com</a>><br>
> Error decoding UDPTL (172 bytes)<br>
><br>
> Every other scenario I have worked through is working fine.<br>
><br>
> For reference, the fax-specific dialplan entries:<br>
><br>
> <action application="export" data="fax_enable_t38=true"/><br>
> <action application="export"<br>
> data="fax_enable_t38_request=<wbr>true"/><br>
> <action application="export" data="t38_passthru=true"/><br>
> <action application="export"<br>
> data="nolocal:sip_execute_on_<wbr>image=t38_gateway self" /><br>
> <action application="set"<br>
> data="execute_on_answer=t38_g<wbr>ateway peer" /><br>
><br>
> Thanks in advance.<br>
><br>
> --<br>
> *Andrew Cassidy BSc (Hons) MBCS SSCA*<br>
> Managing Director<br>
><br>
> <a href="tel:03303%20880%20960" value="+443303880960" target="_blank">03303 880 960</a><br>
> <tel:03303%20880%20960> <a href="mailto:andrew@cassidyweb.co.uk" target="_blank">andrew@cassidyweb.co.uk</a><br>
> <mailto:<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebserv<wbr>ices.co.uk</a>> <a href="http://www.cassidyweb.co.uk" rel="noreferrer" target="_blank">www.cassidyweb.co.uk</a> <<a href="http://www.cassidywebservices.co.uk" rel="noreferrer" target="_blank">http://www.cassidywebservices<wbr>.co.uk</a>><br>
><br>
><br>
><br>
><br>
> --<br>
> *Andrew Cassidy BSc (Hons) MBCS SSCA*<br>
> Managing Director<br>
><br>
> <a href="tel:03303%20880%20960" value="+443303880960" target="_blank">03303 880 960</a> <tel:03303%20880%20960> <a href="mailto:andrew@cassidyweb.co.uk" target="_blank">andrew@cassidyweb.co.uk</a><br>
> <mailto:<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebserv<wbr>ices.co.uk</a>> <a href="http://www.cassidyweb.co.uk" rel="noreferrer" target="_blank">www.cassidyweb.co.uk</a><br>
> <<a href="http://www.cassidywebservices.co.uk" rel="noreferrer" target="_blank">http://www.cassidywebservice<wbr>s.co.uk</a>><br>
><br>
> _____________________________<wbr>______________________________<wbr>______________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> <mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.<wbr>org</a>><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolution<wbr>s.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.<wbr>org</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.freesw<wbr>itch.org</a><br>
> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@list<wbr>s.freeswitch.org</a>><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/m<wbr>ailman/listinfo/freeswitch-use<wbr>rs</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.free<wbr>switch.org/mailman/options/<wbr>freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
><br>
> --<br>
><br>
> */Brian West/*<br>
> <a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a> <mailto:<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>><br>
><br>
><br>
> */Twitter: @FreeSWITCH , @briankwest/*<br>
> <a href="http://www.freeswitchbook.com" rel="noreferrer" target="_blank">http://www.freeswitchbook.com</a><br>
> <a href="http://www.freeswitchcookbook.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchcookbook.com</a><br>
> <a href="https://www.gofundme.com/freeswitch_ubuntu" rel="noreferrer" target="_blank">https://www.gofundme.com/free<wbr>switch_ubuntu</a><br>
><br>
> Got Bugs? Report them here <<a href="https://freeswitch.org/jira" rel="noreferrer" target="_blank">https://freeswitch.org/jira</a>>! |<br>
> Reddit: /r/freeswitch <<a href="https://www.reddit.com/r/freeswitch" rel="noreferrer" target="_blank">https://www.reddit.com/r/free<wbr>switch</a>><br>
><br>
> *T:*<a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> <tel:%2B19184209001> | *F:*<a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a><br>
> <tel:%2B19184209002> | *M:*+1918424WEST (9378)<br>
> *iNUM:*<a href="tel:%2B883%205100%201420%209001" value="+883510014209001" target="_blank">+883 5100 1420 9001</a> | *ISN:*410*543 | *Skype:*briankwest<br>
><br>
><br>
> _____________________________<wbr>______________________________<wbr>______________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> <mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.<wbr>org</a>><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolution<wbr>s.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.<wbr>org</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.freesw<wbr>itch.org</a><br>
> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@list<wbr>s.freeswitch.org</a>><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/m<wbr>ailman/listinfo/freeswitch-use<wbr>rs</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.free<wbr>switch.org/mailman/options/<wbr>freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
><br>
> --<br>
> *Andrew Cassidy BSc (Hons) MBCS SSCA*<br>
> Managing Director<br>
><br>
> <a href="tel:03303%20880%20960" value="+443303880960" target="_blank">03303 880 960</a> <a href="mailto:andrew@cassidyweb.co.uk" target="_blank">andrew@cassidyweb.co.uk</a><br>
> <mailto:<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservi<wbr>ces.co.uk</a>> <a href="http://www.cassidyweb.co.uk" rel="noreferrer" target="_blank">www.cassidyweb.co.uk</a><br>
> <<a href="http://www.cassidywebservices.co.uk" rel="noreferrer" target="_blank">http://www.cassidywebservices<wbr>.co.uk</a>><br>
><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/<wbr>freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
--<br>
Serge S. Yuriev<br>
Lead VoIP engineer<br>
<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/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><b>Andrew Cassidy BSc (Hons) MBCS SSCA</b><div>Managing Director<div><div><img src="https://docs.google.com/uc?export=download&id=0B48A-71LkjxcRUlpZlNFZmY5Q2s&revid=0B48A-71LkjxcaWJXYm5XZjdGY1czZFF1citBazFCVXV6R0ZnPQ"><br></div><div><div>03303 880 960 <a href="mailto:andrew@cassidywebservices.co.uk" style="font-size:12.8px" target="_blank">andrew@cassidyweb.co.uk</a> <a href="http://www.cassidywebservices.co.uk" style="font-size:12.8px" target="_blank">www.cassidyweb.co.uk</a></div></div></div></div></div></div></div></div></div>
</div>