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

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to