> > 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,Hangup

Thanks 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

_______________________________________________
--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

Reply via email to