Michaƫl Gaudette
2005-Dec-15 04:55 UTC
[Asterisk-Users] RE: Asterisk-Users Digest, Vol 17, Issue 89
> > I did the following > > s,1,Background(blablabla) > > s,2,Read(VARIABLE||1) ; accepting only one digit (1 to > accept call, anything > > else to hangup) > > That's not the right approach. Do something like his: > > [confirmcall] > exten => s,1,Background(blablabla) > exten => 1,1,Goto(accept_call_context,s,1) > exten => t,1,Hangup > exten => i,1,HangupThanks Luki. I was just following the example in the Wiki, on the Dial() cmd page. But now that I think of it, it does make more sense to use your approach. Mike