<div dir="ltr">no, only the lines you see.<br><br>
<div class="gmail_quote">On Wed, Jan 11, 2012 at 7:40 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Looking into the source, exec_msg() does not access receive info (source/destination address). Is there any other action in timer route accessing source IP or destination IP (like xlog printing $si)?<br>
<br>Cheers,<br>Daniel 
<div class="HOEnZb">
<div class="h5"><br><br>On 1/11/12 6:05 PM, Uri Shacked wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Thanks, will be waiting :-)<br><br>On 1/11/12, Daniel-Constantin Mierla&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;  wrote:<br>

<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hello,<br><br>On 1/11/12 11:36 AM, Uri Shacked wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi,<br>i am doing this command in a timer under kamailio:<br>$var(log)=&#39;&quot;&#39;+&#39;denied_calls-&#39;+<u></u>$stat(denied_calls)+&#39;,dos-&#39;+$<u></u>shv(dos)+&#39;&quot;&#39;;<br>
 exec_msg(&quot;nc -u -w0 10.2.0.54 514&lt;&lt;&lt;  $var(log)&quot;);<br>each time the command is executed, i get the following error:<br>9(19302) : exec [../../parser/../ip_addr.h:<u></u>688]: BUG: ip_addr2sbuf:<br>unknown address family 0<br>
 9(19302) ERROR: exec [exec.c:86]: cmd nc -u -w0 10.2.0.54 514&lt;&lt;&lt;<br>&quot;,denied_calls-0,dos-green&quot; failed. exit_status=-1, errno=32: Broken pipe<br>any idea?<br>the syslog server gets the message....<br></blockquote>
the timer execute functions with a faked sip request, which is not<br>received from the network, but generated internally. Thus there is no<br>source IP. Perhaps it should be set as received from itself or loopback<br>device (127.0.0.1) -- I will look over it.<br>
<br>Cheers,<br>Daniel<br><br>--<br>Daniel-Constantin Mierla -- <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a><br><a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a><br>
<br><br></blockquote></blockquote><br>-- <br>Daniel-Constantin Mierla -- <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a><br><a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a><br>
<br></div></div></blockquote></div><br></div>