<div dir="ltr"><div><div>Hi Vallimamod,<br><br></div>Thanks for reply. Here the result :<br><br>signal_bridge,3c77e89c-d0ea-11e6-8e01-c7c4c1737996<br>signal_bridge,cf214562-d0ea-11e6-8eb6-c7c4c1737996<br><br></div>Problem is that &quot;show channels&quot; not giving me any sofia/gateway/.. string because, i think, i use brige like this :<br><br><div title="Hint: double-click to select code" class="gmail-container"><div class="gmail-line gmail-number1 gmail-index0 gmail-alt2"><code class="gmail-xml gmail-plain">&lt;</code><code class="gmail-xml gmail-keyword">action</code> <code class="gmail-xml gmail-color1">application</code><code class="gmail-xml gmail-plain">=</code><code class="gmail-xml gmail-string">&quot;bridge&quot;</code> <code class="gmail-xml gmail-color1">data</code><code class="gmail-xml gmail-plain">=</code><code class="gmail-xml gmail-string">&quot;sofia/gateway/primary/dialstring|sofia/gateway/secondary/dialstring&quot;</code><code class="gmail-xml gmail-plain">/&gt;<br><br></code></div><div class="gmail-line gmail-number1 gmail-index0 gmail-alt2"><code class="gmail-xml gmail-plain"><br></code></div></div><div><div><div><div><div class="gmail_extra">Marc<br><br></div><div class="gmail_extra"><div class="gmail_quote">2017-01-02 12:27 GMT+01:00 Vallimamod Abdullah <span dir="ltr">&lt;<a target="_blank" href="mailto:vma@vallimamod.org">vma@vallimamod.org</a>&gt;</span>:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Hi Marc,<br>
<br>
AFAIK, there is no per-gateway call count directly available. You can only get the per-profile call count with &quot;sofia status&quot;. But if you are only routing inbound calls to these gateways, you can easily retrieve the numbers with:<br>
<br>
fs_cli -x &#39;show channels&#39; | grep inbound | cut -d&#39;,&#39; -f11,12<br>
<br>
You will get something like:<br>
<br>
bridge,{ignore_display_update=<wbr>true}sofia/gateway/gw1/+XXX<br>
bridge,{ignore_display_update=<wbr>true}sofia/gateway/gw1/+XXX<br>
bridge,{ignore_display_update=<wbr>true}sofia/gateway/gw2/+XXX<br>
bridge,{ignore_display_update=<wbr>true}sofia/gateway/gw2/+XXX<br>
<br>
So you just have to count the lines corresponding to each gateway to get your numbers.<br>
<br>
Best Regards,<br>
--<br>
Vallimamod Abdullah<br>
<a href="mailto:vma@vallimamod.org">vma@vallimamod.org</a><br>
.<br>
<div><div class="gmail-h5"><br>
&gt; On 1 Jan 2017, at 22:21, Marc S &lt;<a href="mailto:therebel22@gmail.com">therebel22@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; i&#39;m trying to get current calls count on a specific gateway in failover bridge scenario :<br>
&gt;<br>
&gt; <a target="_blank" rel="noreferrer" href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+bridge#mod_dptools:bridge-ImplementingFailover">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>mod_dptools%3A+bridge#mod_<wbr>dptools:bridge-<wbr>ImplementingFailover</a><br>
&gt;<br>
&gt; I have tried :<br>
&gt;<br>
&gt; show calls<br>
&gt; show channels<br>
&gt;<br>
&gt; but gateway name doesn&#39;t appears on list<br>
&gt;<br>
&gt; sofia status<br>
&gt; sofia status gateway GATEWAY_NAME<br>
&gt;<br>
&gt; but no help, no counter of current calls.<br>
&gt;<br>
&gt; Any ideas ?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Marc<br>
</div></div>&gt; ______________________________<wbr>______________________________<wbr>_____________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a target="_blank" rel="noreferrer" href="http://www.freeswitchsolutions.com">http://www.<wbr>freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a target="_blank" rel="noreferrer" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
&gt; <a target="_blank" rel="noreferrer" href="http://confluence.freeswitch.org">http://confluence.freeswitch.<wbr>org</a><br>
&gt; <a target="_blank" rel="noreferrer" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
&gt; <a target="_blank" rel="noreferrer" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
&gt; UNSUBSCRIBE:<a target="_blank" rel="noreferrer" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
&gt; <a target="_blank" rel="noreferrer" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a target="_blank" rel="noreferrer" href="http://www.freeswitchsolutions.com">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a target="_blank" rel="noreferrer" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a target="_blank" rel="noreferrer" href="http://confluence.freeswitch.org">http://confluence.freeswitch.<wbr>org</a><br>
<a target="_blank" rel="noreferrer" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a target="_blank" rel="noreferrer" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a target="_blank" rel="noreferrer" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a target="_blank" rel="noreferrer" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div></div></div></div></div>