freeswitch - q: originate calls from database
hi, is this scenario doable? let the system call people , they talk do an ivr, and can dependend on their selection end up in a real call-queue. 1) how would i tell FS to call xyz-people from the databse? thx
On Sun, Sep 6, 2009 at 6:43 AM, tom <tomabroad@gmail.com> wrote:
hi,
is this scenario doable? let the system call people , they talk do an ivr, and can dependend on their selection end up in a real call-queue. 1) how would i tell FS to call xyz-people from the databse? thx
You have some learning to do. Most likely you will need to build an application that can connect to FS via the event socket and issue "originate" commands. If you just need to "fire and forget" then it won't be too hard. You'll need to come up with a way to build dialstrings, i.e. "originate sofia/gateway/mygw/1234567890 XXXX" as well as a dialplan to handle the call flow. Then there's the matter of what to do with busy/no answer/invalid/hangup in mid-process/message machines/etc.
Start by searching wiki.freeswitch.org for these concepts: originate command event socket (and ESL - the event socket layer) bridge application mod_fifo (for queue) Also, look at the demo IVR in the source tree because it has some handy examples of how to do things. -MC
participants (2)
-
Michael Collins
-
tom