Hello,

what you are actually looking for, the number of calls or details about the calls?

Cheers,
Daniel

On 27.11.18 16:21, David Villasmil wrote:
Hello guys,

is there any way of printing out the selected gw current calls? i.e.:

    if(ds_select_dst("1", "4"))
    {
        xlog("L_ERR", "[DISPATCH] $ci: ds_select_routes was succesful (du: <$du>)\n");
        ****** PRINT GWs CALLS *******
    } else {
        xlog("L_ERR", "[DISPATCH] $ci: did NOT find a gateway to use!\n");
        send_reply("404", "No destination");
        exit;
    }
    xlog("L_DBG", "[DISPATCH] $ci: going to <$ru> via <$du>\n");
    t_on_failure("RTF_DISPATCH");
    route(RELAY);



Regards,

David Villasmil
phone: +34669448337

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com