Hi,
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.
Output in freeswitch debug:<extension name="to_erlang" continue="true"><condition field="destination_number" expression="^111$" ><action application="erlang" data="fsivr:new_call ivr@linux" /></condition></extension>
2012-08-23 17:06:34.057997 [DEBUG] mod_erlang_event.c:1519 enter erlang_outbound_function fsivr:new_call ivr@linux2012-08-23 17:06:34.057997 [DEBUG] mod_erlang_event.c:1525 Creating new listener for session2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1527 Launching new listener2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1537 Creating new spawned session for listener2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1423 rpc call: fsivr:new_call(Ref)2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1008 Connection Open2012-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-1e118fdee8d02012-08-23 17:06:39.177997 [DEBUG] switch_channel.c:2919 (sofia/internal/5000@linux4) Callstate Change RINGING -> HANGUP