[asterisk-bugs] [Asterisk 0010731]: DISA prevents DTMF detection w/ FXO port on TDM400

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Dec 24 22:56:11 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10731 
====================================================================== 
Reported By:                devnullzero
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10731
Category:                   Applications/app_disa
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-15-2007 11:16 CDT
Last Modified:              12-24-2007 22:56 CST
====================================================================== 
Summary:                    DISA prevents DTMF detection w/ FXO port on TDM400
Description: 
DISA prevents DTMF detection capability when using the FXO 
port of the TDM400.

I got a confirmation from an other user:
http://lists.digium.com/pipermail/asterisk-users/2007-September/196518.html

Also tested with svn 1.4 branch rev82444.
====================================================================== 

---------------------------------------------------------------------- 
 devnullzero - 12-24-07 22:56  
---------------------------------------------------------------------- 
Here your Christmas gift ;-)

Don't hesitate to ask for anything else. 

Example with no detection at all (sometime I can get it working, but it
seems to be by pure chance). Via IAX or locally absolutely not problem with
DISA.

Asterisk 1.4.16.2 
Zaptel Version 1.4.7.1

asterisk -f -C /usr/local/etc/asterisk  -vvvvvvvvv -g  -ddddddddd -c

exten => 9000,1,Answer
exten => 9000,n,Set(TIMEOUT(digit)=5)		
exten => 9000,n,Set(TIMEOUT(response)=10)
exten => 9000,n,Set(CALLERID(all)=F ${CALLERID(name)} <${CALLERID(num)}>)
		
exten => 9000,n,Playback(vm-password&beep)
exten => 9000,n,DISA(987654|internal)



Got event 18 (Ring Begin)...
Got event 2 (Ring/Answered)...
Launching 'Goto'
    -- Executing [s at inbound-pstn:1] Goto("Zap/1-1", "context|s|1") in new
stack
    -- Goto (context,s,1)
Launching 'Set'
    -- Executing [s at context:1] Set("Zap/1-1", "CHANNEL(language)=fr") in
new stack
Launching 'Set'
    -- Executing [s at context:2] Set("Zap/1-1", "TIMEOUT(digit)=3") in new
stack
    -- Digit timeout set to 3
Launching 'Set'
    -- Executing [s at context:3] Set("Zap/1-1", "TIMEOUT(response)=10") in
new stack
    -- Response timeout set to 10
Launching 'Answer'
    -- Executing [s at context:4] Answer("Zap/1-1", "") in new stack
Notification of state change to be queued on device/channel Zap/1-1
Took Zap/1-1 off hook
Enabled echo cancellation on channel 1
Engaged echo training on channel 1
Launching 'Wait'
    -- Executing [s at context:5] Wait("Zap/1-1", "1") in new stack
No provider found, checking channel drivers for Zap - 1
Changing state for Zap/1 - state 2 (In use)
Launching 'BackGround'
    -- Executing [s at context:6] BackGround("Zap/1-1", "voice/welcome") in
new stack
Set channel Zap/1-1 to write format gsm
Scheduling timer at 160 sample intervals
    -- <Zap/1-1> Playing 'voice/welcome' (language 'fr')
DTMF digit: 9 on Zap/1-1
DTMF end '9' received on Zap/1-1, duration 0 ms
DTMF end accepted without begin '9' on Zap/1-1
DTMF end passthrough '9' on Zap/1-1
Scheduling timer at 0 sample intervals
Set channel Zap/1-1 to write format ulaw
Oooh, got something to jump out with ('9')!
DTMF digit: 0 on Zap/1-1
DTMF end '0' received on Zap/1-1, duration 0 ms
DTMF end accepted without begin '0' on Zap/1-1
DTMF end passthrough '0' on Zap/1-1
DTMF digit: 0 on Zap/1-1
DTMF end '0' received on Zap/1-1, duration 0 ms
DTMF end accepted without begin '0' on Zap/1-1
DTMF end passthrough '0' on Zap/1-1
DTMF digit: 0 on Zap/1-1
DTMF end '0' received on Zap/1-1, duration 0 ms
DTMF end accepted without begin '0' on Zap/1-1
DTMF end passthrough '0' on Zap/1-1
  == CDR updated on Zap/1-1
Launching 'Answer'
    -- Executing [9000 at context:1] Answer("Zap/1-1", "") in new stack
Launching 'Set'
    -- Executing [9000 at context:2] Set("Zap/1-1", "TIMEOUT(digit)=5") in
new stack
    -- Digit timeout set to 5
Launching 'Set'
    -- Executing [9000 at context:3] Set("Zap/1-1", "TIMEOUT(response)=10")
in new stack
    -- Response timeout set to 10
Function result is ''
Function result is ''
Launching 'Set'
    -- Executing [9000 at context:4] Set("Zap/1-1", "CALLERID(all)=F  <>") in
new stack
Launching 'Playback'
    -- Executing [9000 at context:5] Playback("Zap/1-1", "vm-password&beep")
in new stack
Set channel Zap/1-1 to write format gsm
Scheduling timer at 160 sample intervals
    -- <Zap/1-1> Playing 'vm-password' (language 'fr')
Scheduling timer at 0 sample intervals
Scheduling timer at 0 sample intervals
Set channel Zap/1-1 to write format ulaw
Set channel Zap/1-1 to write format gsm
Scheduling timer at 160 sample intervals
    -- <Zap/1-1> Playing 'beep' (language 'fr')
Scheduling timer at 0 sample intervals
Scheduling timer at 0 sample intervals
Set channel Zap/1-1 to write format ulaw
Launching 'DISA'
    -- Executing [9000 at context:6] DISA("Zap/1-1", "987654|internal") in
new stack
Digittimeout: 5000
Responsetimeout: 10000
Mailbox: 
Context: internal
Set channel Zap/1-1 to write format slin
Scheduling timer at 160 sample intervals
Internal timing is disabled (option_internal_timing=0 chan->timingfd=17)
Generator got voice, switching to phase locked mode
Scheduling timer at 0 sample intervals
Internal timing is disabled (option_internal_timing=0 chan->timingfd=17)
<============ repeated around 500 times
<snip>
 <==== NOT DETECTION: STILL GETTING THE DIALING TONE WHILE ENTERING
PASSWORD =====>

<snip>

DISA password entry timeout on chan Zap/1-1
Requested indication 8 on channel Zap/1-1
Internal timing is disabled (option_internal_timing=0 chan->timingfd=17)
<============ repeated around 500 times

<snip>

Set channel Zap/1-1 to write format ulaw
Scheduling timer at 0 sample intervals
Spawn extension (context,9000,6) exited non-zero on 'Zap/1-1'
  == Spawn extension (context, 9000, 6) exited non-zero on 'Zap/1-1'
Soft-Hanging up channel 'Zap/1-1'
Hanging up channel 'Zap/1-1'
zt_hangup(Zap/1-1)
Hangup: channel: 1 index = 0, normal = 7, callwait = -1, thirdcall = -1
disabled echo cancellation on channel 1
Set option TDD MODE, value: OFF(0) on Zap/1-1
Updated conferencing on 1, with 0 conference users
    -- Hungup 'Zap/1-1'
Notification of state change to be queued on device/channel Zap/1-1
No provider found, checking channel drivers for Zap - 1 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-24-07 22:56  devnullzero    Note Added: 0075915                          
======================================================================




More information about the asterisk-bugs mailing list