[Asterisk-Users] Fax Detection on X100Ps

Ariel Batista abatista at avionica.com
Wed Mar 17 13:53:09 MST 2004


Jim Sneeringer wrote:
> Your fax extension looks just like mine, except I'm using an FXS
> card. Mine redirects properly, but the faxes are garbled.
>
> I never found documentation for the "d" option, and it doesn't seem
> to help in my case.

Here is how I use the "d" option.

exten => s,1,Dial(Zap/103|20|d)
exten => s,2,Dial(Zap/104|20|d)
exten => s,102,Dial(Zap/104|20|d)

I have 2 fax devices if one is busy it then tries the 2nd one.



>
> Jim
>
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Bob
> Klepfer Sent: Wednesday, March 17, 2004 2:11 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Fax Detection on X100Ps
>
> I hate to add to the broken record-like melange of "my fax won't work"
> messages, but everything I've tried with all I could learn from the
> archives has not yet worked to get my fax machine (an HP combo
> tupperware tub) to receive a fax.  In the combo's defense, I can't
> verify that the incoming fax tones are even detected on the * server.
> (is -vvvvc enough v's to see "Fax detected" messages from the zap
> channel?).  The fax extension is never dialed and the incoming fax
> gets dumped to my timeout extension.  Can anyone spot the bonehead
> move I
> made somewhere?
>
> The setup:
> * Server with 2 X100p cards handling our two incoming analog lines.
>   (Gentoo, if it matters---2.4.22-r7 sources)
> * SIP only (so far) internally---no FXS cards
> * An HP combo fax/copier/printer/dish cleaner connected to a GS
>   Handytone 286 ATA
> * Incoming and outgoing voice calls are routed fine
> * Although I didn't have another machine to fax TO, the HP dials out
>   and spews CNG tones
> * zap context is "default", "default" context contains fax extension
> * on reload, status includes: "-- Added extension 'fax' priority 1 to
>   default"
>
>
> Version: (cvs'd last night and built, previous version cvs'd and built
> mid-Feb)
> ===================
> Asterisk CVS-01/27/04-23:36:00 built by root at asterisk on a i686
> running Linux
>
>
> Config files:
> ==================
> in extensions.conf:
> ------------------
> [default]
> ;
> exten => s,1,Answer
> exten => s,2,Ringing
> exten => s,3,Wait,2
> exten => s,4,Background(photonx/welcome)
> exten => s,5,Background(photonx/choose)
> exten => s,6,Background(photonx/directory)
> exten => fax,1,Dial(SIP/ata4fax) ; [1]
> exten => fax,2,Hangup()
> ;
> <snip>
> -------------------
> [1] (Awaiting an opportunity to test "d" option mentioned on list
> (documentation for this?))
>
>
> ===================
> in sip.conf:
> -------------------
> [general]
> port = 5060
> bindaddr = 0.0.0.0
> context = internal
>
> <snip>
>
> [ata4fax]
> type=friend
> username=ata4fax
> secret=atafax
> context=internal
> host=dynamic
> disallow=all
> allow=ulaw
> dmtfmode=inband             ; (Was "info": neither an issue, I think)
> canreinvite=no
> -------------------
>
>
> ===================
> in zapata.conf:
> -------------------
>
> [channels]
> ;                  ; generally stock - no calling options on our lines
> language=en
> context=default
> usecallerid=no
> hidecallerid=no
> callwaiting=no
> usecallingpres=yes
> callwaitingcallerid=no
> threewaycalling=no
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> ;echotraining=yes
> ;relaxdtmf=yes
> rxgain=10.0
> txgain=5.0
> group=1
> callgroup=1
> pickupgroup=1
> immediate=yes
> callerid=asreceived
> amaflags=documentation
> ;busydetect=yes
> ;busycount=4
> signalling=fxs_ks
> channel => 1-2
> -------------------
>
>
>
>
> Best regards,
> Bob
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list