Hi
I am using:
- Debian 4.0r6
- FreepBX 2.5.1
- Asterisk 1.4.22.1
- No Zaptel
- No Libpri
- SpanDSP 0.0.4pre16 (also tried 0.0.5pre4)
- rx_fax, tx_fax and app_nv_faxdetect from AGX Extra Addons
I compiled Asterisk with those applications. They were installed successfully in /usr/lib/asterisk/modules. Now I have configured the only inbound route in FreepBX to receive the fax:
- Fax extension: system
- Fax email: [email protected]
- Fax detection type: NVFax
- Pause after answer: (empty)
In general settings i have this:
- Extension of fax machine for receiving faxes: system
- Email address to have faxes emailed to: [email protected]
- Email address that faxes appear to come from: [email protected]
The PSTN is connected to a Grandstream GXW4104, that redirects the call to Asterisk. When I receive a call, from the PSTN, the call is received correctly by Asterisk (the IVR is played). But when I send a fax from the PSTN, asterisk dies with this message:
asteriskCLI>
– Executing [7777@from-trunk:1] NoOp(“SIP/194-0072fd60”, “Catch-All DID Match - Found 7777 - You probably want a DID for this.”) in new stack
– Executing [7777@from-trunk:2] Goto(“SIP/194-0072fd60”, “ext-did|s|1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] Set(“SIP/194-0072fd60”, “__FROM_DID=s”) in new stack
– Executing [s@ext-did:2] Gosub(“SIP/194-0072fd60”, “app-blacklist-check|s|1”) in new stack
– Executing [s@app-blacklist-check:1] LookupBlacklist(“SIP/194-0072fd60”, “”) in new stack
– Executing [s@app-blacklist-check:2] GotoIf(“SIP/194-0072fd60”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/194-0072fd60”, “”) in new stack
– Executing [s@ext-did:3] ExecIf(“SIP/194-0072fd60”, “0 |Set|CALLERID(name)=unknown”) in new stack
– Executing [s@ext-did:4] Set(“SIP/194-0072fd60”, “FAX_RX=system”) in new stack
– Executing [s@ext-did:5] Set(“SIP/194-0072fd60”, "[email protected]
") in new stack
– Executing [s@ext-did:6] Answer(“SIP/194-0072fd60”, “”) in new stack
– Executing [s@ext-did:7] PlayTones(“SIP/194-0072fd60”, “ring”) in new stack
– Executing [s@ext-did:8] NVFaxDetect(“SIP/194-0072fd60”, “0|t”) in new stack
asteriskCLI>
Disconnected from Asterisk server
Executing last minute cleanups
Asterisk ending (0).
asterisk:/etc/asterisk# Asterisk ended with exit status 127
Asterisk died with code 127.
cat: /var/run/asterisk.pid: No existe el fichero o el directorio => File does not exists
Automatically restarting Asterisk.
mpg123: no process killed
194 is the number of the trunk.
Why is this happening? I have read the installation guides for fax support of FreePBX but they refer to versions like 0.0.2 of spandsp. Why so old versions? Should it work with newer versions? According to AGX Asterisk Addons:
FAQ: the fax addons are tested against:
- asterisk 1.4.17 + spanDSP pre15
- asterisk 1.4.17 + spanDSP pre16
- asterisk 1.4.17 + spanDSP pre18
Then won’t they work with the Asterisk 1.4.22.1 i have?
Thanks in advance and sorry by so long post.