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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 1 13:40:32 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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:                     closed
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:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-03-20 15:53 CDT
Last Modified:              2010-06-01 13:40 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



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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 13:40 pabelanger     Resolution               fixed => suspended  
2010-06-01 13:40 pabelanger     Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list