For example im caller 10001 and my line is busy now, somehow asterisk start to call first ready line (usually its 10000003 or 10000007).
Why so happens?
Hi
$caller = CALLER(num)
this is the implementation if im user 1 on webrtc i call through 10000001 extension
if i user 3 i call through 10000003 extension
but if my line busy somehow - asterisk start to call from the next line in dialplan (if i should call from 10000001 and its busy - it starts to call through 10000003
But i didnt want it
Obviously asterisk works in sequential way, after your dial1 macro place a hangup. anyways in Goto statement you already have dial2 or dial3 macro, if the condition is true it will go to that route by default. Hope this helps.