On Tue, Aug 10, 2010 at 9:23 AM, <span dir="ltr"><<a href="mailto:erik.buelens@telenet.be">erik.buelens@telenet.be</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10pt;color:#000000"><div><font face="Arial" size="2">Hello,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I'm new to opensips, i've sip experience but little
programming skills.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I've installed the opensips module on a virtual
machine running centos.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I've not seen compiler errors. Port 5060 is
listend.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">When I'm sending a register message, which also
arrives on the interface, verified with tcpdump</font></div>
<div><font face="Arial" size="2">I don't see any respons.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I tought when i would compile with mode=debug i
would get some logging but neither in the terminal nor on in</font></div>
<div><font face="Arial" size="2">the syslog i get any info.</font></div>
<div><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;"><font class="Apple-style-span" face="Verdana, Arial, Helvetica, sans-serif"><br></font></span></font></div></div></div>
</blockquote><div>Couple of comments:</div><div>To turn on debug, set:</div><div>debug=3 (or higher) </div><div>in opensips.cfg, then restart (opensipsctl restart)</div><div><br></div><div>instead of using tcpdump, try using a tool like ngrep or tshark:</div>
<div>ngrep -qW byline port 5060</div><div>tshark -i any port 5060</div><div><br></div><div>It's hard to diagnose the problem you are having without more information. I guess what you need to check on:</div><div>1. Is opensips listening on the same interface you are receiving the message? (netstat -nlp)</div>
<div>2. Is there a firewall blocking the traffic?</div><div>3. Is opensips actually running (seriously!)</div><div>4. Does your opensips.cfg actually handle REGISTERs? if you have a bunch of if (is_method("INVITE")) but nothing for REGISTER, it might end up just ignoring it altogether.</div>
<div><br></div><div>normal "debugging" for the transactions isn't something you need to set during compile, it's a configuration parameter.</div><div><br></div><div>Ultimately, that should help out. The opensips debug log will point you in the right direction, but honestly, I think while learning opensips, that debug log might be a little intimidating for this sort of problem. I'd check the other points first. :)<br>
<br></div><div>-Brett</div><div><br></div></div>