[asterisk-bugs] [Asterisk 0015264]: ReceiveFAX does not produce CED tones, fax reception times out on DAHDI channels
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jun 17 19:34:35 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15264
======================================================================
Reported By: vmikhelson
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15264
Category: Applications/app_fax
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.6.0.9
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-06-03 14:52 CDT
Last Modified: 2009-06-17 19:34 CDT
======================================================================
Summary: ReceiveFAX does not produce CED tones, fax reception
times out on DAHDI channels
Description:
Asterisk takes a fax call on a DAHDI channel, properly switches to a "fax"
dialplan. Sending end continues sending tones, never receives anything back
from Asterisk, eventually times out.
======================================================================
----------------------------------------------------------------------
(0106591) vmikhelson (reporter) - 2009-06-17 19:34
https://issues.asterisk.org/view.php?id=15264#c106591
----------------------------------------------------------------------
Upgraded to Asterisk 1.6.0.10, still no luck.
-Vladimir
Sample CLI output:
-- Starting simple switch on 'DAHDI/1-1'
-- Executing [s at from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=s") in new
stack
-- Executing [s at from-pstn:2] Gosub("DAHDI/1-1",
"app-blacklist-check,s,1") in new stack
-- Executing [s at app-blacklist-check:1] GotoIf("DAHDI/1-1",
"0?blacklisted") in new stack
-- Executing [s at app-blacklist-check:2] Return("DAHDI/1-1", "") in new
stack
-- Executing [s at from-pstn:3] ExecIf("DAHDI/1-1", "0
?Set(CALLERID(name)=8478492100)") in new stack
-- Executing [s at from-pstn:4] Ringing("DAHDI/1-1", "") in new stack
-- Executing [s at from-pstn:5] Answer("DAHDI/1-1", "") in new stack
-- Executing [s at from-pstn:6] Wait("DAHDI/1-1", "0") in new stack
-- Executing [s at from-pstn:7] Set("DAHDI/1-1",
"__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s at from-pstn:8] Set("DAHDI/1-1",
"CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s at from-pstn:9] Goto("DAHDI/1-1", "timeconditions,1,1")
in new stack
-- Goto (timeconditions,1,1)
-- Executing [1 at timeconditions:1] GotoIfTime("DAHDI/1-1",
"07:00-22:15|*|*|*?ivr-2,s,1") in new stack
-- Goto (ivr-2,s,1)
-- Executing [s at ivr-2:1] Set("DAHDI/1-1",
"MSG=custom/you-have-reached") in new stack
-- Executing [s at ivr-2:2] Set("DAHDI/1-1", "LOOPCOUNT=0") in new stack
-- Executing [s at ivr-2:3] Set("DAHDI/1-1", "__DIR-CONTEXT=default") in
new stack
-- Executing [s at ivr-2:4] Set("DAHDI/1-1", "_IVR_CONTEXT_ivr-2=") in
new stack
-- Executing [s at ivr-2:5] Set("DAHDI/1-1", "_IVR_CONTEXT=ivr-2") in new
stack
-- Executing [s at ivr-2:6] GotoIf("DAHDI/1-1", "1?begin") in new stack
-- Goto (ivr-2,s,9)
-- Executing [s at ivr-2:9] Set("DAHDI/1-1", "TIMEOUT(digit)=3") in new
stack
-- Digit timeout set to 3
-- Executing [s at ivr-2:10] Set("DAHDI/1-1", "TIMEOUT(response)=10") in
new stack
-- Response timeout set to 10
-- Executing [s at ivr-2:11] Set("DAHDI/1-1", "__IVR_RETVM=") in new
stack
-- Executing [s at ivr-2:12] ExecIf("DAHDI/1-1",
"1?Background(custom/you-have-reached)") in new stack
-- <DAHDI/1-1> Playing 'custom/you-have-reached.slin' (language 'en')
-- Executing [s at ivr-2:13] WaitExten("DAHDI/1-1", ",") in new stack
-- Redirecting DAHDI/1-1 to fax extension
== Spawn extension (ivr-2, fax, 1) exited non-zero on 'DAHDI/1-1'
-- Executing [fax at ivr-2:1] Goto("DAHDI/1-1", "ext-fax,in_fax,1") in
new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax at ext-fax:1] StopPlayTones("DAHDI/1-1", "") in new
stack
-- Executing [in_fax at ext-fax:2] GotoIf("DAHDI/1-1",
"1?3:analog_fax,1") in new stack
-- Goto (ext-fax,in_fax,3)
-- Executing [in_fax at ext-fax:3] Macro("DAHDI/1-1", "faxreceive") in
new stack
-- Executing [s at macro-faxreceive:1] NoOp("DAHDI/1-1", "**** FAX
RECEIVE ****") in new stack
-- Executing [s at macro-faxreceive:2] Set("DAHDI/1-1",
"FAXFILE=/var/spool/asterisk/fax/1245283050.9-rx.tif") in new stack
-- Executing [s at macro-faxreceive:3] Set("DAHDI/1-1",
"EMAILADDR=vlad at mikhelson.com") in new stack
-- Executing [s at macro-faxreceive:4] Set("DAHDI/1-1",
"GLOBAL(LASTFAXCALLERNUM)=8475551212") in new stack
== Setting global variable 'LASTFAXCALLERNUM' to '8475551212'
-- Executing [s at macro-faxreceive:5] Set("DAHDI/1-1",
"GLOBAL(LASTFAXCALLERNAME)=ACME Co.") in new stack
== Setting global variable 'LASTFAXCALLERNAME' to 'ACME Co.'
-- Executing [s at macro-faxreceive:6] NoOp("DAHDI/1-1", "**** SETTING
FAXOPT ****") in new stack
-- Executing [s at macro-faxreceive:7] Set("DAHDI/1-1",
"FAXOPT(ecm)=yes") in new stack
-- Executing [s at macro-faxreceive:8] Set("DAHDI/1-1",
"FAXOPT(headerinfo)=Asterisk FAX RX") in new stack
-- Executing [s at macro-faxreceive:9] Set("DAHDI/1-1",
"FAXOPT(localstationid)=1-847-656-8614") in new stack
-- Executing [s at macro-faxreceive:10] Set("DAHDI/1-1",
"FAXOPT(maxrate)=14400") in new stack
-- Executing [s at macro-faxreceive:11] Set("DAHDI/1-1",
"FAXOPT(minrate)=2400") in new stack
-- Executing [s at macro-faxreceive:12] NoOp("DAHDI/1-1", "FAXOPT(ecm) :
yes") in new stack
-- Executing [s at macro-faxreceive:13] NoOp("DAHDI/1-1",
"FAXOPT(headerinfo) : Asterisk FAX RX") in new stack
-- Executing [s at macro-faxreceive:14] NoOp("DAHDI/1-1",
"FAXOPT(localstationid) : 1-847-555-9898") in new stack
-- Executing [s at macro-faxreceive:15] NoOp("DAHDI/1-1",
"FAXOPT(maxrate) : 14400") in new stack
-- Executing [s at macro-faxreceive:16] NoOp("DAHDI/1-1",
"FAXOPT(minrate) : 2400") in new stack
-- Executing [s at macro-faxreceive:17] NoOp("DAHDI/1-1", "**** RECEIVING
FAX ****") in new stack
-- Executing [s at macro-faxreceive:18] ReceiveFAX("DAHDI/1-1",
"/var/spool/asterisk/fax/1245283050.9-rx.tif") in new stack
-- Executing [s at macro-faxreceive:19] NoOp("DAHDI/1-1", "FAXOPT(ecm) :
no") in new stack
-- Executing [s at macro-faxreceive:20] NoOp("DAHDI/1-1",
"FAXOPT(filename) : /var/spool/asterisk/fax/1245283050.9-rx.tif") in new
stack
-- Executing [s at macro-faxreceive:21] NoOp("DAHDI/1-1",
"FAXOPT(headerinfo) : Asterisk FAX RX") in new stack
-- Executing [s at macro-faxreceive:22] NoOp("DAHDI/1-1",
"FAXOPT(localstationid) : 1-847-656-8614") in new stack
-- Executing [s at macro-faxreceive:23] NoOp("DAHDI/1-1",
"FAXOPT(maxrate) : 14400") in new stack
-- Executing [s at macro-faxreceive:24] NoOp("DAHDI/1-1",
"FAXOPT(minrate) : 2400") in new stack
-- Executing [s at macro-faxreceive:25] NoOp("DAHDI/1-1", "FAXOPT(pages)
: 0") in new stack
-- Executing [s at macro-faxreceive:26] NoOp("DAHDI/1-1", "FAXOPT(rate)
: 2400") in new stack
-- Executing [s at macro-faxreceive:27] NoOp("DAHDI/1-1",
"FAXOPT(remotestationid) : ") in new stack
-- Executing [s at macro-faxreceive:28] NoOp("DAHDI/1-1",
"FAXOPT(resolution) : unknown") in new stack
-- Executing [s at macro-faxreceive:29] NoOp("DAHDI/1-1", "FAXOPT(status)
: FAILED") in new stack
-- Executing [s at macro-faxreceive:30] NoOp("DAHDI/1-1",
"FAXOPT(statusstr) : FAX_NO_FAX") in new stack
-- Executing [s at macro-faxreceive:31] NoOp("DAHDI/1-1", "FAXOPT(error)
: T1_TIMEOUT") in new stack
-- Executing [in_fax at ext-fax:4] Hangup("DAHDI/1-1", "") in new stack
Issue History
Date Modified Username Field Change
======================================================================
2009-06-17 19:34 vmikhelson Note Added: 0106591
======================================================================
More information about the asterisk-bugs
mailing list