Hello,<br><br>I want to offer SIP phone user a "custom fax-to-email" 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 ("You are now receiving a fax call, please check you email box")<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 "faxdetect is set to yes in general section of sip.conf".<br>I would say the following applies:<br>"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."<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 "sip show peer <foo>" doesn't (seem to) display this.<br><br>4. When I type "fax show settings" in, I've got (on an Asterisk 10 box):<br>
CLI> 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><br><br>This last line troubles me a little (did I forget to configure spandsp ?).<br>Should I care ?<br><br><br>Regards<br>