[Freeswitch-users] Calling a destination and playing a pre-recorded message.
Ciprian Dosoftei
ciprian.dosoftei at gmail.com
Mon Nov 18 19:44:35 UTC 2019
It is absolutely feasible to implement your use case via the dialplan;
check the first example here:
https://freeswitch.org/confluence/display/FREESWITCH/Originate+Example
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:
originate
{ignore_early_media=true,originate_timeout=60}sofia/gateway/name/number
&playback(message)
More information here:
https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-originate
On Mon, 18 Nov 2019 at 14:33, Paul Mateer <Paul.Mateer at outlook.com> wrote:
> Hi. I have a FreeSWITCH system up and running and I can make calls from
> one device to another which is fine.
>
>
>
> 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.
>
>
>
> 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.
>
>
>
> 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?
>
>
>
> Thanks for any assistance offered.
>
>
>
> Paul
>
>
>
>
>
> Sent from my Windows 10 device
>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
--
Best Regards,
Ciprian Dosoftei
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.
Any disclosure, distribution or copying of this message is strictly
prohibited without the expressed permission of the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191118/0e4c521a/attachment.html>
More information about the FreeSWITCH-users
mailing list