<div dir="ltr">It is absolutely feasible to implement your use case via the dialplan; check the first example here:<div><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/Originate+Example">https://freeswitch.org/confluence/display/FREESWITCH/Originate+Example</a><br></div><div><br></div><div>If the use case is as simple as placing an outbound call, playing back some media and then hanging up, you could implement is as:</div><div><br></div><div>originate {ignore_early_media=true,originate_timeout=60}sofia/gateway/name/number &playback(message)<br></div><div><br></div><div>More information here: <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-originate">https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-originate</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 18 Nov 2019 at 14:33, Paul Mateer <<a href="mailto:Paul.Mateer@outlook.com">Paul.Mateer@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-GB">
<div class="gmail-m_5104289496977341496WordSection1">
<p class="MsoNormal">Hi. I have a FreeSWITCH system up and running and I can make calls from one device to another which is fine.</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">What I would now like to do is integrate it with another system so that when certain events occur in this other system, it dials one or more destinations and plays a pre-recorded message before hanging up.</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can the playing of the sound file be hooked into a custom dialplan? I ask because a little experimentation has revealed that the dialplan is processed on the inbound channel (which seems entirely reasonable) which means that using playback
in the dialplan results in audio sent to the caller, rather than the called.</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">If this can't be achieved via the dialplan, does this mean that I need to create a specific client that can call a destination and somehow pipe sound into the input channel, rather than taking it from whatever input device might be available?</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks for any assistance offered.</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Paul</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Sent from my Windows 10 device</p>
<p class="MsoNormal"><u></u> <u></u></p>
</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><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Best Regards,<br>Ciprian Dosoftei<br><br>The information transmitted is intended only for the addressee and may contain privileged and/or confidential material. If you are not the intended recipient, kindly contact the sender and delete the message.<br><br>Any disclosure, distribution or copying of this message is strictly prohibited without the expressed permission of the sender.</div>