It might be worth filing a JIRA so someone can work on this.<br><br>-BDF<br><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 6:51 AM, Eranga Udesh <span dir="ltr"><<a href="mailto:eranga.erl@gmail.com" target="_blank">eranga.erl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To answer my own question, the issue was with the Erlang version. It seels Mod Erlang Event is not compatible with R15B01 version. Once I downgrade the module compiling Erlang version to R14B03, it works fine.<div>
<br></div>
<div>Hope it helps others in the list.</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">- Eranga</font></span><div><div class="h5"><br><div><br>
</div><div><br><br><div class="gmail_quote">On Thu, Aug 23, 2012 at 5:32 PM, Eranga Udesh <span dir="ltr"><<a href="mailto:eranga.erl@gmail.com" target="_blank">eranga.erl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>I'm trying mod_erlang_event module in Freeswitch. However when a call comes to extension 111, the Erlang node receives RPC call correctly (my config as below) but it seems Freeswitch module does not receive the returned {Ref, NewPid} tuple of the Erlang function. I use Erlang R15B01 version. <div>
<br></div><div>I also tried with Registered process configuration as in the Mod Erlang Event wiki, but there also it timeout. I wonder if it is an incompatibility with Erlang 15B?
</div><div><br></div><div>Any ideas what could be wrong?<br><br>Config:<br><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><extension name="to_erlang" continue="true"></div>
<div> <condition field="destination_number" expression="^111$" ></div><div> <action application="erlang" data="fsivr:new_call ivr@linux" /></div><div> </condition></div>
<div></extension></div></div><div><br></div></blockquote>Output in freeswitch debug:</div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>2012-08-23 17:06:34.057997 [DEBUG] mod_erlang_event.c:1519 enter erlang_outbound_function fsivr:new_call ivr@linux</div>
<div>2012-08-23 17:06:34.057997 [DEBUG] mod_erlang_event.c:1525 Creating new listener for session</div><div>2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1527 Launching new listener</div><div>2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1537 Creating new spawned session for listener</div>
<div>2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1423 rpc call: fsivr:new_call(Ref)</div><div>2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1008 Connection Open</div><div>2012-08-23 17:06:39.177997 [WARNING] mod_erlang_event.c:1436 Timed out when waiting for outbound pid 12.0.0@freeswitch@linux 404fc3c7-45d1-4194-ad37-1e118fdee8d0</div>
<div>2012-08-23 17:06:39.177997 [DEBUG] switch_channel.c:2919 (sofia/internal/5000@linux4) Callstate Change RINGING -> HANGUP</div></div><div><br></div></blockquote><div>Thanks in advance.</div></div><span><font color="#888888"><div>
- Eranga</div>
</font></span></div>
</blockquote></div><br></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Brian D. Foster<br>Endigo Computer LLC<br>Email: <a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a><br>Phone: 317-800-7876<br>Indianapolis, Indiana, USA<br>
<br>This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.<br>
<br>