Hello! Yes, but this form of variable is available only to gateways? I've tried to set direction for user variable too without success. Variable is always present. My test enviroment: <include> <user id="73435230024"> <params> <param name="password" value="012345"/> <param name="vm-enabled" value="false"/> <param name="vm-password" value="326699"/> </params> <variables> <variable name="toll_allow" value="internal,local,domestic,international"/> <variable name="v_test1" value="test1" direction="inbound"/> <variable name="v_test2" value="test2" direction="outbound"/> <!-- <variable name="v_tagnet_context" value="ho"/>--> </variables> </user> </include> I do a call from this user to external gateway and see both variables are set with application=info.
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound).
-MC
On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru <mailto:boris@tagnet.ru>> wrote:
Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
_______________________________________________ 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
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005