[asterisk-users] Multiple real times for same object
dovid at telecurve.com
Mon Apr 13 10:07:35 CDT 2020
On Mon, Apr 13, 2020 at 10:45 AM Joshua C. Colp <jcolp at sangoma.com> wrote:
> On Mon, Apr 13, 2020 at 11:38 AM Dovid Bender <dovid at telecurve.com> wrote:
>> What should Asterisk do if one of the real time methods fail? I have in
>> musiconhold => curl,http://localhost/moh.php,1
>> musiconhold => mysql,db-east,asterisk_moh,2
>> 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?
> 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.
I tried fishing around the code but can't seem to find it. Where in
Asterisk does the code evaluate the response from curl?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users