Author Topic: IVR with JavaScript or PHP  (Read 7838 times)

snax68

  • Newbie
  • *
  • Posts: 3
    • View Profile
IVR with JavaScript or PHP
« on: January 24, 2019, 12:17:14 AM »
Hi,
we are going to develop an IVR in which we have to check a pin code entered via DTMF against a database server (Ms SQL server or oracle) and then interact with a web services for authentication before continuing the call.

Which is your suggested choice between JavaScript and PHP for developing such IVR?

Many thanks,
John

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: IVR with JavaScript or PHP
« Reply #1 on: January 30, 2019, 03:01:03 AM »
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.