[Asterisk-Users] Problem trying to SayDigits when an invalid extension is dialed

Carl Youngblood carl at youngbloods.org
Fri Jun 16 13:28:49 MST 2006


No, ${EXTEN} contains "i" at that point in the dialplan.

On 16 Jun 2006 01:41:30 -0000, undrhil.1528785 at bloglines.com
<undrhil.1528785 at bloglines.com> wrote:
> Does SayDigits(${EXTEN}) not work in this case?  I would imagine that it would
> still maintain the dialled extension in that variable, would it not?
>
> Undrhil
>
>
> --- Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com
> wrote:
> I am trying to modify a fairly complex digital receptionist dialplan
>
> > that has a number of included contexts.  Right now the system is not
> >
> announcing the extension that the caller attempted to dial, so callers
> >
> get confused when they think they dialed a valid extension but
> > asterisk
> didn't pick everything up.  I would like to have the system
> > announce the
> entension that they attempted to dial in addition to the
> > error message.
>  However, at the part where the error announcement is
> > made, the extension
> is set to "i", so I no longer know what digits the
> > caller dialed.  I tried
> inserting a wildcard extension before this
> > point that saves the dialed
> digits in a variable, but since my
> > wildcard extension matches everything,
> it no longer things that an
> > invalid extension was dialed, so it doesn't
> go to the "i" extension.
> > Is there a way I can erase the fact that an extension
> was matched?  Or
> > is there some other way of accomplishing what I am trying
> to do?
> >
> > Thanks,
> > Carl



More information about the asterisk-users mailing list