start the asterisk cli
and call 666 does it “work” do you see going thru the motions??
Now you understand that like 90 % of TB can not get this to work right???
If iot does “look” like it works then
cd /usr/local/bin
wget http://nerdvittles.com/trixbox123/mime-construct
chmod +x mime-construct
Good Luck…
Best bet is fax machine and copper line
kgtee Posted on: 2006/12/16 19:20
Home away from home
Joined: 2006/6/18
From:
Posts: 390 Re: Fax help on trixbox
There is a bug in freepbx on fax detection on zaptel line. Refer to http://www.freepbx.org/trac/ticket/1505.
The quick fix is to add the following in extensions_custom.conf:
[ext-did-custom]
exten => fax,1,Goto(ext-fax,in_fax,1)
This works for me.
johnny Posted on: 2006/12/18 11:30
Just popping in
Joined: 2006/8/30
From:
Posts: 10
Online Re: Fax help on trixbox
This is the CLI info upon fax in to my PSTN line, I set the destination as Misc Destinations.
– Starting simple switch on ‘Zap/3-1’
– Executing NoOp(“Zap/3-1”, “Entering from-zaptel with DID == “) in new stack
– Executing Set(“Zap/3-1”, “DID=s”) in new stack
– Executing NoOp(“Zap/3-1”, “DID is now s”) in new stack
– Executing GotoIf(“Zap/3-1”, “1?zapok:notzap”) in new stack
– Goto (from-zaptel,s,7)
– Executing NoOp(“Zap/3-1”, “Is a Zaptel Channel”) in new stack
– Executing Set(“Zap/3-1”, “CHAN=3-1”) in new stack
– Executing Set(“Zap/3-1”, “CHAN=3”) in new stack
– Executing Macro(“Zap/3-1”, “from-zaptel-3|s|1”) in new stack
– Executing NoOp(“Zap/3-1”, “Entering macro-from-zaptel-3 with DID = s”) in new stack
– Executing Set(“Zap/3-1”, “FROM_DID=s”) in new stack
– Executing Set(“Zap/3-1”, "[email protected]”) in new stack
– Executing Answer(“Zap/3-1”, “”) in new stack
– Executing PlayTones(“Zap/3-1”, “ring”) in new stack
– Executing NVFaxDetect(“Zap/3-1”, “6”) in new stack
– Executing Goto(“Zap/3-1”, “ext-miscdests|1|1”) in new stack
– Goto (ext-miscdests,1,1)
== Channel ‘Zap/3-1’ jumping out of macro ‘from-zaptel-3’
– Executing NoOp(“Zap/3-1”, “MiscDest: incoming fax”) in new stack
– Executing Dial(“Zap/3-1”, “Local/666@from-internal|”) in new stack
– Called 666@from-internal
– Executing Goto(“Local/666@from-internal-5290,2”, “ext-fax|in_fax|1”) in new stack
– Goto (ext-fax,in_fax,1)
– Executing StopPlayTones(“Local/666@from-internal-5290,2”, “”) in new stack
– Executing GotoIf(“Local/666@from-internal-5290,2”, “1?3:analog_fax|1”) in new stack
– Goto (ext-fax,in_fax,3)
– Executing Macro(“Local/666@from-internal-5290,2”, “faxreceive”) in new stack
– Executing Set(“Local/666@from-internal-5290,2”,
“FAXFILE=/var/spool/asterisk/fax/1166412060.2.tif”) in new stack
– Executing Set(“Local/666@from-internal-5290,2”,
"[email protected]”) in new stack
– Executing RxFAX(“Local/666@from-internal-5290,2”,
"/var/spool/asterisk/fax/1166412060.2.tif") in new stack
– Local/666@from-internal-5290,1 answered Zap/3-1
== Spawn extension (ext-miscdests, 1, 2) exited non-zero on ‘Zap/3-1’
== Spawn extension (macro-faxreceive, s, 3) exited non-zero on ‘Local/666@from-internal-5290,2’ in macro ‘faxreceive’
== Spawn extension (macro-faxreceive, s, 3) exited non-zero on ‘Local/666@from-internal-5290,2’
– Hungup ‘Zap/3-1’
– Starting simple switch on ‘Zap/3-1’
– Executing NoOp(“Zap/3-1”, “Entering from-zaptel with DID == “) in new stack
– Executing Set(“Zap/3-1”, “DID=s”) in new stack
– Executing NoOp(“Zap/3-1”, “DID is now s”) in new stack
– Executing GotoIf(“Zap/3-1”, “1?zapok:notzap”) in new stack
– Goto (from-zaptel,s,7)
– Executing NoOp(“Zap/3-1”, “Is a Zaptel Channel”) in new stack
– Executing Set(“Zap/3-1”, “CHAN=3-1”) in new stack
– Executing Set(“Zap/3-1”, “CHAN=3”) in new stack
– Executing Macro(“Zap/3-1”, “from-zaptel-3|s|1”) in new stack
– Executing NoOp(“Zap/3-1”, “Entering macro-from-zaptel-3 with DID = s”) in new stack
– Executing Set(“Zap/3-1”, “FROM_DID=s”) in new stack
– Executing Set(“Zap/3-1”, "[email protected]”) in new stack
– Executing Answer(“Zap/3-1”, “”) in new stack
– Executing PlayTones(“Zap/3-1”, “ring”) in new stack
– Executing NVFaxDetect(“Zap/3-1”, “6”) in new stack
– Executing Goto(“Zap/3-1”, “ext-miscdests|1|1”) in new stack
– Goto (ext-miscdests,1,1)
== Channel ‘Zap/3-1’ jumping out of macro ‘from-zaptel-3’
– Executing NoOp(“Zap/3-1”, “MiscDest: incoming fax”) in new stack
– Executing Dial(“Zap/3-1”, “Local/666@from-internal|”) in new stack
– Called 666@from-internal
– Executing Goto(“Local/666@from-internal-ddd9,2”, “ext-fax|in_fax|1”) in new stack
– Goto (ext-fax,in_fax,1)
– Executing StopPlayTones(“Local/666@from-internal-ddd9,2”, “”) in new stack
– Executing GotoIf(“Local/666@from-internal-ddd9,2”, “1?3:analog_fax|1”) in new stack
– Goto (ext-fax,in_fax,3)
– Executing Macro(“Local/666@from-internal-ddd9,2”, “faxreceive”) in new stack
– Executing Set(“Local/666@from-internal-ddd9,2”, “FAXFILE=/var/spool/asterisk/fax/1166412249.5.tif”) in new stack
– Executing Set(“Local/666@from-internal-ddd9,2”, "[email protected]”) in new stack
– Executing RxFAX(“Local/666@from-internal-ddd9,2”, “/var/spool/asterisk/fax/1166412249.5.tif”) in new stack
– Local/666@from-internal-ddd9,1 answered Zap/3-1
== Spawn extension (ext-miscdests, 1, 2) exited non-zero on ‘Zap/3-1’
== Spawn extension (macro-faxreceive, s, 3) exited non-zero on ‘Local/666@from-internal-ddd9,2’ in macro ‘faxreceive’
== Spawn extension (macro-faxreceive, s, 3) exited non-zero on ‘Local/666@from-internal-ddd9,2’
– Hungup ‘Zap/3-1’
And finally nothing received in my emailbox.
Anything wrong with it? I am really a newbie with fax…pls help me.