[Asterisk-Users] Immediate routing on "0" (DNIS)?

C F shmaltz at gmail.com
Sat Jan 7 21:39:05 MST 2006


On 1/7/06, Ken D'Ambrosio <ken at jots.org> wrote:
> > Post your extensions.conf and what's on the CLI (asterisk -r)
>
> As requested:
>
> # cat /etc/asterisk/extensions.conf
> [incoming]
> exten => s,1,Answer()
> exten => s,n,NoOp(CallerID is ${CALLERID})
> exten => s,n,NoOp(DID is ${DNID})
> exten => s,n,Background(enter-ext-of-person)
>
> exten => 1625,1,Playback(digits/1)
> exten => 1625,n,Goto(digits/1)
>
> exten => i,1,NoOp(CallerID is ${CALLERID})
> exten => i,n,NoOp(DID is ${DNID})
>
> And the console stuff for a 06xx DID:
>
>    -- Starting simple switch on 'Zap/1-1'
>   == Unknown extension '0' in context 'incoming' requested
>     -- Playing 'ss-noservice' (language 'en')
>     -- Hungup 'Zap/1-1'
>
> For completeness' sake, here's the stuff from /var/log/asterisk/full; note
> that my 16xx extensions get all four DTMF digits before continuing:
>
> Jan  7 22:45:30 VERBOSE[5819] logger.c:     -- Starting simple switch on
> 'Zap/1-1'
> Jan  7 22:45:30 DEBUG[5819] chan_zap.c: DTMF digit: 0 on Zap/1-1
> Jan  7 22:45:30 DEBUG[5819] chan_zap.c: No echo cancellation requested Jan
>  7 22:45:30 VERBOSE[5819] logger.c:   == Unknown extension '0' in context
> 'incoming' requested
> Jan  7 22:45:33 DEBUG[5819] channel.c: Scheduling timer at 160 sample
> intervals
> Jan  7 22:45:33 VERBOSE[5819] logger.c:     -- Playing 'ss-noservice'
> (language 'en')
> [...]
>
> So, I'm kind of stumped.  As far as I can see, "0" is being treated
> special, and is trying to route "immediate" to the operator or something.
> [I've deleted the extensions.ael sample file, so that's not playing a
> role, either.]

I am stumped as well, you don't have any extension defined for either
0, _0X, or _0X.
So I got no clue why *you* are stumped, in fact 1625 is treated
special, because it got an extension.

>
> Thanks for any suggestions/ideas/etc...
>
> -Ken
>
> > Ken D'Ambrosio wrote:
> >> I've got a T1 (E&M wink).  Our four-digit inbound DNIS numbers are in the
> >> range of 0600 - 1699.  However, the second that the "0" is seen on an
> in-bound 06xx call, it stops listening for any more digits, and
> immediately tries to route the call.  My 16xx numbers wait for all four
> digits before trying to route.  Is there something, somewhere, that
> tells
> >> it to do an immediate route on seeing "0"?  I don't have much of anything
> >> in my extensions.conf file.  I'm seeing what's going on via
> >> "tail -f /var/log/asterisk/full"
> >>
> >> Any suggestions?
> >>
> >> Thanks!
> >>
> >> -Ken
> >> _______________________________________________
> >> --Bandwidth and Colocation provided by Easynews.com --
> >>
> >> Asterisk-Users mailing list
> >> To UNSUBSCRIBE or update options visit:
> >>    http://lists.digium.com/mailman/listinfo/asterisk-users
> >>
> > Post your extensions.conf and what's on the CLI (asterisk -r)
> >
> > --
> > Roman Volf
> > Keystreams Internet Solutions
> > volfman at keystreams.com
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list