[Asterisk-Users] difference between dtmf digit 8 and 9

Michael Loftis mloftis at wgops.com
Tue Oct 5 10:50:30 MST 2004


Check your dial plan, but that usually means that there are other eligible 
patterns beginning with 8.

--On Tuesday, October 05, 2004 19:44 +0200 Fabian Müller 
<mueller.fab at gmx.net> wrote:

> Hello,
>
> this is an example extensions.conf.
>
> [default]
> exten => 500,1,Answer
>
> exten => 8,1,SetGlobalVar(firstdigit=8)
> exten => 8,2,Goto(process,s,1)
>
> exten => 9,1,SetGlobalVar(firstdigit=9)
> exten => 9,2,Goto(process,s,1)
>
>
> I call extension 500 and send dtmf digit 9. This is printed to the
> CLI:
>
>     -- Executing Answer("Zap/20-1", "") in new stack
>     -- Accepting call from '' to '500' on channel 0/20, span 1
> Oct  5 16:42:14 DEBUG[196620]: chan_zap.c:1176 zt_enable_ec: Enabled echo
> cancellation on channel 20 Oct  5 16:42:18 DEBUG[458769]: chan_zap.c:3955
> zt_read: DTMF digit: 9 on Zap/20-1   == CDR updated on Zap/20-1
>     -- Executing SetGlobalVar("Zap/20-1", "firstdigit=9") in new stack
>     -- Setting global variable 'firstdigit' to '9'
>     -- Executing Goto("Zap/20-1", "process|s|1") in new stack
>     -- Goto (process,s,1)
>
>
> I call extension 500 and send dtmf digit 8. This ist printed to the
> CLI:
>
>     -- Accepting call from '' to '500' on channel 0/21, span 1
> Oct  5 16:42:40 DEBUG[196620]: chan_zap.c:1176 zt_enable_ec: Enabled echo
> cancellation on channel 21     -- Executing Answer("Zap/21-1", "") in new
> stack
> Oct  5 16:42:43 DEBUG[475153]: chan_zap.c:3955 zt_read: DTMF digit: 8 on
> Zap/21-1   == CDR updated on Zap/21-1
>     -- Executing SetGlobalVar("Zap/21-1", "firstdigit=8") in new stack
>     -- Setting global variable 'firstdigit' to '8'
>     -- Executing Goto("Zap/21-1", "process|s|1") in new stack
>     -- Goto (process,s,1)
>
> In the first case after sending dtmf digit 9 Asterisk immediately goes
> to extension 9 and executes SetGlobalVar and the Goto command.
>
> In the second case after sending dtmf digit 8 Asterisk does not
> immediately goes to extension 8. Instead of going immediately to
> extension 8 Asterisks waits five seconds and then goes to extension 8
> and executes the commands.
>
> Why is there this difference?
>
> Asterisk Version: CVS-HEAD-08/16/04-02:09:57
>
> Regards,
>
> Fabian Müller
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



--
GPG/PGP --> 0xE736BD7E 5144 6A2D 977A 6651 DFBE 1462 E351 88B9 E736 BD7E 



More information about the asterisk-users mailing list