thank you david for the reply but I am still lost :
here is my dialplan :how do I use g option here so that when the callee hangs up , the call continue on the dial plan on the next priority ?
[Eng-queues]
exten => 1,n,Set(CALLERID(name)= Eng: ${DB(cidname/${CALLERID(dnid)})})
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,NoOp(----${CALLERID(name)}----)
exten => 1,n,QueueLog(201,${UNIQUEID},NONE,INFO,DID|${FROM_DID})
exten => 1,n,Queue(201,tr,45)
exten => 1,n,Goto(ext-local,vmb2385,1)
exten => 1,n,Hangup()
exten => 1,n,Dial(SIP/2000,3) ; this is what needs to happen when the callee hangs up