Fetching user-variables
Hi! I'm working on a redirect script and ran into a problem with toll_allow: A tries to reach B but B has redirected to C B is allowed to make external calls(via the user-specific-variable "toll_allow"), but A is not(Could be a external caller or a directory-user with restrictions). B's redirection will not work as she intended, as the dialplan is restricted through toll_allow. B is responsible for the external call of A to C, therefore her accountcode and her toll_allow should apply - unfortunately the dialplan doesn't know that the call has been redirected by B. Right now i don't know how to solve this with FreeSWITCH. Is there a way to fetch user-specific-variables of B, like "toll_allow", in a call that was not directly initiated by B? Best regards Christian
You probably need to add a "set_user" dp app in there somewhere. Can you pastebin your relevant dp configs? We'll take a look. -MC On Fri, Aug 19, 2011 at 6:11 AM, Christian Benke <benkokakao@gmail.com>wrote:
Hi!
I'm working on a redirect script and ran into a problem with toll_allow: A tries to reach B but B has redirected to C B is allowed to make external calls(via the user-specific-variable "toll_allow"), but A is not(Could be a external caller or a directory-user with restrictions). B's redirection will not work as she intended, as the dialplan is restricted through toll_allow. B is responsible for the external call of A to C, therefore her accountcode and her toll_allow should apply - unfortunately the dialplan doesn't know that the call has been redirected by B. Right now i don't know how to solve this with FreeSWITCH.
Is there a way to fetch user-specific-variables of B, like "toll_allow", in a call that was not directly initiated by B?
Best regards Christian
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Christian Benke
-
Michael Collins