VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
vbvbrj at gmail.com Guest
|
|
Back to top |
|
|
idokan at gmail.com Guest
|
Posted: Sun Feb 14, 2016 9:18 am Post subject: [Freeswitch-users] Fwd: hook to event or startup script whic |
|
|
I'ved created a Perl daemon for capturing specific events.
You can filter to do so.
Ido On Feb 14, 2016 9:37 AM, "Mimiko" <vbvbrj@gmail.com (vbvbrj@gmail.com)> wrote: |
|
Back to top |
|
|
krice at freeswitch.org Guest
|
|
Back to top |
|
|
vbvbrj at gmail.com Guest
|
Posted: Sun Feb 14, 2016 12:38 pm Post subject: [Freeswitch-users] Fwd: hook to event or startup script whic |
|
|
On 14.02.2016 17:44, Ken Rice wrote:
Quote: | Is there a ticket open on this segfault you are avoiding and how to
reproduce it?
|
No, I didn't open any ticket, because my FS version is 1.3.13b
cad607d72e compiled at 2013.01.18, so the bug may be fixed or may be
not. I can't update right now the version.
My main question is what is best to capture event?
1) Using <hook event="RECORD_STOP" script="script.lua"/> in lua.conf.
2) or using <param name="startup-script" value="script.lua"/> in
lua.conf and hook to event like for e in (function() return con:pop(1)
end) do....
Comparing performance and stability.
Using 1st method has the advantage that I can change script without
restarting FS. But at my version running it for several hours FS stops
with segfault.
If using 1st method to capture events is better, then I'll update FS and
see if segfault persists or not.
If 2nd method is better - then there is no need for me to update FS
right now.
To reproduce see my first message on this.
--
Mimiko desu.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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 |
|
|
vbvbrj at gmail.com Guest
|
|
Back to top |
|
|
idokan at gmail.com Guest
|
Posted: Mon Feb 15, 2016 2:43 am Post subject: [Freeswitch-users] Fwd: hook to event or startup script whic |
|
|
On my case, I listen only for specific events, so I use the filter api call, but without it, you will get all events. On Feb 14, 2016 7:41 PM, "Mimiko" <vbvbrj@gmail.com (vbvbrj@gmail.com)> wrote: |
|
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
|