[Asterisk-Users] Detection of extension

Ernest W. Lessenger ernest at oacys.com
Wed Feb 25 10:33:24 MST 2004


At 09:21 AM 2/25/2004, you wrote:
>Ernest W. Lessenger wrote:
>
> > At 08:15 AM 2/25/2004, you wrote:
> >
> >> This may sound silly but how can I say to asterisk that new number have
> >> been dialed and that it has to treat these as a new extension ?
> >>
> >> I mean: I have received a call, and now I want that asterisk execute the
> >> command, by example call forwarding, recording... that I can do when I
> >> dial a precise extension ...
> >>
> >> What do I have to do ?
> >> Asterisk "see" the digits, but never uses them as an extension...
> >
> >
> > http://www.voip-info.org/wiki-Asterisk+config+extensions.conf
>
>Thanks but it doesn't explain what I looking for:
>the ability to press to press keys in the middle of a call and to have
>asterisk that try to match such extension...

Oh, I see what you mean. What about using the # transfer feature? The 
alternative, I suppose, would be to hack the Dial command so that it loads 
an AGI script in the background. I don't think there's any existing way to 
do this, but others are welcome to correct me :)

--Ernest 




More information about the asterisk-users mailing list