Hi Chad,<div><br></div><div>I installed node-esl and tried it. But, I have some error:</div><div><ol><li>When I enter url: <a href="http://my_ip:8181">http://my_ip:8181</a>, chatty stopped immediately with error:</li></ol>
</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>http.js:650</div><div>    throw new Error(&#39;Can\&#39;t set headers after they are sent.&#39;);</div><div>          ^</div><div>Error: Can&#39;t set headers after they are sent.</div>
<div>    at ServerResponse.OutgoingMessage.setHeader (http.js:650:11)</div><div>    at ServerResponse.res.setHeader (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/lib/patch.js:59:22)</div>
<div>    at SendStream.type (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:444:7)</div><div>    at SendStream.send (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:343:8)</div>
<div>    at /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:319:10</div><div>    at Object.oncomplete (fs.js:308:15)</div><div>    at process._makeCallback (node.js:248:20)</div>
</blockquote><ol><li>In fs_cli have error:</li></ol><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to local box for  <a href="mailto:9910@192.168.0.24">9910@192.168.0.24</a></div>
<div>2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip]</div><div>from [&quot;1000&quot; &lt;<a href="mailto:sip%3A1000@192.168.0.24">sip:1000@192.168.0.24</a>&gt;;tag=7700467a]</div><div>to [<a href="mailto:9910@192.168.0.24">9910@192.168.0.24</a>]</div>
<div>&lt;FONT size=2 face=Arial&gt;how are you?&lt;/FONT&gt;</div><div>Nobody to send to: Profile internal</div></blockquote><div><ol></ol><ol></ol><ol></ol><ol></ol><ol></ol><ol></ol><ol></ol><ol></ol><ol></ol><ol></ol>please help me fix it.</div>
<div><br></div><div>Thanks&amp; Best regards,</div><div>Khue</div><div><br></div><div><br><div class="gmail_quote">2012/10/12 Chad Engler <span dir="ltr">&lt;<a href="mailto:Chad.Engler@patlive.com" target="_blank">Chad.Engler@patlive.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Check out <a href="https://github.com/englercj/node-esl" target="_blank">https://github.com/englercj/node-esl</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Chad<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Khue Nguyen Minh<br>
<b>Sent:</b> Friday, October 12, 2012 5:01 AM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> [Freeswitch-users] How to send sip MESSAGE from script<u></u><u></u></span></p></div><div><div class="h5"><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">Hi all,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I want send message &quot;MESSAGE&quot; to caller from javascript. How I can do it, please guide me?<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Brs,<u></u><u></u></p></div><div><p class="MsoNormal">Khue.<u></u><u></u></p></div></div></div></div></div><br>_________________________________________________________________________<br>

Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>