[Freeswitch-users] event socket

Michael Collins msc at freeswitch.org
Mon Oct 24 21:14:09 MSD 2011


Please confirm: are you sending the call to the "socket" application in your
dialplan? If so, then your ESL app needs to be listening on the TCP port
specified. See the examples here:
http://wiki.freeswitch.org/wiki/Event_Socket_Outbound#Examples

-MC

On Mon, Oct 24, 2011 at 8:50 AM, Nuwan Wijerathne <
NuwanW at unifybusiness.co.uk> wrote:

> Hi,****
>
> ** **
>
> I’m trying to build an IVR application around freeswtich. I’m using
> freeswitch event socket in C#. I’m intercepting inbound calls in the dial
> plan and sending them to my application via outbound socket. Could someone
> please explain how to execute “answer” application through event socket. *
> ***
>
> ** **
>
> Eg – I’m sending the command as below and it’s not working.****
>
> ** **
>
> ESLConnection eslConnection = new ESLConnection(server, port, password)***
> *
>
> ESLEvent eventHandle = eslConnection.SendRecv(“event plain ALL”);****
>
> ** **
>
> eventHandle = eslConnection.RecvEvent();****
>
> string uniqueCallID = evenHandle.GetHeader(“Unique-ID”);****
>
> ** **
>
> *eslConnection.Execute(“answer”, string.Empty, UniqueCallID);*
>
> ** **
>
> ** **
>
> I believe I’m doing something wrong as I can’t find required information.
> Could someone please let me know where to find more information about
> freeswitch event socket in .Net. (Google not giving me required information)
> ****
>
> ** **
>
> Thank you,****
>
> ** **
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111024/9cdc0201/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list