search for: execifmacro

Displaying 1 result from an estimated 1 matches for "execifmacro".

2015 Jun 03
1
default features
...ts inside the dialplan. Since not all customers need/want all features and they (the features) are customized, I named them like [macro-feature1-ClientA], [macro-feature4-ClientF], ... Question: is there some built-in way to know if macro "feature1-ClientA" is defined? Something like ExecIfMacro(feature1-ClientA)?macro(feature1-ClientA):Goto(...). For the moment, we are using an external command like "asterisk -rx 'dialplan show'| grep ..." to set a "__variable" and we use it later to decide to execute or not the "suspicious" macro. Cheers Ethy