<br><br><div class="gmail_quote">2012/9/13 Eric Wieling <span dir="ltr"><<a href="mailto:EWieling@nyigc.com" target="_blank">EWieling@nyigc.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes. Trivial<br>
<br>
Off the top of my head:<br>
<br>
exten => <a href="tel:12125551212" value="+12125551212">12125551212</a>,1,Set(EMAIL=<a href="mailto:john.doe@example.com">john.doe@example.com</a>)<br>
exten => <a href="tel:12125551212" value="+12125551212">12125551212</a>,n,Answer<br>
exten => <a href="tel:12125551212" value="+12125551212">12125551212</a>,n,Wait(4)<br>
exten => <a href="tel:12125551212" value="+12125551212">12125551212</a>,n,Dial(SIP/1212)<br>
<br>
exten => fax,1,ReceiveFax(/tmp/myfax.tiff)<br>
exten => fax,n,AGI(yourfax2emailagi.php,${FAXEXTEN},${EMAIL})<br>
<br>
The Answer and Wait are required for faxdetection to work.<br></blockquote><div><br><br>It doesn't work for me : using your example, SIP phone 1212 user would pick its handset up when it starts to ring, he would hear CNG tone but nothing happens and dialplan's fax extension is not entered.<br>
In my setup, I used a fax machine connected to an Asterisk FXS port.<br>This machine dialed the SIP phone.<br><br>I also used SendFAX application with the very same SIP phone and it did work the same way: callee could hear fax tone and branching to fax extension didn't happen.<br>
Nothing in CLI showed fax tone recognition.<br><br><br>In your setup, which type of incoming channel was calling the extension 121255551212 ?<br><br>You did set SIP1212 faxdetect to yes, didn't you ?<br>Did you enter any value sup t38p_udptl parameter ?<br>
<br><br>As a side note, if I tweak FXS port setting to detect fax, it works.<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Olivier<br>
Sent: Thursday, September 13, 2012 6:20 AM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] Fax Detect on Demand<br>
<br>
<br>
<br>
2012/8/16 Eric Wieling <<a href="mailto:EWieling@nyigc.com">EWieling@nyigc.com</a>><br>
<br>
<br>
Using Asterisk 1.8.mumble. We would like to use fax detect on demand.<br>
<br>
Both chan_dahdi and chan_sip support setting fax detetect on a static basis,<br>
<br>
<br>
For curiosity's sake, could you make it work first using static settings ?<br>
<br>
<br>
<br>
<br>
but no way I've been able to find to enable/disable it on demand in the dialplan.<br>
<br>
In 1.4 we used the NVFaxDetect 3rd party app, but that no longer appears to be maintained.<br>
<br>
Does anyone have any suggestions?<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>