Nice work! Have you thought about using binaries for the data that is sent and received from FreeSWITCH instead of using Erlang strings?<br><br>Also, being able to return config/dialplan/directory data as tuple lists instead of an XML string would probably be much more comfortable. This does not necessarily have to happen in mod_erlang_event; there could be a wrapper in Erlang that takes care of these conversions.<br>
<br><br><div class="gmail_quote">On Fri, Jan 9, 2009 at 5:10 PM, Andrew Thompson <span dir="ltr"><<a href="mailto:andrew@hijacked.us">andrew@hijacked.us</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;">
Hi,<br>
<br>
Today, I'd like to offically announce mod_erlang_event for FreeSWITCH, a<br>
way to allow FreeSWITCH to participate in an Erlang node cluster. You<br>
can send it requests, it responds, you can configure it to make requests<br>
to other nodes, etc. This lets you control mosts aspects of FreeSWITCH,<br>
an open source class-5 softswitch, from Erlang in native Erlang terms.<br>
<br>
Unlike mod_event_socket, the module that mod_erlang_event is modeled on,<br>
mod_erlang_event intelligently routes events/replies/requests to the<br>
correct erlang process on the correct node, so you don't have to spend<br>
time determining what process a particular reply or request should go<br>
to. Also, everything is returned in erlang's term format too, so parsing<br>
is trivial.<br>
<br>
Additionally, I also added the ability to 'bind' config lookups to allow<br>
you to indicate a particular process should be asked for certain classes<br>
of FreeSWITCH configuration (eg. dialplan, SIP configurations, etc).<br>
This allows you to route calls by querying an erlang process for routing<br>
information, allow/deny sip registrations from an erlang process, etc.<br>
<br>
Here's the page on the FreeSWITCH wiki for more information:<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_erlang_event" target="_blank">http://wiki.freeswitch.org/wiki/Mod_erlang_event</a><br>
<br>
As of FreeSWITCH 1.0.2, mod_erlang_event is part of the official<br>
releases. If anyone has any problems or questions, I'm happy to help.<br>
I'll be making an announcement about the project I wrote this module for<br>
later today, which is also going to be open source.<br>
<br>
Andrew<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br>