[asterisk-users] Problem with detecting fax on PRI/DAHDI channels

Eric Wieling EWieling at nyigc.com
Thu Jun 23 09:15:35 CDT 2011


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> Sawan Vithlani
> Sent: Thursday, June 23, 2011 10:12 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] Problem with detecting fax on
> PRI/DAHDI channels
>
> Hello all,
>
> I am using  call files to dial out to a set of PSTN numbers.
> The calls are going out fine and being handled correctly by
> the dial plan.
>
> The problem occurs when I accidentally call a fax machine. I
> would expect the dial plan to pick this up and jump to the
> "fax" extension in the current context. This is not happening.
>
> In the call file I send the call out via
> Dial(DAHDI/g0/XXXXXXXX) and then it goes to my dial plan context:
>
> [SendCall]
> exten => start,1,Answer()
>    same => n, Wait(5)
>    same => n, ..... ;; do some more stuff
>
> exten => fax,1,Verbose(got a Fax on ${EXTEN}) same =>n, Hangup()
>
> ;;;;
>
>  I do get a message on the CLI telling me "Channel 63
> detected a CED tone from the network" but still no jumping to
> the fax extension.
> This is while dialplan is in the Wait(5).
>
> CLI> core show version
> Asterisk 1.8.4.1-1digium1~natty built by pbuilder @ nighthawk on a
> x86_64 running Linux on 2011-05-23 22:05:17 UTC
>
> ISDN lines connected via Digium TE412P card.
>
> I have "faxdetect = both" in chan_dahdi.conf in the general
> section as well as specifically for the configured spans.

Show us your chan_dahdi.conf



More information about the asterisk-users mailing list