[asterisk-bugs] [JIRA] (ASTERISK-24261) Strange behaviour with collect digits in DISA

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Aug 22 16:25:29 CDT 2014


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

Richard Mudgett updated ASTERISK-24261:
---------------------------------------

    Description: 
When DISA feature is used a strange behaviour happens with collect digits.
Any being digits entered were duplicated.

Extensions.conf
{noformat}
exten => 502,1,Goto(Trama,disa,1)
[Trama]
exten => disa,1,DISA(no-password,Trama)
exten => _XXX.,1,NoOp(_X. EXTEN Value ----->${EXTEN})
exten => _XXX.,n,Dial(DAHDI/g0/${EXTEN})
{noformat}

Verbose output
{noformat}
dial 001123456789 ---> 000011112233445566778899
    -- Executing [502 at from-internal:1] Goto("SIP/106-00000043", "Trama,disa,1") in new stack
    -- Goto (Trama,disa,1)
    -- Executing [disa at Trama:1] DISA("SIP/106-00000043", "no-password,Trama") in new stack
    -- Executing [000011112233445566778899 at Trama:1] NoOp("SIP/106-00000043", "_X. EXTEN Value ----->000011112233445566778899") in new stack
    -- Executing [000011112233445566778899 at Trama:2] Dial("SIP/106-00000043", "DAHDI/g0/000011112233445566778899") in new stack
    -- Called DAHDI/g0/000011112233445566778899
{noformat}

dial 9101 --->  99110011
{noformat}
     -- Executing [502 at from-internal:1] Goto("SIP/106-00000044", "Trama,disa,1") in new stack
    -- Goto (Trama,disa,1)
    -- Executing [disa at Trama:1] DISA("SIP/106-00000044", "no-password,Trama") in new stack
    -- Executing [99110011 at Trama:1] NoOp("SIP/106-00000044", "_X. EXTEN Value ----->99110011") in new stack
    -- Executing [99110011 at Trama:2] Dial("SIP/106-00000044", "DAHDI/g0/99110011") in new stack
    -- Called DAHDI/g0/99110011
{noformat}


  was:
When DISA feature is used a strange behaviour happens with collect digits.
Any being digits entered were duplicated.

Extensions.conf
exten => 502,1,Goto(Trama,disa,1)
[Trama]
exten => disa,1,DISA(no-password,Trama)
exten => _XXX.,1,NoOp(_X. EXTEN Value ----->${EXTEN})
exten => _XXX.,n,Dial(DAHDI/g0/${EXTEN})

Verbose output
 
dial 001123456789 ---> 000011112233445566778899
    -- Executing [502 at from-internal:1] Goto("SIP/106-00000043", "Trama,disa,1") in new stack
    -- Goto (Trama,disa,1)
    -- Executing [disa at Trama:1] DISA("SIP/106-00000043", "no-password,Trama") in new stack
    -- Executing [000011112233445566778899 at Trama:1] NoOp("SIP/106-00000043", "_X. EXTEN Value ----->000011112233445566778899") in new stack
    -- Executing [000011112233445566778899 at Trama:2] Dial("SIP/106-00000043", "DAHDI/g0/000011112233445566778899") in new stack
    -- Called DAHDI/g0/000011112233445566778899
   



dial 9101 --->  99110011
     -- Executing [502 at from-internal:1] Goto("SIP/106-00000044", "Trama,disa,1") in new stack
    -- Goto (Trama,disa,1)
    -- Executing [disa at Trama:1] DISA("SIP/106-00000044", "no-password,Trama") in new stack
    -- Executing [99110011 at Trama:1] NoOp("SIP/106-00000044", "_X. EXTEN Value ----->99110011") in new stack
    -- Executing [99110011 at Trama:2] Dial("SIP/106-00000044", "DAHDI/g0/99110011") in new stack
    -- Called DAHDI/g0/99110011



> Strange behaviour with collect digits in DISA 
> ----------------------------------------------
>
>                 Key: ASTERISK-24261
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24261
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_disa
>    Affects Versions: 1.8.20.0
>         Environment: i686 i386 GNU/Linux
>            Reporter: Mc GRATH Ricardo
>
> When DISA feature is used a strange behaviour happens with collect digits.
> Any being digits entered were duplicated.
> Extensions.conf
> {noformat}
> exten => 502,1,Goto(Trama,disa,1)
> [Trama]
> exten => disa,1,DISA(no-password,Trama)
> exten => _XXX.,1,NoOp(_X. EXTEN Value ----->${EXTEN})
> exten => _XXX.,n,Dial(DAHDI/g0/${EXTEN})
> {noformat}
> Verbose output
> {noformat}
> dial 001123456789 ---> 000011112233445566778899
>     -- Executing [502 at from-internal:1] Goto("SIP/106-00000043", "Trama,disa,1") in new stack
>     -- Goto (Trama,disa,1)
>     -- Executing [disa at Trama:1] DISA("SIP/106-00000043", "no-password,Trama") in new stack
>     -- Executing [000011112233445566778899 at Trama:1] NoOp("SIP/106-00000043", "_X. EXTEN Value ----->000011112233445566778899") in new stack
>     -- Executing [000011112233445566778899 at Trama:2] Dial("SIP/106-00000043", "DAHDI/g0/000011112233445566778899") in new stack
>     -- Called DAHDI/g0/000011112233445566778899
> {noformat}
> dial 9101 --->  99110011
> {noformat}
>      -- Executing [502 at from-internal:1] Goto("SIP/106-00000044", "Trama,disa,1") in new stack
>     -- Goto (Trama,disa,1)
>     -- Executing [disa at Trama:1] DISA("SIP/106-00000044", "no-password,Trama") in new stack
>     -- Executing [99110011 at Trama:1] NoOp("SIP/106-00000044", "_X. EXTEN Value ----->99110011") in new stack
>     -- Executing [99110011 at Trama:2] Dial("SIP/106-00000044", "DAHDI/g0/99110011") in new stack
>     -- Called DAHDI/g0/99110011
> {noformat}



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



More information about the asterisk-bugs mailing list