[asterisk-bugs] [Asterisk 0017799]: ReceiveFax doesn't work with attended transfer

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 6 14:16:34 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17799 
====================================================================== 
Reported By:                OrNix
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17799
Category:                   Applications/app_fax
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.11-rc2 
JIRA:                       SWP-2011 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-04 22:40 CDT
Last Modified:              2010-08-06 14:16 CDT
====================================================================== 
Summary:                    ReceiveFax doesn't work with attended transfer
Description: 
SIP/208 (Panasonic-Fax in Linksys SPA2102) calls SIP/115 (Linksys SPA504G)
with app_dial. SIP/115 answers and presses Xfer-button then dials 158.
After i hear CNG from ReceiveFax, i press Xfer on SPA504G again to complete
transfer. After that SIP/208 and ReceiveFax are connected, but i don't hear
CNG in Panasonic-Fax, so fax transmission from SIP/208 to ReceiveFax fails.

[fax]
exten => s,1,Answer()
exten =>
s,n,Set(FAXFILE=/mnt/fax_kw12/fax_${STRFTIME(${EPOCH},,%Y-%m-%d_%H-%M-%S)}.tif)
exten => s,n,ReceiveFax(${FAXFILE})
exten => h,1,System(chmod 777 ${FAXFILE})
exten => h,n,NoOp(${FAXSTATUS})
exten => h,n,NoOp(${FAXERROR})

[office1]
exten => _XXX,1,Dial(SIP/${EXTEN},,tT)
exten => 158,1,Goto(fax,s,1)

This scheme doesn't work only with Attended Transfer and works fine with
Blind.

====================================================================== 

---------------------------------------------------------------------- 
 (0125660) lmadsen (administrator) - 2010-08-06 14:16
 https://issues.asterisk.org/view.php?id=17799#c125660 
---------------------------------------------------------------------- 
You should not be using attended transfers here. You should be using blind
transfer to send the call to ReceiveFax() which you've indicated works.

Additionally, even better yet would really be to use automatic fax
detection.

However, we've discussed this and while this MAY be an issue, we can't
come up with any logical reason why you would ever do this, because both
the blind transfer and automatic fax detection are really the logical
solutions to this problem, and an attended transfer in this scenario seems
odd. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-06 14:16 lmadsen        Note Added: 0125660                          
======================================================================




More information about the asterisk-bugs mailing list