Hi all,
I have Centos 6.5, Asterisk 11.13.0 and FreePBX 2.5. I installed Asterisk Digium fax free license through the FreePBX interface. I was able to send fax successfully. But I have problem with receiving. I can not receive fax at all. I created extension 101, enabled fax detection and added inbound route 49XXXXXXXXXXX which I pointed to the Fax Recipient i.e. created extension. When I try to send fax, it looks like Asterisk does not execute the ReceiveFax application at all, instead it jumps to [ext-local] context and execute Dial. What am I missing ? Any ideas how to fix it ?
-- Executing [49XXXXXXXXXXX@from-trunk:11] Set("SIP/myprovider-trunk-00000012", "FAX_DEST=from-did-direct^101^1") in new stack
-- Executing [49XXXXXXXXXXX@from-trunk:12] Set("SIP/myprovider-trunk-00000012", "FAXOPT(faxdetect)=yes") in new stack
-- Executing [49XXXXXXXXXXX@from-trunk:13] Answer("SIP/myprovider-trunk-00000012", "") in new stack
-- Executing [49XXXXXXXXXXX@from-trunk:14] Wait("SIP/myprovider-trunk-00000012", "4") in new stack
== Redirecting 'SIP/myprovider-trunk-00000012' to fax extension due to CNG detection
== Spawn extension (from-trunk, fax, 1) exited non-zero on 'SIP/myprovider-trunk-00000012'
-- Executing [fax@from-trunk:1] Goto("SIP/myprovider-trunk-00000012", "from-did-direct,101,1") in new stack
-- Goto (from-did-direct,101,1)
-- Executing [101@from-did-direct:1] GotoIf("SIP/myprovider-trunk-00000012", "1?ext-local,101,1") in new stack
-- Goto (ext-local,101,1)
****after the macros, asterisk execute Dial and after some time hangup the call****
Executing [s@macro-dial-one:44] Dial("SIP/myprovider-trunk-00000014", "SIP/101,,Ttr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/101
-- SIP/101-00000015 is ringing
== Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5
== Spawn extension (macro-dial-one, s, 44) exited non-zero on 'SIP/myprovider-trunk-00000014' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'SIP/myprovider-trunk-00000014' in macro 'exten-vm'
== Spawn extension (ext-local, 101, 2) exited non-zero on 'SIP/myprovider-trunk-00000014'
-- Executing [h@ext-local:1] Macro("SIP/myprovider-trunk-00000014", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] ExecIf("SIP/myprovider-trunk-00000014", "0?Set(CDR(recordingfile)=.wav)") in new stack
-- Executing [s@macro-hangupcall:2] GotoIf("SIP/myprovider-trunk-00000014", "1?theend") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] Hangup("SIP/myprovider-trunk-00000014", "") in new stack
Thanks for help