ESL Inbound vs outbound for callers
Hi guys I am developing an answer machine through ESL library. If I understand correct, the inbound mode must set the caller in park before answer and listen in my client for that event. And outbound simple receive the calling event. Can you advice me what mode is better for my requirements? 90% are inbound callings that I need to answer and play a few audio files based on their CID. Thanks Normando
Hi Norman, How about using IVR? You can route different IVRs based on caller id number. /Nandy On Wed, Jul 16, 2014 at 5:39 AM, Normando Hall <nhall@unixlan.com.ar> wrote:
Hi guys
I am developing an answer machine through ESL library. If I understand correct, the inbound mode must set the caller in park before answer and listen in my client for that event. And outbound simple receive the calling event. Can you advice me what mode is better for my requirements? 90% are inbound callings that I need to answer and play a few audio files based on their CID.
Thanks Normando
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Nandy. Thanks for your reply. That is not exactly an IVR behaviour, because FS will query DB to find a register with the same CID and then based on this register we get the STREET and NUMBER. Then FS will say: "Welcome to XXXX. Yor are on street 'STREET' 'NUMBER'. I know this can be do it with a simple lua (perl, js, etc) script, or within dialplan application, but we have our system running on NodeJS (JS) and we want to use modesl (ESL wrapper for NodeJS) from our code. We want to answer the call and intruct FS through to "say" the welcome message and cath this call to trigger an event in our system. I hope you can understand me. My english is very bad. So my question is: what is better for answer calls? Using ESL in inbound mode (parking the call befora) or outbound mode? Thanks Normando El 16/07/2014 10:31 p.m., Nandy Dagondon escribió:
Hi Norman,
How about using IVR? You can route different IVRs based on caller id number.
/Nandy
On Wed, Jul 16, 2014 at 5:39 AM, Normando Hall <nhall@unixlan.com.ar <mailto:nhall@unixlan.com.ar>> wrote:
Hi guys
I am developing an answer machine through ESL library. If I understand correct, the inbound mode must set the caller in park before answer and listen in my client for that event. And outbound simple receive the calling event. Can you advice me what mode is better for my requirements? 90% are inbound callings that I need to answer and play a few audio files based on their CID.
Thanks Normando
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I think it's better to use outbound ESL in this case. Every time you get call, you'll get request from FS at your ESL application, handle it in single worker or in forked process, and then return to main loop or finish handler process and continue. 2014-07-17 7:46 GMT+04:00 Normando Hall <nhall@unixlan.com.ar>:
Hi Nandy. Thanks for your reply.
That is not exactly an IVR behaviour, because FS will query DB to find a register with the same CID and then based on this register we get the STREET and NUMBER. Then FS will say:
"Welcome to XXXX. Yor are on street 'STREET' 'NUMBER'.
I know this can be do it with a simple lua (perl, js, etc) script, or within dialplan application, but we have our system running on NodeJS (JS) and we want to use modesl (ESL wrapper for NodeJS) from our code. We want to answer the call and intruct FS through to "say" the welcome message and cath this call to trigger an event in our system.
I hope you can understand me. My english is very bad.
So my question is: what is better for answer calls? Using ESL in inbound mode (parking the call befora) or outbound mode?
Thanks Normando
El 16/07/2014 10:31 p.m., Nandy Dagondon escribió:
Hi Norman,
How about using IVR? You can route different IVRs based on caller id number.
/Nandy
On Wed, Jul 16, 2014 at 5:39 AM, Normando Hall <nhall@unixlan.com.ar> wrote:
Hi guys
I am developing an answer machine through ESL library. If I understand correct, the inbound mode must set the caller in park before answer and listen in my client for that event. And outbound simple receive the calling event. Can you advice me what mode is better for my requirements? 90% are inbound callings that I need to answer and play a few audio files based on their CID.
Thanks Normando
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Best regards, Dmitry Sytchev, IT Engineer
participants (3)
-
Dmitry Sytchev
-
Nandy Dagondon
-
Normando Hall