On Oct 13, 2015, at 10:52 AM, Leonardo Lima Ribeiro <llribeiro90@gmail.com> wrote:I’ve searched a bit more and I think I will be fine using:_________________________________________________________________________show channelsThen I can parse the result to see if my gateway is there…What do you mean by using limit? It’s an api command?Thank you!Em 13/10/2015, à(s) 11:42 AM, Michael Jerris <mike@jerris.com> escreveu:We don't currently keep a counter of this. You might be able to craft one using limit, but more ideal is probably to create a patch to mod_sofia and contribute this feature._________________________________________________________________________On Oct 13, 2015, at 7:27 AM, Leonardo Lima Ribeiro <llribeiro90@gmail.com> wrote:Hello all!_________________________________________________________________________I need to know how many calls are running for each gateway (in my case outbound calls).When I do sofia status I have the running number of calls for the external profile like RUNNING (1), but at the gateway line of the result, the state remains REGED.I tried too sofia status gateway, but no success.Here’s my Sofia status:freeswitch@internal> sofia statusName Type Data State=================================================================================================192.168.10.72 alias internal ALIASED=================================================================================================4 profiles 1 aliasAnd my sofia status gateway, here I can’t see even the number of calls that is running:freeswitch@internal> sofia status gatewayProfile::Gateway-Name Data State Ping Time IB Calls(F/T) OB Calls(F/T)==================================================================================================================================================================================================5 gateways: Inbound(Failed/Total): 0/0,Outbound(Failed/Total):0/2So, I just want to know if my current call is using 5_JIVE or 4_NEXTIVA. In this actual scenario I can know that my calls are being made by Nextiva because I have 0/2 outbound calls there and for Jive I have 0/0… But if I have any number for Jive, I will not know anymore...Any idea?Thank you,Leonardo Ribeiro
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
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