Anyone knows if that’s possible? I tried
exten => num,l,dial(sip/target/${EXTEN},60,F)
exten => num,n,NoOP(${ANSWEREDTIME})
But I see “” (empty) when the caller hang up.
What I need is to be able to have the outbound leg not be hung within x seconds if call duration is below (or equal to) y seconds.
so what I was thinking is to use the F option and then after caller hung, I check the answered duration, if is x seconds or below then do a WAIT(y) and then hang up the outbound leg.