<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Oct 13, 2008 at 12:50 PM, Gordon Henderson <span dir="ltr">&lt;<a href="mailto:gordon%2Basterisk@drogon.net">gordon+asterisk@drogon.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Mon, 13 Oct 2008, Anthony Messina wrote:<br>
<br>
&gt; On Monday 13 October 2008 01:25:12 am Gordon Henderson wrote:<br>
&gt;&gt; On Sun, 12 Oct 2008, sean darcy wrote:<br>
&gt;&gt;&gt; Becasue of all the issues with fax over voip, we want to use pstn for<br>
&gt;&gt;&gt; our fax machine, but not dedicate a line just to fax.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m thinking of having asterisk answer the pstn line, check for fax<br>
&gt;&gt;&gt; tones, and route appropriately. In zapata ( chan_dahdi ) set<br>
&gt;&gt;&gt; faxdetect=incoming<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; then the dial plan would have<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [incoming-pstn]<br>
&gt;&gt;&gt; exten =&gt; fax,1,Dial(DAHDI/1) &nbsp;; the fax machine<br>
&gt;&gt;&gt; exten =&gt; fax,2,Hangup()<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; exten =&gt; s,1,Answer()<br>
&gt;&gt;&gt; exten =&gt; s,2,Dial(DAHDI/2) &nbsp; ; internal extension<br>
&gt;&gt;&gt; .............<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Would this work? I&#39;ll need another TDM410 card to do this, so I&#39;d like<br>
&gt;&gt;&gt; some reassurance before I go purchase it.<br>
&gt;&gt;<br>
&gt;&gt; You need to Answer() the call first, then insert a Wait(2). During that<br>
&gt;&gt; time, asterisk will be listning for fax tone and jump to the fax extension<br>
&gt;&gt; if it hears them.<br>
&gt;&gt;<br>
&gt;&gt; So:<br>
&gt;&gt;<br>
&gt;&gt; exten =&gt; s,1,Answer()<br>
&gt;&gt; exten =&gt; s,n,Wait(2)<br>
&gt;&gt; &nbsp; &nbsp;Ringing()<br>
&gt;&gt; &nbsp; &nbsp;Dial(DAHDI/2)<br>
&gt;&gt; &nbsp; &nbsp;Hangup()<br>
&gt;&gt;<br>
&gt;&gt; and<br>
&gt;&gt;<br>
&gt;&gt; exten =&gt; fax,1,Dial(DHADI/1)<br>
&gt;&gt; exten =&gt; fax,n,Hangup()<br>
&gt;<br>
&gt; would you also be able to detect fax tones during the Backgound app?<br>
<br>
</div></div>I&#39;m really not sure - I think you might have to try it!<br>
<div><div></div><div class="Wj3C7c"><br>
Gordon<br>
</div></div></blockquote><div><br>The best way to do this is have a dedicated&nbsp; fax line, do not use fax detect, and route any calls to that zap/dahdi port to where you have the dedicated fax or just keep the fax out of Asterisk entirely.&nbsp; <br>
<br>I am used to large scale fax setup, so I am more familiar with DIDs assigned to FAX and then use IAXmodem to Hylafax.&nbsp; Sounds like bigtime overkill for your use.<br><br>You could look at <a href="http://www.trustfax.com">www.trustfax.com</a> (no affiliation but a happy customer), better service than <a href="http://www.efax.com">www.efax.com</a> as far as I am concerned and better pricing.&nbsp; My faxing requirements are very low though.<br>
<br>Most customers that insist of dual use POTS lines invariably complain about the &quot;delay&quot;, which I have to explain, especially if they have caller ID too.<br></div></div><br clear="all"><br>-- <br>Thanks,<br>Steve Totaro <br>
+18887771888 (Toll Free)<br>+12409381212 (Cell)<br>+12024369784 (Skype)<br>
</div>