[asterisk-users] Error in ReceiveFax with T.38 -- Asterisk 1.6.0.7-rc2
David Backeberg
dbackeberg at gmail.com
Fri Mar 27 09:42:47 CDT 2009
On Tue, Mar 24, 2009 at 1:57 PM, Santiago Gimeno
<santiago.gimeno at gmail.com> wrote:
> Hello,
>
> The NoOp output was not displayed at all. I'm assuming because of the
> failure in the ReceiveFax application. In fact, the verbose output
Try changing
[fax-in]
exten => 99999,1,Set(INCOMING_FAXFILE=/root/santi/fax/incoming.tif)
exten => 99999,n,Answer()
exten => 99999,n,Wait(3)
exten => 99999,n,ReceiveFax(${INCOMING_FAXFILE})
exten => 99999,n,NoOp(FAXSTATUS: ${FAXSTATUS}, FAXERROR: ${FAXERROR},
FAXMODE: ${FAXMODE}, REMOTESTATIONID: ${REMOTESTATIONID}, FAXPAGES:
${FAXPAGES}, FAXBITRATE: ${FAXBITRATE}, FAXRESOLUTION:
${FAXRESOLUTION})
to
[fax-in]
exten => 99999,s,1,Set(INCOMING_FAXFILE=/root/santi/fax/incoming.tif)
exten => 99999,s,n,Answer()
exten => 99999,s,n,Wait(3)
exten => 99999,s,n,ReceiveFax(${INCOMING_FAXFILE})
exten => 99999,h,1,NoOp(FAXSTATUS: ${FAXSTATUS}, FAXERROR: ${FAXERROR},
FAXMODE: ${FAXMODE}, REMOTESTATIONID: ${REMOTESTATIONID}, FAXPAGES:
${FAXPAGES}, FAXBITRATE: ${FAXBITRATE}, FAXRESOLUTION:
${FAXRESOLUTION})
exten => 99999,h,HangUp
You are correct that when receivefax completes you are now in hangup context.
More information about the asterisk-users
mailing list