[asterisk-bugs] [Asterisk 0017064]: redirect to fax extension only after ring

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 18 15:13:56 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17064 
====================================================================== 
Reported By:                seandarcy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17064
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.6 
JIRA:                       SWP-1444 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-20 15:53 CDT
Last Modified:              2010-05-18 15:13 CDT
====================================================================== 
Summary:                    redirect to fax extension only after ring
Description: 
Sending fax over SIP using app_fax to 1.6.2.6. faxdetect=yes is set in
sip.conf.

extensions.conf:

[incoming]
exten => fax,1,NoOp(Fax Detected)  ;; the fax line
exten => fax,n,GoTo(incoming-fax,s,1)
exten => fax,n,Hangup()            ;; the fax machine

exten =>s,1,Answer()
exten =>s,n,Wait(100)
exten =>s,n,NoOp(" callerid: "${CALLERID(all)})
exten =>s,n,Dial(${House_Phones},60)
.......

But fax calls don't go to the fax extension until after one ring. 
As you can see I've increased Wait to 100. But the same thing happens
whether Wait is 4, 8 or 100. One ring on the House_Phones, then fax.

    -- Executing [s at incoming:1] Answer("SIP/side-sip-0000001d", "") in new
stack
    -- Executing [s at incoming:2] Wait("SIP/side-sip-0000001d", "100") in
new stack
    -- Executing [s at incoming:3] NoOp("SIP/side-sip-0000001d", "" callerid:
""asterisk" <asterisk>") in new stack
    -- Executing [s at incoming:4] Dial("SIP/side-sip-0000001d",
"DAHDI/g0,60") in new stack
    -- Called g0
    -- DAHDI/1-1 is ringing
  == Redirecting 'SIP/side-sip-0000001d' to fax extension
    -- Hungup 'DAHDI/1-1'
  == Spawn extension (incoming, fax, 1) exited non-zero on
'SIP/side-sip-0000001d'
    -- Executing [fax at incoming:1] NoOp("SIP/side-sip-0000001d", "Fax
Detected") in new stack
    -- Executing [fax at incoming:2] Goto("SIP/side-sip-0000001d",
"incoming-fax,s,1") in new stack



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

---------------------------------------------------------------------- 
 (0122100) russell (administrator) - 2010-05-18 15:13
 https://issues.asterisk.org/view.php?id=17064#c122100 
---------------------------------------------------------------------- 
Please try the latest version of 1.6.2, as I think there was a recent
change that will fix this.  Enable the "transmit_silence" option in
asterisk.conf and give it another try. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-18 15:13 russell        Note Added: 0122100                          
======================================================================




More information about the asterisk-bugs mailing list