VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
math.parent at gmail.com Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Sep 02, 2009 9:56 am Post subject: [Freeswitch-users] Run a command on event |
|
|
Using esl + perl you could do it.
/b
On Sep 2, 2009, at 9:27 AM, Mathieu Parent wrote:
Quote: | 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.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
|
Back to top |
|
|
math.parent at gmail.com Guest
|
Posted: Wed Sep 02, 2009 10:57 am Post subject: [Freeswitch-users] Run a command on event |
|
|
Hi,
On Wed, Sep 2, 2009 at 4:37 PM, Brian West<brian@freeswitch.org> wrote:
Quote: | Using esl + perl you could do it.
/b
|
On Wed, Sep 2, 2009 at 4:46 PM, Diego Viola<diego.viola@gmail.com> wrote:
thanks for your suggestions, but this also requires a daemon
(standalone or via inetd).
I will probably use inetd if nobody suggests a better solution.
creating a mod_event_* ?
Mathieu
_______________________________________________
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 |
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Thu Sep 03, 2009 12:07 am Post subject: [Freeswitch-users] Run a command on event |
|
|
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
mrene@avgs.ca
On 2-Sep-09, at 8:47 AM, Mathieu Parent wrote:
Quote: | Hi,
On Wed, Sep 2, 2009 at 4:37 PM, Brian West<brian@freeswitch.org>
wrote:
Quote: | Using esl + perl you could do it.
/b
|
On Wed, Sep 2, 2009 at 4:46 PM, Diego Viola<diego.viola@gmail.com>
wrote:
thanks for your suggestions, but this also requires a daemon
(standalone or via inetd).
I will probably use inetd if nobody suggests a better solution.
creating a mod_event_* ?
Mathieu
_______________________________________________
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
|
_______________________________________________
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 |
|
Back to top |
|
|
math.parent at gmail.com Guest
|
Posted: Fri Sep 04, 2009 9:42 am Post subject: [Freeswitch-users] Run a command on event |
|
|
Hi
On Thu, Sep 3, 2009 at 6:52 AM, Mathieu Rene<mrene_lists@avgs.ca> wrote:
Thanks.
I have tried this method without success and finally replaced the
voicemail section in dialplan by a spidermonkey script with
session.setHangupHook(). Test passed!
Mathieu Parent
_______________________________________________
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 |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Fri Sep 11, 2009 11:35 am Post subject: [Freeswitch-users] Run a command on event |
|
|
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:
Quote: | Hi
On Thu, Sep 3, 2009 at 6:52 AM, Mathieu Rene<mrene_lists@avgs.ca>
wrote:
Thanks.
I have tried this method without success and finally replaced the
voicemail section in dialplan by a spidermonkey script with
session.setHangupHook(). Test passed!
Mathieu Parent
|
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|