[Freeswitch-users] mod_erlang_event noob question

Luis F Urrea lfurrea at gmail.com
Tue Oct 23 20:09:59 MSD 2012


Hello Du,

Thanks for your help.

Indeed I am able to get a message back now. Does this mean that a process
gets registered dynamically with whatever name I provide?

On the inbound connection example I do not quite understand how am I able
to receive messages if I do not send freeswitch the Pid? is the response
broadcast?

On Mon, Oct 22, 2012 at 8:46 PM, Seven Du <dujinfang at gmail.com> wrote:

> because there was a bug.  pull the latest git.
>
> --
> Seven Du
> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>
> On Tuesday, October 23, 2012 at 8:32 AM, Luis F Urrea wrote:
>
> But I am getting a badarg error response.
>
> According to this:
>
>
> http://stackoverflow.com/questions/13021589/erlang-distributed-message-sending
>
> The left hand atom should be a registered process on the node and
> therefore the name should matter?
>
>
>
> On Mon, Oct 22, 2012 at 5:20 PM, Seven Du <dujinfang at gmail.com> wrote:
>
> foo means nothing, just forget it.
>
> On Tuesday, October 23, 2012 at 6:10 AM, Luis F Urrea wrote:
>
> Hi all,
>
> I am going through the wiki docs here:
>
>
> http://wiki.freeswitch.org/wiki/Mod_erlang_event#Example_Outbound_Connection
>
> But I see in the example that in order to send messages between FS and the
> registered process fired up by myself the following syntax is used:
>
> (test at example)1>{foo, freeswitch at example} ! {api, status, ""}.
> {api,status,[]}
>
>
> Obviously freeswitch at example represents the node, but I am not familiar
> with the left hand tuple term being applied the ! operator, usually a Pid
> number is used in that place.
>
> What would the foo represent?
>
> TIA.
>
>
> Luis
>
> _________________________________________________________________________
> 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
>
>
>
> _________________________________________________________________________
> 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
>
>
> _________________________________________________________________________
> 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
>
>
>
> _________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/b05a067c/attachment.html 


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