<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Yes you are right, removing these will cause a lot of problem for
people that are already using them. I said the confussion they
caused me.<br>
<br>
Regards<br>
Normando<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">El 19/07/2014 11:41 a.m., Ben Langfeld
escribió:<br>
</div>
<blockquote
cite="mid:CAAyX+KF-HrZzKLfRvT5wDVUz8vK7xA2yXo0yYjNrh1DsKqzOXg@mail.gmail.com"
type="cite">
<div dir="ltr">This pattern of abstraction is very common, useful
for keeping consumer code clean, is not generally confusing
(sorry that you thought it was, but to many people it would be
obvious) and absolutely should not be removed for the reason
stated.</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 19 July 2014 08:54, Peter Olsson <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:peter@olssononline.se" target="_blank">peter@olssononline.se</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I don't fully understand the confusion here.
api/bgapi are just there to simplify how to send commands
(since they are the mosy commonly used I guess).
<div><br>
</div>
<div>I'm pretty sure it would cause huge problems for
everyone using ESL today, if we'd just remove those
functions.</div>
<div><br>
</div>
<div>/Peter</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-07-19 0:18 GMT+02:00
Normando Hall <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:nhall@unixlan.com.ar" target="_blank">nhall@unixlan.com.ar</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<div text="#000000" bgcolor="#FFFFFF"> Hi guys<br>
<br>
After 2 days I understand some issues with ESL
and the NodeJS ESL wrapper (modesl).<br>
<br>
Learning to use event socket I read that has
commands like: api - bgapi - linger, nolinger
etc. <br>
Then, when reading the ESL wrapper for NodeJS I
can't found those sockets commands. Only found
api and bgapi, but not linger, nolinger, etc.
So, the wrapper has the same methods as ESL has.
But why I can't found those linger and nolinger
methods? Here is the answer from the ESL wiki:<br>
<br>
<b>api($command, $args) is identical to
sendRecv("api $command $args")</b><br>
<br>
and<br>
<br>
<b>bgapi($command, $args) is identical to
sendRecv("bgapi $command $args")</b><br>
<br>
So... I can figured that "linger" or other
commands should send into the "send" or
"sendRecv" methods. This cause me a confussion.<br>
<br>
So, all ESL commands must be send through "send"
or "sendRecv" methods, and "api" or "bgapi" are
shorthands of "send" method for api/bgapi.<br>
<br>
I think these methods (api-bgapi) should be
remove from ESL, to avoid future confussion.<br>
<br>
Regards<span><font color="#888888"><br>
Normando<br>
<b><i><span
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:19.200000762939453px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"></span></i></b>
</font></span></div>
<br>
</div>
</div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication
Server<br>
<a moz-do-not-send="true"
href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>