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 Renemrene_li...@avgs.ca wrote: See

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 Renemrene_li...@avgs.ca 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

[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

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

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 math.par...@gmail.comwrote: Hi, I wanted to run an originate command when a MESSAGE_WAITING event is fired. Is there a simpler way than creating a daemon

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 Westbr...@freeswitch.org wrote: Using esl + perl you could do it. /b On Wed, Sep 2, 2009 at 4:46 PM, Diego Violadiego.vi...@gmail.com wrote: Or you can do something like this with Ruby + FSR: http://pastebin.freeswitch.org/10184 thanks for your

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,