[Asterisk-Users] Background() followed by Read - something wrong?

Luki lugosoft at gmail.com
Wed Dec 14 12:30:09 MST 2005


> 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



More information about the asterisk-users mailing list