[Freeswitch-users] Mod Erlang Event in Freeswitch

Brian Foster bdfoster at endigotech.com
Sat Aug 25 04:25:30 MSD 2012


It might be worth filing a JIRA so someone can work on this.

-BDF

On Fri, Aug 24, 2012 at 6:51 AM, Eranga Udesh <eranga.erl at gmail.com> wrote:

> 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.
>
> Hope it helps others in the list.
>
> - Eranga
>
>
>
>
> On Thu, Aug 23, 2012 at 5:32 PM, Eranga Udesh <eranga.erl at gmail.com>wrote:
>
>> 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.
>>
>> 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?
>>
>> Any ideas what could be wrong?
>>
>> Config:
>>
>> <extension name="to_erlang" continue="true">
>>    <condition field="destination_number" expression="^111$" >
>>        <action application="erlang" data="fsivr:new_call ivr at linux" />
>>    </condition>
>> </extension>
>>
>> Output in freeswitch debug:
>>
>> 2012-08-23 17:06:34.057997 [DEBUG] mod_erlang_event.c:1519 enter
>> erlang_outbound_function fsivr:new_call ivr at linux
>> 2012-08-23 17:06:34.057997 [DEBUG] mod_erlang_event.c:1525 Creating new
>> listener for session
>> 2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1527 Launching new
>> listener
>> 2012-08-23 17:06:34.098399 [DEBUG] mod_erlang_event.c:1537 Creating new
>> spawned session for listener
>> 2012-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 Open
>> 2012-08-23 17:06:39.177997 [WARNING] mod_erlang_event.c:1436 Timed out
>> when waiting for outbound pid 12.0.0 at freeswitch@linux
>> 404fc3c7-45d1-4194-ad37-1e118fdee8d0
>> 2012-08-23 17:06:39.177997 [DEBUG] switch_channel.c:2919
>> (sofia/internal/5000 at linux4) Callstate Change RINGING -> HANGUP
>>
>> Thanks in advance.
>> - Eranga
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Brian D. Foster
Endigo Computer LLC
Email: bdfoster at endigotech.com
Phone: 317-800-7876
Indianapolis, Indiana, USA

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120824/5728a186/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list