not sure if i get your point, but may be something like this:
exten => s,1,Answer()
exten => s,2,Background(dial_some_digits);
exten => _X.,MyApplication(${EXTEN})
where MyApplication can be a custom application, and ${EXTEN} is a
magic variable that will hold the dialed digits
regards
On 1/19/06, moritz <erstens@gmx.ch> wrote:> hi, im complete new with asterisk, so..
> i want to be able using dtmf during a call, for execute a application.
> Now i'm still making phonecalls trough a sip-adapter (Linksys pap2)
with
> my soundcart from server, and i receive in the asterisk-console putting
> some digits from a analog-telephon:" << Console receive digit 1
>> " e.g.
> Now how can i execute some application with this digit?.
> I have tried, to execute with a shellscript to exploit my applications
> from the asterisk-console but this console seems to be not really
> shell-compatible?
>
> I want to use it for a art-performance, so im using asterisk not for a
> company.
>
> ..and sorry for my bad english
> thanks for any hints for a
> very asterisk-newbie
>
> Moritz Wettstein
> _______________________________________________
> --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
>
--
"Su nombre es GNU/Linux, no solamente Linux, mas info en
http://www.gnu.org"