<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Oct 13, 2008 at 12:50 PM, Gordon Henderson <span dir="ltr"><<a href="mailto:gordon%2Basterisk@drogon.net">gordon+asterisk@drogon.net</a>></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>
> On Monday 13 October 2008 01:25:12 am Gordon Henderson wrote:<br>
>> On Sun, 12 Oct 2008, sean darcy wrote:<br>
>>> Becasue of all the issues with fax over voip, we want to use pstn for<br>
>>> our fax machine, but not dedicate a line just to fax.<br>
>>><br>
>>> I'm thinking of having asterisk answer the pstn line, check for fax<br>
>>> tones, and route appropriately. In zapata ( chan_dahdi ) set<br>
>>> faxdetect=incoming<br>
>>><br>
>>> then the dial plan would have<br>
>>><br>
>>> [incoming-pstn]<br>
>>> exten => fax,1,Dial(DAHDI/1) ; the fax machine<br>
>>> exten => fax,2,Hangup()<br>
>>><br>
>>> exten => s,1,Answer()<br>
>>> exten => s,2,Dial(DAHDI/2) ; internal extension<br>
>>> .............<br>
>>><br>
>>> Would this work? I'll need another TDM410 card to do this, so I'd like<br>
>>> some reassurance before I go purchase it.<br>
>><br>
>> You need to Answer() the call first, then insert a Wait(2). During that<br>
>> time, asterisk will be listning for fax tone and jump to the fax extension<br>
>> if it hears them.<br>
>><br>
>> So:<br>
>><br>
>> exten => s,1,Answer()<br>
>> exten => s,n,Wait(2)<br>
>> Ringing()<br>
>> Dial(DAHDI/2)<br>
>> Hangup()<br>
>><br>
>> and<br>
>><br>
>> exten => fax,1,Dial(DHADI/1)<br>
>> exten => fax,n,Hangup()<br>
><br>
> would you also be able to detect fax tones during the Backgound app?<br>
<br>
</div></div>I'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 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. <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. 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. My faxing requirements are very low though.<br>
<br>Most customers that insist of dual use POTS lines invariably complain about the "delay", 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>