Hello,<br><br>I want to offer SIP phone user a &quot;custom fax-to-email&quot; feature.<br>Here is how I would describe this feature:<br><br>- for every SIP phone,a custom email address is defined<br>- when a SIP phone answers an incoming call (from a trunk or another SIP endpoint), it detects the call is coming from a fax machine and then :<br>
+ it plays a pre-recorded audio file to the receiving user (&quot;You are now receiving a fax call, please check you email box&quot;)<br>+ while at the same time, the incoming channel is forwarded to an appropriate statement within Asterisk dialplan.<br>
- when an unanswered call is forwarded to a voicemail, the fax call is also detected and teated appropriately.<br><br><br>1. It is possible to play a pre-recorded audio file to the receiving user ? If positive, how can it be done ?<br>
<br>2. What is the exact purpose of sip.conf faxdetect setting in this case given the assumption &quot;faxdetect is set to yes in general section of sip.conf&quot;.<br>I would say the following applies:<br>&quot;faxdetect for the incoming channel has no influence at all.<br>
If faxdetect is set to yes or unset in the outgoing channel, then Asterisk will jump to fax extension.<br>If faxdetect is set to no in the outgoing channel, then Asterisk will jump to fax extension.&quot;<br><br>Do you agree ?<br>
<br>3. Using CLI, is there a way to read the faxdetect parameter value of a given SIP peer ?<br>To me &quot;sip show peer &lt;foo&gt;&quot; doesn&#39;t (seem to) display this.<br><br>4. When I type &quot;fax show settings&quot; in, I&#39;ve got (on an Asterisk 10 box):<br>
CLI&gt; fax show settings <br>FAX For Asterisk Settings:<br>    ECM: Enabled<br>    Status Events: Off<br>    Minimum Bit Rate: 2400<br>    Maximum Bit Rate: 14400<br>    Modem Modulations Allowed: V17,V27,V29<br><br><br>
FAX Technology Modules:<br><br>Spandsp (Spandsp FAX Driver) Settings:<br>CLI&gt;<br><br>This last line troubles me a little (did I forget to configure spandsp ?).<br>Should I care ?<br><br><br>Regards<br>