[Asterisk-Users] features enableing via database per extension number

Ronald Wiplinger ronald at elmit.com
Wed Mar 23 02:59:38 MST 2005


I am looking for a way to add features to an extension number.

e.g. extension 601 gets features a, b and c, while extension 605 gets 
the features a, d and e.

I would like at the beginning query a database to get the flags for the 
extension (bellow for 601)
feature_a=y
feature_b=y
feature_c=y
feature_d=n
feature_e=n

How to ask a database ???

I found a ifgoto, but not an ifinclude   or do I miss it somewhere?
Has somebody done something like that

bye

Ronald




More information about the asterisk-users mailing list