[asterisk-users] Asterisk and Faxing

Barry Fawthrop barry at isscp.com
Thu Dec 24 09:22:02 CST 2009


Barry Fawthrop wrote:
> Hi All
> 
> I have been looking around and haven not been able to find a working example
> I have a fresh/new  install of Asterisk 1.6.2.0  with dahdi 2.2.1 and libpri 1.4.10.2
> 
> I use a sangoma A200 card so I am using wanpipe 3.4.7
> If I use zaptel which I read I need for app_rxfax then asterisk crashes with segfaults on startup
> 
> asterisk[2624]: segfault at 30353466 ip b7eb538b sp bffda26c error 4 in libc-2.7.so[b7e3f000+155000]
> asterisk[2647]: segfault at 30353466 ip b7e6338b sp bfb7708c error 4 in libc-2.7.so[b7ded000+155000]
> asterisk[2666]: segfault at 30353466 ip b7dfe38b sp bfa6e4ec error 4 in libc-2.7.so[b7ded000+155000]
> 
> When I use dahdi at least asterisk will start but app_rxfax will fail
> with  unknown symbol in ast_register_application
> 
> I could only find a precompiled-linux-spandsp-app-fax   is there anyway to get the source
> and compile for myself?  Where I can compile for dahdi and not zaptel.
> Or can someone explain why the segfaulting??
> 
> 
> my machine O/S is:  Debian   kernel : 2.6.26-2-686   i686
> 
> My goal is to connect a fax machine to the the sangoma card so I can send
> paper based faxes.
> 
> I have a teliax provided SIP phone number which will be the fax number to receive all faxes
> and have them emailed to a central email address, hopefully in PDF format. where they can
> be printed and/or forwarded.
> 
> It would be nice to have the incoming fax emailed to a specific address based on either
> subject or senders phone number. If this is possible I would like to know how.
> 
> 
> Thanks in advance
> 
> Barry
> 

Looking at SIP debug of an incoming fax call I see

v=0
o=root 2007366114 2007366115 IN IP4 24.xx.xx.xx
s=Asterisk PBX 1.6.2.0
c=IN IP4 24.xx.xx.xx
t=0 0
m=image 4308 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxFillBitRemoval
a=T38FaxTranscodingMMR
a=T38FaxTranscodingJBIG
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:1400
a=T38FaxUdpEC:t38UDPFEC


Yes my udptl.conf file has


udptlstart = 4000
udptlend = 4999
T38FaxUdpEC = t38UDPRedundancy
T38FaxMaxDatagram = 400
VoipFaxMaxRate = 5
T38MaxBitRate = 14400
;udptlchecksums=no
udptlfecentries = 3
udptlfecspan = 3
use_even_ports = yes     ;;   tried both  no and yes


It would appear from the BitRate and UdpEC that my udptl.conf file is not being used?
Or am I missing something?



More information about the asterisk-users mailing list