<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>VoIP Fax &#8211; Pasifik Telekom</title>
	<atom:link href="https://www.pasifiktelekom.com.tr/tag/voip-fax/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.pasifiktelekom.com.tr</link>
	<description>Pasifik Telekom</description>
	<lastBuildDate>Sat, 04 May 2024 19:45:30 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>

<image>
	<url>https://www.pasifiktelekom.com.tr/wp-content/uploads/2023/07/fav.png</url>
	<title>VoIP Fax &#8211; Pasifik Telekom</title>
	<link>https://www.pasifiktelekom.com.tr</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Send Fax using FreeSWITCH</title>
		<link>https://www.pasifiktelekom.com.tr/how-to-send-fax-using-freeswitch/</link>
		
		<dc:creator><![CDATA[İbrahim Cındık]]></dc:creator>
		<pubDate>Sun, 23 Jul 2023 13:03:15 +0000</pubDate>
				<category><![CDATA[Fax]]></category>
		<category><![CDATA[FreeSWITCH Fax]]></category>
		<category><![CDATA[VoIP Fax]]></category>
		<guid isPermaLink="false">https://www.pasifiktelekom.com.tr/?p=82</guid>

					<description><![CDATA[<p>How to Send Fax using FreeSWITCH You can transmit electronic documents to a destination fax machine using FreeSWITCH or Asterisk.Now in this tutorial we will show you the most common ...</p>
<p><a rel="nofollow" href="https://www.pasifiktelekom.com.tr/how-to-send-fax-using-freeswitch/">How to Send Fax using FreeSWITCH</a> yazısı ilk önce <a rel="nofollow" href="https://www.pasifiktelekom.com.tr">Pasifik Telekom</a> üzerinde ortaya çıktı.</p>
]]></description>
										<content:encoded><![CDATA[
<h1>How to Send Fax using FreeSWITCH</h1>
<p class="wp-block-paragraph">You can transmit electronic documents to a destination fax machine using FreeSWITCH or Asterisk.<br />Now in this tutorial we will show you the most common configuration and focus on simplest way to<br />run your Fax Command via FreeSWITCH.<br />Only TIFF documents can be transmitted, however it is possible to convert a number of graphical formats to TIFF format.</p>



<p class="wp-block-paragraph"><strong>STEP 1:</strong></p>



<p class="wp-block-paragraph">First of all you should install Dependencies.</p>



<p class="wp-block-paragraph">tiff2pdf command line</p>



<p class="wp-block-paragraph"><strong>CentOS:</strong></p>



<p class="wp-block-paragraph">CentOS</p>



<p class="wp-block-paragraph">Shell</p>



<figure class="wp-block-table">
<table>
<tbody>
<tr>
<td>12</td>
<td>yum install ghostscriptyum install libtiff</td>
</tr>
</tbody>
</table>
</figure>



<p class="wp-block-paragraph"><strong>Ubuntu:</strong></p>



<p class="wp-block-paragraph">Ubuntu:</p>



<p class="wp-block-paragraph">Shell</p>



<figure class="wp-block-table">
<table>
<tbody>
<tr>
<td>12</td>
<td>apt-get install ghostscriptapt-get install libtiff-tools</td>
</tr>
</tbody>
</table>
</figure>



<p class="wp-block-paragraph">this script important to convert document to TIFF format.<br />Ghostscript is the key tool for converting PDF files to FAX compatible TIFF files. You may see other programs being used for this job, but behind the scenes they usually use Ghostscript to do the hard work.<br />You can use Ghostscript for PDF/PS files. Here is an example, producing a standard resolution TIFF file.</p>



<p class="wp-block-paragraph">Shell</p>



<figure class="wp-block-table">
<table>
<tbody>
<tr>
<td>1</td>
<td>gs -q -r204x98 -g1728x1078 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=tiffg3 -sOutputFile=txfax.tiff &#8212; txfax.pdf</td>
</tr>
</tbody>
</table>
</figure>



<p class="wp-block-paragraph">Here is an example producing a fine resolution TIFF file:</p>



<p class="wp-block-paragraph">Shell</p>



<figure class="wp-block-table">
<table>
<tbody>
<tr>
<td>1</td>
<td>gs -q -r204x196 -g1728x2156 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=tiffg3 -sOutputFile=txfax.tiff &#8212; txfax.pdf</td>
</tr>
</tbody>
</table>
</figure>



<p class="wp-block-paragraph"><strong>STEP 2:</strong></p>



<p class="wp-block-paragraph">Setting up your gateway provider number that support VoIP service.</p>



<p class="wp-block-paragraph">${CONF}/sip_profiles/external/90XXXXXXXXXX.xml</p>



<p class="wp-block-paragraph">${CONF}/sip_profiles/external/90XXXXXXXXXX.xml</p>



<p class="wp-block-paragraph">XHTML</p>



<figure class="wp-block-table">
<table>
<tbody>
<tr>
<td>123456789</td>
<td>&lt;include&gt;  &lt;gateway name=&#8221;90XXXXXXXXXX&#8221;&gt;    &lt;param name=&#8221;username&#8221; value=&#8221;90XXXXXXXXXX&#8221;/&gt;    &lt;param name=&#8221;password&#8221; value=&#8221;YOURVOIPPASSWORD&#8221;/&gt;    &lt;param name=&#8221;realm&#8221; value=&#8221;sip.voipcomapny.com&#8221;/&gt;    &lt;param name=&#8221;proxy&#8221; value=&#8221;sip.voipcomapny.com&#8221;/&gt;    &lt;param name=&#8221;register&#8221; value=&#8221;true&#8221;/&gt;  &lt;/gateway&gt;&lt;/include&gt;</td>
</tr>
</tbody>
</table>
</figure>



<p class="wp-block-paragraph"><strong>STEP 3:</strong></p>



<p class="wp-block-paragraph">After restart your freeswitch by typing <code>service freeswitch restart</code>, now we are ready to originate fax call to your destination fax number, go to <code>cd /usr/local/freeswitch/bin</code> and type <code>./fs_cli</code> you will start freeswitch command line program to execute the following code:</p>



<p class="wp-block-paragraph">Shell</p>



<figure class="wp-block-table">
<table>
<tbody>
<tr>
<td>1</td>
<td>originate {ignore_early_media=true,absolute_codec_string=&#8217;PCMU,PCMA&#8217;,fax_enable_t38=true,fax_verbose=true,fax_use_ecm=true,fax_enable_t38_request=true}sofia/gateway/90XXXXXXXXXX/909999999999 &amp;txfax(&#8216;/path/to/file/sample.tiff&#8217;)</td>
</tr>
</tbody>
</table>
</figure>



<p class="wp-block-paragraph">And if this fails further retries with:</p>



<p class="wp-block-paragraph">Shell</p>



<figure class="wp-block-table">
<table>
<tbody>
<tr>
<td>1</td>
<td>originate {ignore_early_media=true,absolute_codec_string=&#8217;PCMU,PCMA&#8217;,fax_enable_t38=true,fax_verbose=true,fax_use_ecm=false,fax_enable_t38_request=false}sofia/gateway/90XXXXXXXXXX/909999999999 &amp;txfax(&#8216;/path/to/file/sample.tiff&#8217;)</td>
</tr>
</tbody>
</table>
</figure>



<p class="wp-block-paragraph">Follow the log result you will see if Fax has been received successfully.<br />If it not received check your sample.tiff format it should be compatible with tiff fax standart mode.<br />or check your installed codic “PCMU,PCMA” inside freeswitch.</p>



<p class="wp-block-paragraph"><strong>Common Issues:</strong></p>



<ul class="wp-block-list">
<li>Remote machine doesn’t support T38 (properly or at all), this is going to make things worse and is obviously common with PSTN machines.</li>



<li>A T38 gateway (or multiple) end up inbetween each transcode is going to hurt the chances of success</li>



<li>Carrier/Provider doesn’t support T38 well or is poor quality for standard codecs – Some carriers end up using several other carriers and the more carriers a call goes through or the lower the quality of carrier/route the harder (and sometimes much harder) faxing can be. A quality carrier is extremely important.</li>



<li>Some remote fax machines and PSTN lines can also be of low quality so while you may eventually be able to get good success overall some machines may prove to always be a challenge.</li>



<li>Make sure your tiff is at the right size, there are many sizes supported by fax machines but <strong>1728×1078</strong> is probably the most common (and is at standard resolution). Its roughly <strong>204x98dpi</strong>, “super fine” faxes are at higher resolutions. Ensuring the proper resolution and size is an important step to working with many remote fax machines.</li>



<li>Ensure you have ignore_early_media enabled, without it random/out of order media can screw things up</li>



<li>For your codecs you generally want to force PCMU/PCMA unless you know of success with something else better thats generally going to give you the best results.</li>



<li>Requesting T38 can sometimes hurt your chances by things that don’t properly handle or understand T38 causing it to drop.</li>
</ul>
<p><a rel="nofollow" href="https://www.pasifiktelekom.com.tr/how-to-send-fax-using-freeswitch/">How to Send Fax using FreeSWITCH</a> yazısı ilk önce <a rel="nofollow" href="https://www.pasifiktelekom.com.tr">Pasifik Telekom</a> üzerinde ortaya çıktı.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
