<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 13, 2020 at 10:45 AM Joshua C. Colp <<a href="mailto:jcolp@sangoma.com">jcolp@sangoma.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Mon, Apr 13, 2020 at 11:38 AM Dovid Bender <<a href="mailto:dovid@telecurve.com" target="_blank">dovid@telecurve.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Josh,<div><br></div><div>What should Asterisk do if one of the real time methods fail? I have in extconfig.conf</div><div>musiconhold => curl,<a href="http://localhost/moh.php,1" target="_blank">http://localhost/moh.php,1</a><br>musiconhold => mysql,db-east,asterisk_moh,2<br></div><div><br></div><div>If the first server sends back a 404 it does not go to the second connection. Shouldn't a 404 be considered a failure and it should then move over to the next rt engine?</div></div></blockquote><div><br></div><div>Depends on what the realtime driver provides back to the core in what scenario. I've never used or touched the curl stuff, so dunno. </div></div><div><br></div></div></blockquote><div><br></div><div>I tried fishing around the code but can't seem to find it. Where in Asterisk does the code evaluate the response from curl?</div><div><br></div></div></div>