Skip to main content

Script to call feature code/extension from a feature/code extension

Posted by Wilbert on Thu, 07/08/2010

Wanting to call multiple ring groups in succession, with different
parameters, then go to voicemail if no answer.

When calling a feature code from a feature code, the ${tenant}
variable is blank.

Any ideas?


Submitted by eeman on Thu, 07/08/2010 Permalink

it depends on how you call things.. your describing something called scope. In asterisk dialplan you put underscores in front of your variables as you set them to allow for regressive scope. However a simple goto statement does not flush channel variables like {tenant}