Hi,
Both options would work for the IVR, but if you want to use MsSQL or Oracle, Yate doesn't have support to connect to any of them (just mysql, postgresql, sqlite). To use MsSQL or Oracle you would need to use PHP because you can use the php functions to connect to any of the two databases. From Javascript on only have access to the databases defined in Yate's configuration files.