[Freeswitch-users] Fetching user-variables

Christian Benke benkokakao at gmail.com
Fri Aug 19 17:11:05 MSD 2011


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



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list