On 03/13/2012 04:18 PM, Mike Diehl wrote:
So I'm still trying to get this to work... (I'm top posting, but the details
are below, if you want/need background info)

I'd like Asterisk to detect incoming faxes and redirect them elsewhere.  The
details aren't important, as long as I get the detection working.

I've added this to my sip.conf file.  Probably overkill, but I'll tune it once
it works:

[general]
faxdetect=both

This will have no effect; see below.

My sip registrations are all in a Mysql RT database, so I added this column to
my table:

faxdetect char(3) default 'no'

I've set faxdetect to 'yes' for the devices that I expect to be receiving fax
calls.

'faxdetect' is not a chan_sip configuration option (unlike chan_dahdi). It's a feature that can be enabled on a channel via the CHANNEL() dialplan function. In the dialplan itself, you'd use something like this:

exten => 1234,5,Set(CHANNEL(faxdetect)=yes)

To do this in a configuration file, so that it will be applied to channels as soon as they are created, use 'setvar':

[peer1]
setvar=CHANNEL(faxdetect)=yes

I'm not sure how this would be done using Realtime configuration, but it should be possible. I'd encourage you to test it out using a non-Realtime peer first, just to make sure that it works the way you expect.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: [email protected] | SIP: [email protected] | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to