-- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, October 24, 2012 at 12:09 AM, Luis F Urrea wrote:
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?
It's C, it only decide based on the message as I understand.
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?
Once you register event, log or fetch handler, FS knows.
On Mon, Oct 22, 2012 at 8:46 PM, Seven Du <dujinfang@gmail.com (mailto:dujinfang@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-sendi...
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@gmail.com (mailto:dujinfang@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@example)1>{foo, freeswitch@example} ! {api, status, ""}. {api,status,[]}
Obviously freeswitch@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@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@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@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@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@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@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@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@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@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto:FreeSWITCH-users@lists.freeswitch.org) http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org