I’ve needed to use NVBackgroundDetect instead of NVFAXDetect - we put an outbound message warning callers to press START on their FAX machine instead of waiting for our side to generate FAX tones. Here’s what I added to FreePBX. It’s a hack because I continued to extend extension which doesn’t allow one to make variable the recording (incoming-fax) or the options (d):
Â
admin/extensions.class.php:
class ext_nvbgdetect extends extension {
       function output() {
               return “NVBackgroundDetect(incoming-fax|d|”.$this->data.")";
       }
}
Â
admin/modules/core/functions.inc.php (line 174):
                                       if ($item[‘answer’] == “3”) { // CustomFaxDetect
                                               $ext->add($context, $exten, ‘’, new ext_answer(’’));
                                               $ext->add($context, $exten, ‘’, new ext_nvbgdetect($item[‘wait’]));
                                       }
Â
admin/modules/core/page.did.php (line 154):
                                       <option value=“3” <?php echo ($answer == '3' ? 'SELECTED' : '')?>><?php echo _("CustomFax")?>
Â
I hope this is helpful to anyone. A more robust implementation would add gui elements for “recording” and “options”.
Post generated using Mail2Forum (http://www.mail2forum.com)