[Asterisk-Dev] txfax and fun

Mark Zedwick markz at uspops.com
Tue Apr 19 07:33:11 MST 2005


Okay, so here is my "setup". I have PRI incoming to a Cisco 5350, that among
other things, converts my calls to SIP for me and passes them to *, which is
my PBX. This allowed me to move my main office to another location without
giving up my original calling area or breaking my PRI contracts with the
LEC.

The Cisco 5350 supports T.38, and I can receive incoming faxes via this
scenario just fine. I've had a 100% success rate with a dozen or so 1 page
faxes that I have sent from the normal PSTN to *, which emails them to me as
PDF's. Works like a champ.

I'm running CVS-HEAD for * so I can get the DB driven config. I need that
for my application, and it's cleaner than my program that rewrote the config
files each time a change was made. I'm using spandsp-0.0.2pre15, and after
fiddling with the makefile, I got * to build okay with the rxfax and txpfax
stuff in there.

I can't send a fax for the life of me. I built the text file at the bottom,
and am specifying one of the inbound faxes I received from rxfax, so I'm
pretty confident that the .tif is "good". I copy that file to
/var/spool/asterisk/outgoing, and the following debug shows up on the
console.

This is my first post to the dev list, so if I'm better off in the users
list, let me know.

sipserver*CLI> show version
Asterisk CVS-HEAD-04/18/05-14:22:32 built by root at sipserver.cvo.uspops.com
on a i686 running Linux
sipserver*CLI>
Verbosity is at least 13
    -- Attempting call on SIP/XXXX1234567890 at xxx.xxx.xxx.xxx for application
txfax(/var/spool/asterisk/fax/1234567890/1112740316.19.tif|caller) (Retry 1)
Apr 19 07:06:10 NOTICE[30813]: rtp.c:318 process_rfc3389: RFC3389 support
incomplete.  Turn off on client if possible
       > Channel SIP/xxx.xxx.xxx.xxx-366c was answered.
       > Lauching
txfax(/var/spool/asterisk/fax/1234567890/1112740316.19.tif|caller) on
SIP/xxx.xxx.xxx.xxx-366c
Apr 19 07:06:23 WARNING[30813]: chan_sip.c:2916 process_sdp: Unknown SDP
media type in offer: image 18912 udptl t38
Apr 19 07:29:05 NOTICE[30813]: pbx_spool.c:241 attempt_thread: Call
completed to SIP/XXXX1234567890 at xxx.xxx.xxx.xxx



/var/spool/asterisk/outgoing/fax
Channel:SIP/XXXX1234567890 at xxx.xxx.xxx.xxx
MaxRetries: 0
RetryTime: 20
WaitTime: 10
Application: txfax
Data: /var/spool/asterisk/fax/1234567890/1112740316.19.tif|caller





More information about the asterisk-dev mailing list