You can't... the database doesn't store every channel variable. Try watching ESL events instead. On 17 December 2012 23:20, Ahmed Sboor <ahmed@netelsat.net> wrote:
Hi, i tried dump and variable_sip_to_host is the variable which tells me what i am looking for, And now question is how to get value of this variable in b_ip_addr while doing show calls as xml ?
On Tue, Dec 18, 2012 at 3:43 AM, Michael Collins <msc@freeswitch.org>wrote:
Get a call up and running and then do a uuid_dump of the a leg. I think you'll find that there are some channel variables that get set. I don't recall them off the top of my head but look for something like sip_gateway or sip_gateway_name.
-MC
On Mon, Dec 17, 2012 at 1:15 PM, Ahmed Sboor <ahmed@netelsat.net> wrote:
Hi All, i am trying to see information like show calls or show channels . only confusion is wrong/missing information in *b_name and **b_ip_addr . * these both are taken from a leg while here i was expecting to see call is connected to which gateway. * * * * i am having like : *<b_name>sofia/external/919123123334</b_name>*
Means there is no "gateway name mentioned in b_name.
and in b_ip_addr its like : * <b_ip_addr>10.10.10.1</b_ip_addr>*
while this is ip call is coming from and b leg i was expecting as ip of gateway call is going to.
Please let me know if i am missing something.
usring FreeSWITCH Version 1.2.5.3+git~20121206T171012Z~d74bef3f2f (git d74bef3 2012-12-06 17:10:12Z)
Thanking you Ahmed
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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