<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>what you are actually looking for, the number of calls or details
about the calls?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 27.11.18 16:21, David Villasmil
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFGRPVpJWvAdbSmyw=KON9J2vCXpoHp0ubqXJYpZzMTaQquHjA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hello guys,
<div><br>
</div>
<div>is there any way of printing out the selected gw
current calls? i.e.:</div>
<div><br>
</div>
<div><font face="monospace, monospace">
if(ds_select_dst("1", "4"))<br>
</font></div>
<div>
<div><font face="monospace, monospace"> {</font></div>
<div><font face="monospace, monospace">
xlog("L_ERR", "[DISPATCH] $ci: ds_select_routes was
succesful (du: <$du>)\n");</font></div>
<div><font face="monospace, monospace"> ******
PRINT GWs CALLS *******</font></div>
<div><font face="monospace, monospace"> } else {</font></div>
<div><font face="monospace, monospace">
xlog("L_ERR", "[DISPATCH] $ci: did NOT find a gateway
to use!\n");</font></div>
<div><font face="monospace, monospace">
send_reply("404", "No destination");</font></div>
<div><font face="monospace, monospace"> exit;</font></div>
<div><font face="monospace, monospace"> }</font></div>
<div><font face="monospace, monospace"> xlog("L_DBG",
"[DISPATCH] $ci: going to <$ru> via
<$du>\n");</font></div>
<div><font face="monospace, monospace">
t_on_failure("RTF_DISPATCH");</font></div>
<div><font face="monospace, monospace"> route(RELAY);</font></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>Regards,</div>
<div><br>
</div>
David Villasmil
<div>email: <a
href="mailto:david.villasmil.work@gmail.com"
target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
<div>phone: +34669448337</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div hspace="streak-pt-mark" style="max-height:1px"><img alt=""
style="width:0px;max-height:0px;overflow:hidden"
src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=42bd129b-ed4b-4bb6-9f48-4df6ef4cef8b"
moz-do-not-send="true"><font size="1" color="#ffffff">ᐧ</font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
</body>
</html>