mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
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
This commit is contained in:
committed by
George Joseph
parent
b6b7b1490b
commit
19de228e8b
5
doc/CHANGES-staging/func_env.txt
Normal file
5
doc/CHANGES-staging/func_env.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Subject: func_env.c
|
||||
|
||||
Two new functions, DIRNAME and BASENAME, are now
|
||||
included which allow users to obtain the directory
|
||||
or the base filename of any file.
|
Reference in New Issue
Block a user