I tried to use under global variable what I will call as part of the name of context, but asterisk fail to load that rule.
[globals]
PREFIX_1=066
....
....
[dongle-incoming-sms-${PREFIX_1}]
...
...
same => n,Hangup()
[${PREFIX_1}-incoming_CALL]
...
...
same => n,Hangup()
include => dongle-incoming-sms-${PREFIX_1}
If I reload dialplan I got the error:
[Sep 24 14:26:36] WARNING[4772]: pbx.c:8547 ast_context_verify_includes: Context '${PREFIX_1}-incoming_CALL' tries to include nonexistent context 'dongle-incoming-sms-066'
Is it imposible or simply the way of calling the variable is not same as when I call inside of context?
Thx