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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 22 21:34:09 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:                     new
Asterisk Version:           1.6.2.6 
JIRA:                        
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-03-22 21:34 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



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

---------------------------------------------------------------------- 
 (0119688) ebroad (manager) - 2010-03-22 21:34
 https://issues.asterisk.org/view.php?id=17064#c119688 
---------------------------------------------------------------------- 
Can you post your config for side-sip(minus passwords etc. and including
any parent templates)? Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-22 21:34 ebroad         Note Added: 0119688                          
======================================================================




More information about the asterisk-bugs mailing list