[Freeswitch-users] launch an external program in dialplan
gilles at sauvaire.com
Wed Aug 10 05:48:44 UTC 2022
You ave a exemple ?
With get the results in a channel variable for further processing. ?
De : FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> De la part de Avi Marcus
Envoyé : mardi 9 août 2022 17:34
À : FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Objet : Re: [Freeswitch-users] launch an external program in dialplan
You can make a curl call or a system call directly in the dial plan.
You can even get the results in a channel variable for further processing.
On Tue, Aug 9, 2022, 3:30 PM Gilles SAUVAIRE <gilles at sauvaire.com <mailto:gilles at sauvaire.com> > wrote:
I need inside a dialplan, to launch an external program, and to take the return of this program to use it in the dialplan.
I think a LUA script can do it?
If anyone has an example script, I'm interested.
Or is another technique better?
Launching an external program at each call can be very resource-intensive, maybe make a request on a specific web service port, or something else?
the idea is to add the user's name in the from.
(but this name changes depending on the external context, it must be calculated, I cannot make a simple database query)
someone has already done it I guess I'm not the first to have this need...
Thank you all...
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 <mailto:sales at freeswitch.com>
Official FreeSWITCH Sites
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users