mcbsys
Guru
- Joined
- Oct 16, 2008
- Messages
- 139
- Reaction score
- 5
I'm trying to set up inbound faxing on a PiaF install that uses a TDM400 card. Today, by setting the inbound route to
Fax Detection Type = Zaptel
Pause After Answer = 8
I got Asterisk to start receiving the fax, but it aborted before hanging up. The CLI log is below. There are no files in /var/spool/asterisk/fax.
I reported an earlier fax abort here. Since then I have completely re-installed PiaF, and when I was still having fax difficulties, I re-installed Nerd Vittle's fax.pbx (on top of itself).
Any idea what is going wrong, or how I could find out? This used to work pretty good with Trixbox and the same Digium card (though in a different machine).
Thanks,
Mark
* Running Asterisk Version : Asterisk 1.4.21.2
* Asterisk Source Version : 1.4.21.2
* Zaptel Source Version : 1.4.12.1
* Libpri Source Version : 1.4.8
* Addons Source Version : 1.4.7
Fax Detection Type = Zaptel
Pause After Answer = 8
I got Asterisk to start receiving the fax, but it aborted before hanging up. The CLI log is below. There are no files in /var/spool/asterisk/fax.
I reported an earlier fax abort here. Since then I have completely re-installed PiaF, and when I was still having fax difficulties, I re-installed Nerd Vittle's fax.pbx (on top of itself).
Any idea what is going wrong, or how I could find out? This used to work pretty good with Trixbox and the same Digium card (though in a different machine).
Thanks,
Mark
* Running Asterisk Version : Asterisk 1.4.21.2
* Asterisk Source Version : 1.4.21.2
* Zaptel Source Version : 1.4.12.1
* Libpri Source Version : 1.4.8
* Addons Source Version : 1.4.7
Code:
-- Starting simple switch on 'Zap/3-1'
-- Executing [s@from-zaptel:1] NoOp("Zap/3-1", "Entering from-zaptel with DID == ") in new stack
-- Executing [s@from-zaptel:2] Ringing("Zap/3-1", "") in new stack
-- Executing [s@from-zaptel:3] Set("Zap/3-1", "DID=s") in new stack
-- Executing [s@from-zaptel:4] NoOp("Zap/3-1", "DID is now s") in new stack
-- Executing [s@from-zaptel:5] GotoIf("Zap/3-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,8)
-- Executing [s@from-zaptel:8] NoOp("Zap/3-1", "Is a Zaptel Channel") in new stack
-- Executing [s@from-zaptel:9] Set("Zap/3-1", "CHAN=3-1") in new stack
-- Executing [s@from-zaptel:10] Set("Zap/3-1", "CHAN=3") in new stack
-- Executing [s@from-zaptel:11] Macro("Zap/3-1", "from-zaptel-3|s|1") in new stack
-- Executing [s@from-zaptel:12] NoOp("Zap/3-1", "Returned from Macro from-zaptel-3") in new stack
-- Executing [s@from-zaptel:13] Goto("Zap/3-1", "from-pstn|s|1") in new stack
-- Goto (from-pstn,s,1)
-- Executing [s@from-pstn:1] Set("Zap/3-1", "__FROM_DID=s") in new stack
-- Executing [s@from-pstn:2] ExecIf("Zap/3-1", "1 |Set|CALLERID(name)=") in new stack
-- Executing [s@from-pstn:3] Answer("Zap/3-1", "") in new stack
-- Executing [s@from-pstn:4] Wait("Zap/3-1", "8") in new stack
-- Redirecting Zap/3-1 to fax extension
== Spawn extension (from-pstn, fax, 0) exited non-zero on 'Zap/3-1'
-- Executing [fax@from-pstn:1] Goto("Zap/3-1", "ext-fax|in_fax|1") in new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax@ext-fax:1] StopPlayTones("Zap/3-1", "") in new stack
-- Executing [in_fax@ext-fax:2] GotoIf("Zap/3-1", "1?3:analog_fax|1") in new stack
-- Goto (ext-fax,in_fax,3)
-- Executing [in_fax@ext-fax:3] Macro("Zap/3-1", "faxreceive") in new stack
-- Executing [s@macro-faxreceive:1] Set("Zap/3-1", "FAXFILE=/var/spool/asterisk/fax/1232849249.6.tif") in new stack
-- Executing [s@macro-faxreceive:2] Set("Zap/3-1", "[email protected]") in new stack
-- Executing [s@macro-faxreceive:3] RxFAX("Zap/3-1", "/var/spool/asterisk/fax/1232849249.6.tif") in new stack
mypbx*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
root@mypbx:~ $ /usr/sbin/safe_asterisk: line 125: 6188 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
cat: /var/run/asterisk.pid: No such file or directory
Automatically restarting Asterisk.
mpg123: no process killed
Last edited by a moderator: