VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
tina at a2unlimited.com Guest
|
Posted: Fri Sep 04, 2009 5:48 pm Post subject: [Freeswitch-users] Monitoring FreeSWITCH Events via Telnet s |
|
|
Hello,
I have a question, but I’m not certain whether this is a FreeSWITCH issue, or
something specific to Perl.
I have setup a Perl application (“listenerâ€) that monitors the events of my
FreeSWITCH server via a Telnet socket. So far, the application seems to work
very nicely, except that the listener does not consistently capture all of the
events that are streaming through the socket. I have been able to work around
most of the issues, but one of the more significant pain-points is when a new
member is getting added to a conference (Event-Name: CUSTOM, Action: add-member).
The log file that I generate from the Telnet socket shows the event details, so I
know that the data is coming across the pipe, but I don’t consistently see the
details in my event listener code. Also, the fact that I sometimes do see all of
the details confuses me (I don't see a pattern to give any clues towards the cause).
BTW - I do have the <action application="verbose_events" data="true"/> in the
dialplan.
So, I wonder, is there something else that I can do in FreeSWITCH to increase the
reliability of capturing the event details? or is there something I should be
doing in Perl to somehow buffer the data (i.e., why would I see the details in
the socket log file, but not in the data stream within the code?). I'm not a
socket wizard by any stretch, so I'm hoping that it might be a simple issue
related to the Net::Telnet implementation.
Any suggestions would be greatly appreciated.
Thank you in advance,
- Tina
_______________________________________________
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 |
|
|
anthony.minessale at g... Guest
|
Posted: Fri Sep 04, 2009 5:56 pm Post subject: [Freeswitch-users] Monitoring FreeSWITCH Events via Telnet s |
|
|
you should use ESL lib and the supplied perl mod
from FS build root
cd libs/esl
make
make perlmod
cd perl
copy ESL.pm and ESL.so into your INC path
see the examples in that same folder.
On Fri, Sep 4, 2009 at 5:40 PM, Tina Martinez <tina@a2unlimited.com (tina@a2unlimited.com)> wrote:
Quote: | Hello,
I have a question, but I’m not certain whether this is a FreeSWITCH issue, or
something specific to Perl.
I have setup a Perl application (“listener†) that monitors the events of my
FreeSWITCH server via a Telnet socket. So far, the application seems to work
very nicely, except that the listener does not consistently capture all of the
events that are streaming through the socket. I have been able to work around
most of the issues, but one of the more significant pain-points is when a new
member is getting added to a conference (Event-Name: CUSTOM, Action: add-member).
The log file that I generate from the Telnet socket shows the event details, so I
know that the data is coming across the pipe, but I don’t consistently see the
details in my event listener code. Also, the fact that I sometimes do see all of
the details confuses me (I don't see a pattern to give any clues towards the cause).
BTW - I do have the <action application="verbose_events" data="true"/> in the
dialplan.
So, I wonder, is there something else that I can do in FreeSWITCH to increase the
reliability of capturing the event details? or is there something I should be
doing in Perl to somehow buffer the data (i.e., why would I see the details in
the socket log file, but not in the data stream within the code?). I'm not a
socket wizard by any stretch, so I'm hoping that it might be a simple issue
related to the Net::Telnet implementation.
Any suggestions would be greatly appreciated.
Thank you in advance,
- Tina
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
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
|