How to Configure Fax on asterisk


#1

Hi,

I have asterisk 11.25 on Centos 7.

I’ve installed 1 free channel fax, res_fax and res_fax_digium files. Using fax show stats, its giving me correct output. But I’m confused how to test it. I currently do not have inbound DID. Can I test it by sending fax from one extension to another?

Please see below posts for updates


#2

Guess no one uses fax anymore…


#3

Currently I’m trying to send fax using call file

channel: SIP/1110/ --> setting this is my trunk
Context: send-fax
Extension: sendfax
Priority: 1
Set: FAXFILE=/tmp/
Set: FaxID=003901042064013

not sure how to add sending fax number

I’m getting this error when executing the call file

 > 0x7f6e30017580 -- Probation passed - setting RTP source address to 64.154.41.156:13544
    -- Got SIP response 603 "Declined" back from 64.154.41.156:5060
       > Channel SIP/9572758250-00000016 was never answered.
[Nov  7 11:42:26] NOTICE[5807]: pbx_spool.c:414 attempt_thread: Call failed to go through, reason (5) Remote end is Busy
[Nov  7 11:42:26] NOTICE[5807]: pbx_spool.c:417 attempt_thread: Queued call to SIP/9572758250/8116486872/ expired without completion after 0 attempts

#4

The device at 64.154.41.156 rejected your request to send a call. This could be because your configuration isn’t quite right so it doesn’t know who you are. This is unrelated to the faxing. You would need to contact the upstream provider to inquire as to why you received a 603 Declined back.