[Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike?

Michael Jerris mike at jerris.com
Thu Sep 1 23:00:53 MSD 2016


its in show channels, and its in the view over calls and channels.

> On Sep 1, 2016, at 2:49 PM, Victor Chukalovskiy <victor.chukalovskiy at gmail.com> wrote:
> 
> Good day, I've been studying output of "show calls", "show detailed 
> calls", and "show channels" for quite some time.
> 
> Surprisingly, I can't find a value of ${network_address} variable or 
> anything similar that will tell me for each outgoing leg SIP IP address 
> on the far end. In other words, how do I find IP address of SIP UAS 
> FreeSWITCH is communicating with on every outgoing call leg?
> 
> I managed to get it in CDRs by dumping ${network_address}, but can't get 
> it for active calls dump. Is there truly nothing in "show calls" or 
> equivalent that will help me? Should I submit a feature request then?
> 
> Few cents on my call scenario:
> 
> SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). 
> I'm originating my b-legs via sofia gateways (so IP address of the 
> far-end is picked up from gateway config, and not mentioned in the 
> dial-plan in any way or form).
> 
> Many thanks,
> 
> -Victor
> 




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list