<div><div dir="auto">You may want to share you code and commands you call one by one.</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 27 May 2019 at 11:13, Euan Millar <<a href="mailto:euan@ensemblepourladifference.org">euan@ensemblepourladifference.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello kind Freeswitch mailing group!<div><br></div><div>I am using ESL to control my calls entirely from a Node application.</div><div><br></div><div>I am using the '<a href="https://github.com/englercj/node-esl" target="_blank">modesl</a>' package to create an ESL connection and listen to the FS <a href="https://freeswitch.org/confluence/display/FREESWITCH/Event+List" target="_blank">events</a> and then answer a call if the number matches a dialplan I want to control using the mod_command "uuid_answer."</div><div><br></div><div>However, when my script answers a call, the music on hold plays in the background, even if I control the channel and am able to play other IVR audio in the call. As soon as my desired IVR commands complete, the music on hold returns in between, and it is quite annoying to hear small snippets of music. Eventually the call hangs up.</div><div><br></div><div>I am thinking that maybe the call has not actually been answered properly and that FS thinks that it is in fact on hold, and eventually hangs up on it, even though my script appears to have "answered" the call.</div><div><br></div><div>Can anyone shed any light on this? I think that I am doing something wrong. I had tried to get an <a href="https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Outbound" target="_blank">Outbound</a> connection to my Node script but it was receiving no events so didn't know when to answer. The only way I could detect and answer the call was by using the Inbound approach to listen to events.</div><div><br></div><div>I would be very grateful if anyone could give me some advice on this if you recognise my issue.</div><div><br></div><div>Kind regards,</div><div><br></div><div>Euan</div><div><br></div><div><br></div></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>