Once we send out the dial command, (SIP INVITE) usually we get 100 trying back and then 180 ringing or 486 or 503. But is there a way where we can tell asterisk to failed the dial command and go to the next line of the script if we do not get anyting back AFTER 100 trying within x amount of seconds?
The reason being is that we LCR different carriers, so for example we least cost route 3 different carrier, the first carrier gets INVITE and then give us 100 trying and then waited 15 seconds before we get 503 (or other code). So I don’t want to wait 15 seconds before I go try next outbound carrier. Thus I need to say that x seconds after 100 trying, please go next line of the script. Is that possible?