Hi all,
I am trying to write a basic IVR. What it does is:
1. Fetch some data from database at call start
2. Interact with the caller
3. Fetch some data from remote Web Services
4. Interact with the caller again.
I have been trying to implement 1 and 3 with lua and while it does work, some things are just, from my point of view, awfully convoluted. I was thinking of combining python and lua like this (just an example)
I think it should work. But I would like to have your views on that approach.
I know everything can be done with either lua or python. My problem with lua is that I highly dislike the language and the lack of libraries to do the simplest things is irritating. I prefer python but I keep reading that it is not as performant as lua when doing telephony functions (speak, say, collect digits, etc.) there is also something about synchronous vs asyncronous that I am still trying to figure out what it means.
So, what do you guys think? Any constructive opinion is welcome.
Thank you.
I am trying to write a basic IVR. What it does is:
1. Fetch some data from database at call start
2. Interact with the caller
3. Fetch some data from remote Web Services
4. Interact with the caller again.
I have been trying to implement 1 and 3 with lua and while it does work, some things are just, from my point of view, awfully convoluted. I was thinking of combining python and lua like this (just an example)
I think it should work. But I would like to have your views on that approach.
I know everything can be done with either lua or python. My problem with lua is that I highly dislike the language and the lack of libraries to do the simplest things is irritating. I prefer python but I keep reading that it is not as performant as lua when doing telephony functions (speak, say, collect digits, etc.) there is also something about synchronous vs asyncronous that I am still trying to figure out what it means.
So, what do you guys think? Any constructive opinion is welcome.
Thank you.
Attachments
Last edited: