<div dir="ltr">We, along with a lot of other people, have a phone number that is pretty important to us. Yesterday, our VoIP provider went down... won't call any names VI, but it was pretty bad...<div><br></div><div>
<br></div><div>Our goal is to create a script within asterisk, that will place a call out one SIP trunk provider (not the one that provides the DID, and have the call come back in on another trunking provider (with a special caller-id of course), and answer it. If that works, great.. we do nothing. </div>
<div><br></div><div>If the call fails, we generate an email, letting everyone know that our special provider has went down, again.</div><div><br></div><div>We were attempting to do it with .call files, but, for some reason, the channel variable dies post-call and we can't recording the ${dialstatus} or use it for logic...</div>
<div><br></div><div><br></div><div><div>Has anyone done this...? ...willing to share dial-plan, scripts, etc ? </div></div><div><br></div></div>