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 dialplan before 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