[Asterisk-Users] Receiving faxes via SIP

Chris Tuska chris at tuska.us
Fri Mar 11 15:08:33 MST 2005


Hello All,

I am looking to receive faxes via my inbound SIP, but I can get it to answer the fax.  Now I did test the SIP inbound to a phone and that does work it is just the fax part I am having issues with any help would be great.

This is the error I am getting

Mar 11 15:08:49 NOTICE[14322]: rtp.c:430 ast_rtp_read: RTP: Received packet with bad UDP checksum
Mar 11 15:08:49 WARNING[14322]: pbx.c:1945 ast_pbx_run: Timeout, but no rule 't' in context 'from-Sipmedia2'

extensions.conf

[from-Sipmedia2]
;second line in or Fax line
exten => s,1,Answer 
exten => fax,2,Goto(fax,2901,1)

[fax] 
exten => 2901,1,Macro(faxreceive) 
exten => h,1,System(/var/lib/asterisk/scripts/mailfax "${CALLERIDNUM}" "${CALLEDFAX}" "${EXTNAME}" "${EXTEMAIL}" "${FAXFILE}" "${EXT
COMPANY}") 

[macro-faxreceive]
 exten => s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${CALLEDFAX}/${UNIQUEID})
 exten => s,2,SetVar(EXTMAIL=chris at address)
 exten => s,3,NoOP()
 exten => s,4,SetVar(EXTNAME=Unknown)
 exten => s,5,NoOP()
 exten => s,6,SetVar(EXTCOMPANY=Company)
 exten => s,7,rxfax(${FAXFILE}.tif)

Thanks,

Chris Tuska
Network Engineer
CCNA, CCSA

In theory, theory and practice are the same. In practice, they aren't
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050311/5e30e59f/attachment.htm


More information about the asterisk-users mailing list