M Mikeme Member Apr 26, 2021 194 4 18 39 Aug 5, 2022 #1 hi guy's, is it possible to add to dialplan(case of incoming call) somethings like action to run local PHP file?
hi guy's, is it possible to add to dialplan(case of incoming call) somethings like action to run local PHP file?
M Mikeme Member Apr 26, 2021 194 4 18 39 Aug 5, 2022 #2 I'm aware for curl option but its used to call http/s url or send file etc. i'm looking to run local file at /var
I'm aware for curl option but its used to call http/s url or send file etc. i'm looking to run local file at /var
hfoster Active Member Jan 28, 2019 699 86 28 35 Aug 5, 2022 #3 https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+system <action application="system" data="/usr/bin/php /var/myapp.sh"/> Permissions and all that apply, so you may have to tinker with it.
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+system <action application="system" data="/usr/bin/php /var/myapp.sh"/> Permissions and all that apply, so you may have to tinker with it.