Topic: Script to call feature code/extension from a feature/code extension [Comments: 2]
Wilbert

Thu, 07/08/2010 - 13:10 | Script to call feature code/extension from a feature/code extension

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?

eeman

Thu, 07/08/2010 - 23:27 | it depends on how you call

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}

Erik Smith
CTO
BluegrassNet Voice
dCAP
Thirdlane Support by BluegrassNet Voice
eeman at bluegrassnetvoice dot com

Wilbert

Thanks, Erik.

I just hard-coded the script for 2 ring groups and
got it working that way.