Hi Vallimamod,

Thanks for reply. Here the result :

signal_bridge,3c77e89c-d0ea-11e6-8e01-c7c4c1737996
signal_bridge,cf214562-d0ea-11e6-8eb6-c7c4c1737996

Problem is that "show channels" not giving me any sofia/gateway/.. string because, i think, i use brige like this :

<action application="bridge" data="sofia/gateway/primary/dialstring|sofia/gateway/secondary/dialstring"/>


Marc

2017-01-02 12:27 GMT+01:00 Vallimamod Abdullah <vma@vallimamod.org>:
Hi Marc,

AFAIK, there is no per-gateway call count directly available. You can only get the per-profile call count with "sofia status". But if you are only routing inbound calls to these gateways, you can easily retrieve the numbers with:

fs_cli -x 'show channels' | grep inbound | cut -d',' -f11,12

You will get something like:

bridge,{ignore_display_update=true}sofia/gateway/gw1/+XXX
bridge,{ignore_display_update=true}sofia/gateway/gw1/+XXX
bridge,{ignore_display_update=true}sofia/gateway/gw2/+XXX
bridge,{ignore_display_update=true}sofia/gateway/gw2/+XXX

So you just have to count the lines corresponding to each gateway to get your numbers.

Best Regards,
--
Vallimamod Abdullah
vma@vallimamod.org
.

> On 1 Jan 2017, at 22:21, Marc S <therebel22@gmail.com> wrote:
>
> Hello,
>
> i'm trying to get current calls count on a specific gateway in failover bridge scenario :
>
> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+bridge#mod_dptools:bridge-ImplementingFailover
>
> I have tried :
>
> show calls
> show channels
>
> but gateway name doesn't appears on list
>
> sofia status
> sofia status gateway GATEWAY_NAME
>
> but no help, no counter of current calls.
>
> Any ideas ?
>
> Thanks,
> Marc
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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