[asterisk-users] Backgroung usage
Don Pobanz
dpobanz at hastingsutilities.com
Fri Dec 8 12:08:34 MST 2006
> I try to use the background cmd for send incomings call on dial
> plan.
> I try in an internal number for resting:
> exten => 405,1,DigitTimeout,5
> exten => 405,2,ResponseTimeout,10
> exten => 405,3,Background(vm-accueilcreat)
> exten => 1,1,Goto(creat-in,s,1)
> exten => 2,1,Dial(IAX2/301,15,tr)
> exten => 3,1,Hangup
>
> But nothing happen when i hit 1, 2, or 3.
>
> Wher is the mistake??
I have something similar but I use the 's' extension. This works for me.
exten => 405,1,GoTo(incomingco,s,1)
[incomingco]
exten => s,2,Wait,1
exten => s,3,Set(TIMEOUT(digit)=22)
exten => s,4,Set(TIMEOUT(response)=40)
exten => s,5,BackGround(HU-welcome)
exten => s,6,BackGround(HU-welcome)
exten => t,1,Goto(Queue_main,4024631371,1)
include => desks
Don Pobanz
More information about the asterisk-users
mailing list