[SR-Users] dispatcher: Get gateway current calls

David Villasmil david.villasmil.work at gmail.com
Tue Nov 27 16:21:46 CET 2018


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
email: david.villasmil.work at gmail.com
phone: +34669448337
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181127/3511a964/attachment.html>


More information about the sr-users mailing list