<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello all!<div class=""><br class=""></div><div class="">I need to know how many calls are running for each gateway (in my case outbound calls).</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">I tried too sofia status gateway, but no success.</div><div class=""><br class=""></div><div class="">Here’s my Sofia status:</div><div class=""><div class=""><font face="Menlo" class="">freeswitch@internal&gt; sofia status</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Name<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; Type<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Data<span class="Apple-tab-span" style="white-space:pre">        </span>State</font></div><div class=""><font face="Menlo" class="">=================================================================================================</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external-ipv6<span class="Apple-tab-span" style="white-space:pre">        </span>profile<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="sip:mod_sofia@[::1]:5080" class="">sip:mod_sofia@[::1]:5080</a><span class="Apple-tab-span" style="white-space:pre">        </span>RUNNING (0)</font></div><div class=""><font face="Menlo" class="">external-ipv6::<a href="http://example.com" class="">example.com</a><span class="Apple-tab-span" style="white-space:pre">        </span>gateway<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="sip:joeuser@example.com" class="">sip:joeuser@example.com</a><span class="Apple-tab-span" style="white-space:pre">        </span>NOREG</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.10.72<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp;alias<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;internal<span class="Apple-tab-span" style="white-space:pre">        </span>ALIASED</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;external<span class="Apple-tab-span" style="white-space:pre">        </span>profile<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="sip:mod_sofia@192.168.10.72:5080" class="">sip:mod_sofia@192.168.10.72:5080</a><span class="Apple-tab-span" style="white-space:pre">        </span>RUNNING (1)</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; external::<a href="http://example.com" class="">example.com</a><span class="Apple-tab-span" style="white-space:pre">        </span>gateway<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="sip:joeuser@example.com" class="">sip:joeuser@example.com</a><span class="Apple-tab-span" style="white-space:pre">        </span>NOREG</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; external::<a href="http://example.com" class="">example.com</a><span class="Apple-tab-span" style="white-space:pre">        </span>gateway<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="sip:joeuser@example.com" class="">sip:joeuser@example.com</a><span class="Apple-tab-span" style="white-space:pre">        </span>NOREG</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;external::5_JIVE<span class="Apple-tab-span" style="white-space:pre">        </span>gateway<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; <a href="sip:**********@domain.jive.rtcfront.net" class="">sip:**********@domain.jive.rtcfront.net</a><span class="Apple-tab-span" style="white-space:pre">        </span>REGED</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; external::4_NEXTIVA<span class="Apple-tab-span" style="white-space:pre">        </span>gateway<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp;<a href="sip:*******@sbc.voipdnsservers.com" class="">sip:*******@sbc.voipdnsservers.com</a><span class="Apple-tab-span" style="white-space:pre">        </span>REGED</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; internal-ipv6<span class="Apple-tab-span" style="white-space:pre">        </span>profile<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="sip:mod_sofia@[::1]:5060" class="">sip:mod_sofia@[::1]:5060</a><span class="Apple-tab-span" style="white-space:pre">        </span>RUNNING (0)</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;internal<span class="Apple-tab-span" style="white-space:pre">        </span>profile<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="sip:mod_sofia@192.168.10.72:5060" class="">sip:mod_sofia@192.168.10.72:5060</a><span class="Apple-tab-span" style="white-space:pre">        </span>RUNNING (1)</font></div><div class=""><font face="Menlo" class="">=================================================================================================</font></div><div class=""><font face="Menlo" class="">4 profiles 1 alias</font></div></div><div class=""><br class=""></div><div class="">And my sofia status gateway, here I can’t see even the number of calls that is running:</div><div class=""><div class=""><font face="Menlo" class="">freeswitch@internal&gt; sofia status gateway</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; Profile::Gateway-Name<span class="Apple-tab-span" style="white-space: pre;">        </span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Data &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space: pre;">        </span>State<span class="Apple-tab-span" style="white-space: pre;">        </span>Ping Time<span class="Apple-tab-span" style="white-space: pre;">        </span>IB Calls(F/T)<span class="Apple-tab-span" style="white-space: pre;">        </span>OB Calls(F/T)</font></div><div class=""><font face="Menlo" class="">=================================================================================================</font></div><div class=""><font face="Menlo" class="">external-ipv6::<a href="http://example.com" class="">example.com</a><span class="Apple-tab-span" style="white-space: pre;">        </span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <a href="sip:joeuser@example.com" class="">sip:joeuser@example.com</a><span class="Apple-tab-span" style="white-space: pre;">        </span>NOREG<span class="Apple-tab-span" style="white-space: pre;">        </span>&nbsp;&nbsp;0.00<span class="Apple-tab-span" style="white-space: pre;">        </span>0/0<span class="Apple-tab-span" style="white-space: pre;">        </span>0/0</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; external::<a href="http://example.com" class="">example.com</a><span class="Apple-tab-span" style="white-space: pre;">        </span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <a href="sip:joeuser@example.com" class="">sip:joeuser@example.com</a><span class="Apple-tab-span" style="white-space: pre;">        </span>NOREG<span class="Apple-tab-span" style="white-space: pre;">        </span>&nbsp;&nbsp;0.00<span class="Apple-tab-span" style="white-space: pre;">        </span>0/0<span class="Apple-tab-span" style="white-space: pre;">        </span>0/0</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; external::<a href="http://example.com" class="">example.com</a><span class="Apple-tab-span" style="white-space: pre;">        </span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <a href="sip:joeuser@example.com" class="">sip:joeuser@example.com</a><span class="Apple-tab-span" style="white-space: pre;">        </span>NOREG<span class="Apple-tab-span" style="white-space: pre;">        </span>&nbsp;&nbsp;0.00<span class="Apple-tab-span" style="white-space: pre;">        </span>0/0<span class="Apple-tab-span" style="white-space: pre;">        </span>0/0</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;external::5_JIVE<span class="Apple-tab-span" style="white-space: pre;">        </span><a href="sip:**********@domain.jive.rtcfront.net" class="">sip:**********@domain.jive.rtcfront.net</a><span class="Apple-tab-span" style="white-space: pre;">        </span>REGED<span class="Apple-tab-span" style="white-space: pre;">        </span>&nbsp;&nbsp;0.00<span class="Apple-tab-span" style="white-space: pre;">        </span>0/0<span class="Apple-tab-span" style="white-space: pre;">        </span>0/0</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; external::4_NEXTIVA<span class="Apple-tab-span" style="white-space: pre;">        </span><a href="sip:*****@sbc.voipdnsservers.com" class="">sip:*****@sbc.voipdnsservers.com</a><span class="Apple-tab-span" style="white-space: pre;">        </span>REGED<span class="Apple-tab-span" style="white-space: pre;">        </span>&nbsp;&nbsp;0.00<span class="Apple-tab-span" style="white-space: pre;">        </span>0/0<span class="Apple-tab-span" style="white-space: pre;">        </span>0/2</font></div><div class=""><font face="Menlo" class="">=================================================================================================</font></div><div class=""><font face="Menlo" class="">5 gateways: Inbound(Failed/Total): 0/0,Outbound(Failed/Total):0/2</font></div></div><div class=""><br class=""></div><div class="">So, 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...</div><div class=""><br class=""></div><div class="">Any idea?</div><div class=""><br class=""></div><div class="">Thank you,</div><div class="">Leonardo Ribeiro</div><div class=""><br class=""></div></body></html>