Re: [Freeswitch-users] Run a command on event

2009-09-11 Thread Michael Jerris
You can do it in perl or lua using a startup script that creates an event listener. Mike On Sep 4, 2009, at 10:32 AM, Mathieu Parent wrote: > Hi > > On Thu, Sep 3, 2009 at 6:52 AM, Mathieu Rene > wrote: >> See >> http://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Subscribing_to_ev

Re: [Freeswitch-users] Run a command on event

2009-09-04 Thread Mathieu Parent
Hi On Thu, Sep 3, 2009 at 6:52 AM, Mathieu Rene wrote: > See > http://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Subscribing_to_events > Thanks. I have tried this method without success and finally replaced the voicemail section in dialplan by a spidermonkey script with session.setHa

Re: [Freeswitch-users] Run a command on event

2009-09-02 Thread Mathieu Rene
See http://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Subscribing_to_events Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mr...@avgs.ca On 2-Sep-09, at 8:47 AM, Mathieu Parent wrote: > Hi, > > On Wed, Sep 2, 2009 at 4:37 PM, Br

Re: [Freeswitch-users] Run a command on event

2009-09-02 Thread Mathieu Parent
Hi, On Wed, Sep 2, 2009 at 4:37 PM, Brian West wrote: > Using esl + perl you could do it. > > /b > On Wed, Sep 2, 2009 at 4:46 PM, Diego Viola wrote: > Or you can do something like this with Ruby + FSR: > > http://pastebin.freeswitch.org/10184 > thanks for your suggestions, but this also require

Re: [Freeswitch-users] Run a command on event

2009-09-02 Thread Diego Viola
Or you can do something like this with Ruby + FSR: http://pastebin.freeswitch.org/10184 On Wed, Sep 2, 2009 at 2:27 PM, Mathieu Parent wrote: > Hi, > > I wanted to run an "originate" command when a MESSAGE_WAITING event is > fired. > > Is there a simpler way than creating a daemon listening to t

Re: [Freeswitch-users] Run a command on event

2009-09-02 Thread Brian West
Using esl + perl you could do it. /b On Sep 2, 2009, at 9:27 AM, Mathieu Parent wrote: > Hi, > > I wanted to run an "originate" command when a MESSAGE_WAITING event > is fired. > > Is there a simpler way than creating a daemon listening to the event > socket ? > > Thanks > > Mathieu Parent

[Freeswitch-users] Run a command on event

2009-09-02 Thread Mathieu Parent
Hi, I wanted to run an "originate" command when a MESSAGE_WAITING event is fired. Is there a simpler way than creating a daemon listening to the event socket ? Thanks Mathieu Parent ___ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.