<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 23, 2015 at 5:51 AM, Raj Roy Ghandhi <span dir="ltr"><<a href="mailto:roy.gandhi@gmail.com" target="_blank">roy.gandhi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Friends,<div>I encountered a strange issue.</div><div>I am running Asterisk 11.8.1 on Cent OS with no firewall running.</div><div>It has 3 NIC interfaces.</div><div><br></div><div>in my sip.conf I have</div><div><br></div><div><div>allowguest=yes </div><div>bindaddr=0.0.0.0</div><div>udpbindaddr = 0.0.0.0 </div></div><div><br></div><div>But my Asterisk instance does not pick the call at all.</div><div><br></div><div>When I check the listening apps using lsof -i I get </div><div><div> </div><div>asterisk 3046 asterisk 7u IPv4 1191172 0t0 TCP *:5038 (LISTEN)</div><div>asterisk 3046 asterisk 10u IPv4 1191186 0t0 UDP *:sip</div><div>asterisk 3046 asterisk 11u IPv4 1191187 0t0 TCP *:sip (LISTEN)</div><div>asterisk 3046 asterisk 13u IPv4 1191196 0t0 UDP *:iax</div><div>asterisk 3046 asterisk 15u IPv4 1191199 0t0 UDP *:commplex-main</div><div>asterisk 3046 asterisk 16u IPv4 1191201 0t0 UDP *:4520</div><div>asterisk 3046 asterisk 19u IPv4 1191232 0t0 TCP localhost:5038->localhost:43353 (ESTABLISHED)</div></div><div><br></div><div><br></div><div>But I van see the SIP Invite that comes into server and I can ngrep it as</div><div><br></div></div></blockquote><div><br></div><div>I believe UDP ports don't provide the state in lsof.</div><div><br></div><div>Asterisk is listening here:</div><div><span style="font-size:12.8000001907349px">asterisk 3046 asterisk 10u IPv4 1191186 0t0 UDP *:sip</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">My system shows similar output for lsof and it works fine.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Have you tried using the Asterisk CLI with "sip set debug on" to see if Asterisk shows any SIP packets?</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">You might consider collecting a debug log with "sip set debug on" output :<a href="https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information">https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information</a></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Once you have that, provide a pastebin link to the output and someone may be able to help you out.</span></div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><pre><span>Rusty Newton</span>
Digium, Inc. | <span>Community Support Manager</span>
<span>445 Jan Davis Drive NW</span> - <span>Huntsville, AL 35806</span> - <span>US</span>
<span>direct:</span> <span>+1 256 428 6200</span><span></span> <span></span>
<span>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></span></pre></div></div>
</div></div>