After I read a http://wiki.freeswitch.com/wiki/Sofia.conf.xml#Variables I configured FS [root@freeswitch1 external]# more /usr/local/freeswitch/conf/sip_profiles/external/SMG-1016M.xml </include> <gateway name="SMG-1016M"> <param name="realm" value="10.10.10.1"/> <param name="register" value="false"/> <param name="caller-id-in-from" value="true"/> <param name="ping" value="25"/> <variables> <variable name="SMG-1016M_inbound_var_name" data="this_is_inbound_call" direction="inbound"/> <variable name="SMG-1016M_outbound_var_name" data="this_is_outbound_call" direction="outbound"/> <variable name="SMG-1016M_both_var_name" data="this_on_any_direction_call"/> </variables> </gateway> </include> [root@freeswitch1 external]# I insert the info application into public context of dialplanbefore a transfer application? make call but don't see variables (SMG-1016M_inbound_var_name,SMG-1016M_outbound_var_name,SMG-1016M_both_var_name) in fs_cli. I want to see variable = <gateway name="SMG-1016M"> into dialplan for each gateway in (single) external sip profile. How it to make? Vladislav Grishin