[asterisk-bugs] [JIRA] (ASTERISK-19917) When WaitExten is called immediately on a new SIP call - DTMF fails to be detected with the RFC2833 and In-band methods, but succeeds with SIP INFO

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 05:51:10 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-19917:
-----------------------------------

    Affects Version/s: 13.18.4

> When WaitExten is called immediately on a new SIP call - DTMF fails to be detected with the RFC2833 and In-band methods, but succeeds with SIP INFO
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-19917
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19917
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/General
>    Affects Versions: SVN, 13.18.4
>         Environment: Ubuntu Server 12.04 LTS AMD64, Asterisk 10 SVN , multiple SIP phones by different manufacturers
>            Reporter: Jackmcbarn
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: debuglog
>
>
> When calling WaitExten immediately after answering a call, no DTMF is ever read. For DTMF to be read, a Wait() instruction or similar must happen first. For example:
> [waitexten-test]
> exten => 3000,1,Answer()        ; Doesn't work
>         same => n,WaitExten(10)
>  
> exten => 3001,1,Wait(0.01)      ; Doesn't work
>         same => n,Answer()
>         same => n,WaitExten(10)
>  
> exten => 3002,1,Wait(0.02)      ; Works
>         same => n,Answer()
>         same => n,WaitExten(10)
>  
> exten => 3003,1,Answer(20)      ; Doesn't work
>         same => n,WaitExten(10)
>  
> exten => 3004,1,Answer()        ; Doesn't work
>         same => n,Wait(0.02)
>         same => n,WaitExten(10)
>  
> exten => 3005,1,Answer()        ; Works
>         same => n,Wait(0.03)
>         same => n,WaitExten(10)
> Only extensions 3002 and 3005 above allow DTMF dialing. This happens whether RTP or in-band DTMF signaling is used, but not when SIP INFO DTMF signaling is used. DTMF begin and end messages are visible in the console during calls that work, but not calls that do not work. I have been able to reproduce this bug 100% of the time when using the failing extensions above.
> [16:57] <jackmcbarn> WaitExten isn't working if i use it immediately when a call begins. ive ran several tests on this and detailed my results at http://pastebin.com/YXZtwY8i
> [17:14] <[TK]D-Fender> jackmcbarn: playback(silence/2) and then show us your configs and the actual call attempt.
> [17:19] <jackmcbarn> Playback(silence/2) makes it work
> [17:19] <jackmcbarn> but so does a Wait(0.03) before or after answering
> [17:24] <[TK]D-Fender> jackmcbarn: RTp setup may take a second or two dependsing...
> [17:27] <jackmcbarn> if i call WaitExten immediately, no DTMF ever reads correctly, no matter how long i wait to send it
> [17:36] <jackmcbarn> when i set my phone to SIP INFO for dtmf, it works fine with all of them
> [17:37] <[TK]D-Fender> because that is SIP, not RTP
> [17:38] <[TK]D-Fender> SIP is used to negotiate RTP, but the SIP part is already accepted
> [17:39] <jackmcbarn> so the bug happens when i call WaitExten before RTP is set up and the DTMF comes over RTP
> [17:39] <[TK]D-Fender> that'd ddo it



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list