you should use ESL lib and the supplied perl mod<br><br>from FS build root<br><br>cd libs/esl<br>make <br>make perlmod<br>cd perl<br><br>copy ESL.pm and ESL.so into your INC path <br>see the examples in that same folder.<br>
<br><br><div class="gmail_quote">On Fri, Sep 4, 2009 at 5:40 PM, Tina Martinez <span dir="ltr"><<a href="mailto:tina@a2unlimited.com">tina@a2unlimited.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
I have a question, but I’m not certain whether this is a FreeSWITCH issue, or<br>
something specific to Perl.<br>
<br>
I have setup a Perl application (“listener†) that monitors the events of my<br>
FreeSWITCH server via a Telnet socket. So far, the application seems to work<br>
very nicely, except that the listener does not consistently capture all of the<br>
events that are streaming through the socket. I have been able to work around<br>
most of the issues, but one of the more significant pain-points is when a new<br>
member is getting added to a conference (Event-Name: CUSTOM, Action: add-member).<br>
<br>
The log file that I generate from the Telnet socket shows the event details, so I<br>
know that the data is coming across the pipe, but I don’t consistently see the<br>
details in my event listener code. Also, the fact that I sometimes do see all of<br>
the details confuses me (I don't see a pattern to give any clues towards the cause).<br>
<br>
BTW - I do have the <action application="verbose_events" data="true"/> in the<br>
dialplan.<br>
<br>
So, I wonder, is there something else that I can do in FreeSWITCH to increase the<br>
reliability of capturing the event details? or is there something I should be<br>
doing in Perl to somehow buffer the data (i.e., why would I see the details in<br>
the socket log file, but not in the data stream within the code?). I'm not a<br>
socket wizard by any stretch, so I'm hoping that it might be a simple issue<br>
related to the Net::Telnet implementation.<br>
<br>
Any suggestions would be greatly appreciated.<br>
<br>
Thank you in advance,<br>
<br>
<br>
- Tina<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>