<div dir="ltr"><div><div><div>Yes ! It is in bypass mode ! <br><br></div>I&#39;m going to test continue_on_fail.<br><br></div>Thanks a lot !<br></div>Marc<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-02 16:34 GMT+01:00 Vallimamod Abdullah <span dir="ltr">&lt;<a href="mailto:vma@vallimamod.org" target="_blank">vma@vallimamod.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Marc,<br>
<br>
Are you by any chance in bypass media mode?<br>
If so that could explain why the application name is set to signal_bridge. I have tried with your dialplan in &quot;normal&quot; mode and I actually get the full dial url in the 12th field.<br>
<br>
Unfortunately, it won&#39;t help either in your case as you won&#39;t know which gateway did actually take the call. But you can set continue_on_fail and add a second bridge app:<br>
<br>
&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>
&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=<wbr>true&quot;/&gt;<br>
&lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/primary/<wbr>dialstring&quot;/&gt;<br>
&lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/secondary/<wbr>dialstring&quot;/&gt;<br>
<br>
This way you will get the specific dial url in the channel list.<br>
<span class="im HOEnZb"><br>
Best Regards,<br>
--<br>
Vallimamod Abdullah<br>
<a href="mailto:vma@vallimamod.org">vma@vallimamod.org</a><br>
.<br>
<br>
</span><div class="HOEnZb"><div class="h5">&gt; On 2 Jan 2017, at 14:00, Marc S &lt;<a href="mailto:therebel22@gmail.com">therebel22@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Vallimamod,<br>
&gt;<br>
&gt; Thanks for reply. Here the result :<br>
&gt;<br>
&gt; signal_bridge,3c77e89c-d0ea-<wbr>11e6-8e01-c7c4c1737996<br>
&gt; signal_bridge,cf214562-d0ea-<wbr>11e6-8eb6-c7c4c1737996<br>
&gt;<br>
&gt; Problem is that &quot;show channels&quot; not giving me any sofia/gateway/.. string because, i think, i use brige like this :<br>
&gt;<br>
&gt; &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/primary/<wbr>dialstring|sofia/gateway/<wbr>secondary/dialstring&quot;/&gt;<br>
&gt;<br>
&gt;<br>
&gt; Marc<br>
&gt;<br>
&gt; 2017-01-02 12:27 GMT+01:00 Vallimamod Abdullah &lt;<a href="mailto:vma@vallimamod.org">vma@vallimamod.org</a>&gt;:<br>
&gt; Hi Marc,<br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; fs_cli -x &#39;show channels&#39; | grep inbound | cut -d&#39;,&#39; -f11,12<br>
&gt;<br>
&gt; You will get something like:<br>
&gt;<br>
&gt; bridge,{ignore_display_update=<wbr>true}sofia/gateway/gw1/+XXX<br>
&gt; bridge,{ignore_display_update=<wbr>true}sofia/gateway/gw1/+XXX<br>
&gt; bridge,{ignore_display_update=<wbr>true}sofia/gateway/gw2/+XXX<br>
&gt; bridge,{ignore_display_update=<wbr>true}sofia/gateway/gw2/+XXX<br>
&gt;<br>
&gt; So you just have to count the lines corresponding to each gateway to get your numbers.<br>
&gt;<br>
&gt; Best Regards,<br>
&gt; --<br>
&gt; Vallimamod Abdullah<br>
&gt; <a href="mailto:vma@vallimamod.org">vma@vallimamod.org</a><br>
&gt; .<br>
&gt;<br>
&gt; &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; &gt;<br>
&gt; &gt; Hello,<br>
&gt; &gt;<br>
&gt; &gt; i&#39;m trying to get current calls count on a specific gateway in failover bridge scenario :<br>
&gt; &gt;<br>
&gt; &gt; <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+bridge#mod_dptools:bridge-ImplementingFailover" rel="noreferrer" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>mod_dptools%3A+bridge#mod_<wbr>dptools:bridge-<wbr>ImplementingFailover</a><br>
&gt; &gt;<br>
&gt; &gt; I have tried :<br>
&gt; &gt;<br>
&gt; &gt; show calls<br>
&gt; &gt; show channels<br>
&gt; &gt;<br>
&gt; &gt; but gateway name doesn&#39;t appears on list<br>
&gt; &gt;<br>
&gt; &gt; sofia status<br>
&gt; &gt; sofia status gateway GATEWAY_NAME<br>
&gt; &gt;<br>
&gt; &gt; but no help, no counter of current calls.<br>
&gt; &gt;<br>
&gt; &gt; Any ideas ?<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt; Marc<br>
&gt; &gt; ______________________________<wbr>______________________________<wbr>_____________<br>
&gt; &gt; Professional FreeSWITCH Consulting Services:<br>
&gt; &gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; &gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
&gt; &gt;<br>
&gt; &gt; Official FreeSWITCH Sites<br>
&gt; &gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
&gt; &gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt; &gt;<br>
&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>______________________________<wbr>_____________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">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 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt; ______________________________<wbr>______________________________<wbr>_____________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">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 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">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 href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">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 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>