Is there a group variable?
Hello! I have the following scenario: I want to check if a called extension is part of a group, or as an alternative, if it is a user in the directory. My basic intention is to find out if a 3-digit extension leads to a valid user - if it doesn't, some other action will happen. Maybe there are better ways to do this than to check for the parameters above, not sure though(Don't want to use a regexp for the available extensions though). If there is such a variable, it doesn't seem to be documented or i'm still too lost in the docs... Can you give me a pointer? Regards Christian
http://wiki.freeswitch.org/wiki/Mod_commands#in_group http://wiki.freeswitch.org/wiki/Mod_commands#user_exists On Jun 30, 2009, at 6:09 AM, Christian Benke wrote:
Hello!
I have the following scenario:
I want to check if a called extension is part of a group, or as an alternative, if it is a user in the directory. My basic intention is to find out if a 3-digit extension leads to a valid user - if it doesn't, some other action will happen. Maybe there are better ways to do this than to check for the parameters above, not sure though(Don't want to use a regexp for the available extensions though).
If there is such a variable, it doesn't seem to be documented or i'm still too lost in the docs... Can you give me a pointer?
participants (2)
-
Christian Benke
-
Michael Jerris