]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_env: Add DIRNAME and BASENAME functions
authorNaveen Albert <asterisk@phreaknet.org>
Fri, 3 Sep 2021 00:00:50 +0000 (00:00 +0000)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 10 Sep 2021 16:48:10 +0000 (11:48 -0500)
commite0111a56fa1436c8754901441edbbdfd98ff9383
tree178702f700a06c30d7a4f73e9698428db18b497f
parentddf6299b8d7d0bd93e957c214bae9fa5a68c4e9e
func_env: Add DIRNAME and BASENAME functions

Adds the DIRNAME and BASENAME functions, which are
wrappers around the corresponding C library functions.
These can be used to safely and conveniently work with
file paths and names in the dialplan.

ASTERISK-29628 #close

Change-Id: Id3aeb907f65c0ff96b6e57751ff0cb49d61db7f3
doc/CHANGES-staging/func_env.txt [new file with mode: 0644]
funcs/func_env.c