<div dir="ltr"><div><div><div>Yes ! It is in bypass mode ! <br><br></div>I'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"><<a href="mailto:vma@vallimamod.org" target="_blank">vma@vallimamod.org</a>></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 "normal" mode and I actually get the full dial url in the 12th field.<br>
<br>
Unfortunately, it won't help either in your case as you won't know which gateway did actually take the call. But you can set continue_on_fail and add a second bridge app:<br>
<br>
<action application="set" data="continue_on_fail=true"/><br>
<action application="set" data="hangup_after_bridge=<wbr>true"/><br>
<action application="bridge" data="sofia/gateway/primary/<wbr>dialstring"/><br>
<action application="bridge" data="sofia/gateway/secondary/<wbr>dialstring"/><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">> On 2 Jan 2017, at 14:00, Marc S <<a href="mailto:therebel22@gmail.com">therebel22@gmail.com</a>> wrote:<br>
><br>
> Hi Vallimamod,<br>
><br>
> Thanks for reply. Here the result :<br>
><br>
> signal_bridge,3c77e89c-d0ea-<wbr>11e6-8e01-c7c4c1737996<br>
> signal_bridge,cf214562-d0ea-<wbr>11e6-8eb6-c7c4c1737996<br>
><br>
> Problem is that "show channels" not giving me any sofia/gateway/.. string because, i think, i use brige like this :<br>
><br>
> <action application="bridge" data="sofia/gateway/primary/<wbr>dialstring|sofia/gateway/<wbr>secondary/dialstring"/><br>
><br>
><br>
> Marc<br>
><br>
> 2017-01-02 12:27 GMT+01:00 Vallimamod Abdullah <<a href="mailto:vma@vallimamod.org">vma@vallimamod.org</a>>:<br>
> Hi Marc,<br>
><br>
> 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:<br>
><br>
> fs_cli -x 'show channels' | grep inbound | cut -d',' -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>
><br>
> > On 1 Jan 2017, at 22:21, Marc S <<a href="mailto:therebel22@gmail.com">therebel22@gmail.com</a>> wrote:<br>
> ><br>
> > Hello,<br>
> ><br>
> > i'm trying to get current calls count on a specific gateway in failover bridge scenario :<br>
> ><br>
> > <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>
> ><br>
> > I have tried :<br>
> ><br>
> > show calls<br>
> > show channels<br>
> ><br>
> > but gateway name doesn't appears on list<br>
> ><br>
> > sofia status<br>
> > sofia status gateway GATEWAY_NAME<br>
> ><br>
> > but no help, no counter of current calls.<br>
> ><br>
> > Any ideas ?<br>
> ><br>
> > Thanks,<br>
> > Marc<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>
><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>
><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>
<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>