<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 8:40 AM, Greg Woods <span dir="ltr"><<a href="mailto:greg@gregandeva.net" target="_blank">greg@gregandeva.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've got a Digium Wildcard TDM410P with one POTS line and three<br>
extensions. One of the extensions is connected to a fax modem. This kind<br>
of works, but there's a gotcha. If I set faxdetect=incoming in<br>
chan_dahdi.conf, then incoming faxes do get routed to the modem and this<br>
all works, but outbound faxes fail, with a message like this:<br>
<br>
[Oct 29 21:57:09] WARNING[16732][C-00000000] app_dial.c: Unable to<br>
create channel of type 'DAHDI' (cause 17 - User busy)<br>
<br>
If I set faxdetect=no, then outbound faxes work, but of course incoming<br>
faxes do not get routed to the modem. I'm guessing that what is<br>
happening is that the "outbound" call coming in from the modem's channel<br>
is an "incoming" call on that channel, asterisk detects the fax and<br>
tries to route it to the same channel, resulting in busy.<br>
<br>
Is there any way around this catch-22? Is there some way to set<br>
faxdetect=incoming only on the one POTS line channel?<br>
<br>
The only alternative I can think of would be a kludgy Radio Shack-style<br>
solution like a manual switcher, that switches the modem between the<br>
connection to the dahdi channel (receive) and a direct connection to the<br>
POTS line (send). I'd really like not to have to resort to that.</blockquote><div><br></div><div>One thing you must remember about the [channels] section in chan_dahdi.conf <br>is that *all* configuration in the section is cumulative.   For example:<br>
</div><div>[channels]<br></div><div>echocancel = yes<br></div><div>faxdetect=incoming<br></div><div>signaling=fxs_ks<br></div><div>channel=1<br></div><div>; Channel 1 is created at this point with echocancel enabled, faxdetect is incoming,<br>
; and fxs_ks signaling.<br><br></div><div>faxdetect=no<br></div><div>channel=2<br>; Channel 2 is created at this point with echocancel enabled, faxdetect is no,<br>; and fxs_ks signaling.  The echocancel and signaling settings were set before<br>
; channel 1 was created and those settings are still in effect when channel 2<br>; is created.<br></div><div>
<br></div><div>Richard<br></div></div></div></div>