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

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Mar 27 15:44:01 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:                     feedback
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-27 15:44 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



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

---------------------------------------------------------------------- 
 (0119962) seandarcy (reporter) - 2010-03-27 15:44
 https://issues.asterisk.org/view.php?id=17064#c119962 
---------------------------------------------------------------------- 
Left t38pt_udptl = yes in general and set t38pt_udptl = no in the peer
definition. That didn't help the ring. And the fax mode became Audio. 

Then t38pt_udptl = yes in general and commented out t38pt_udptl in
side-sip peer definition. Again, no help with the ring, but fax mode was
T38.

I did this on both sides. The SendFax machine is my office 1.6.1.18 box.
So I would have thought the office * server is the "provider". 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-27 15:44 seandarcy      Note Added: 0119962                          
======================================================================




More information about the asterisk-bugs mailing list