[SR-Users] dispatcher: Get gateway current calls

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 27 17:25:48 CET 2018


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
> email: david.villasmil.work at gmail.com
> <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
>>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181127/a09fd6fd/attachment.html>


More information about the sr-users mailing list