[Freeswitch-dev] mod managed, cant receive events thru EventReceivedFunction callback

Jeff Lenk jlenk at frontiernet.net
Tue Jun 16 20:11:06 PDT 2009


Andrew,

In scripts/contrib/verifier/eventsocket there is an implementation of the
EventSocket for managed code. The socket implementation is complete and it
gives a working sample of how to implement a client.

Jeff

-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Andrew
Sent: Tuesday, June 16, 2009 8:26 AM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] mod managed, cant receive events thru
EventReceivedFunction callback

I spent some time looking at source, and I see that EventReceivedFunction
relates to the run_dtmf_callback from core session, maybe I do simply expect
it to do something it does not. I wanted to get the switch events e.g.
CHANNEL_ANSWER, CHANNEL_HANGUP etc. is it possible from managed code listen
to events?

Andrew

-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Jeff Lenk
Sent: Tuesday, June 16, 2009 5:35 AM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] mod managed, cant receive events thru
EventReceivedFunction callback

Have you tried the Demo AppFunction class it has an example for
DtmfReceivedFunction inlining? Is this working for you?

EventReceivedFunction usage is similar -

Session.EventReceivedFunction = (obj) =>
{
}

I have used this for speech events(pocketsphinx) in the past - I will check
again for the proper behavior tomorrow with the current svn.

Jeff


-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Andrew
Sent: Monday, June 15, 2009 12:51 PM
To: freeswitch-dev at lists.freeswitch.org
Subject: [Freeswitch-dev] mod managed, cant receive events thru
EventReceivedFunction callback

Hi,

I do not receive any events thru EventReceivedFunction callback, can anyone
help me with this one.

Regards


_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.70/2177 - Release Date: 06/15/09
05:54:00


_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.74/2181 - Release Date: 06/16/09
17:55:00




More information about the Freeswitch-dev mailing list