<div dir="ltr"><div><div><div><div><div>Sorry Guys, I'm very new to this. Taking a dive 'under the hood', to try to learn what is going on, and to see what I can achieve.<br><br></div>I have 1 sip device ( voip telephone) on the network, constantly firing out REGISTER requests (I have turned off my asterisk server!). That's good.<br></div>I have a terminal window open, running tcpdump. That's good too - I can see what is going on.<br><br></div>I also have kamailio - giving me absolutely nothing. It's not  complicated config file. In fact it is the simplest I could do. However, it logs nothing - and i am expecting it to.<br><br></div>Can someone put me out of my misery, and point out the glaring error I have?<br></div><div>How can I send messages to STDERR while testing?<br></div><div><br></div>Cheers,<br><br>Phil<br><br>----<br><br>## WARNING - FOR TESTING & EDUCTION ONLY<br>####### Global Parameters #########<br><br>debug=5<br>fork=no<br>log_stderror=yes<br>port=5060<br><br>####### Modules Section ########<br><br># set module path<br>mpath="/usr/local/lib/kamailio/modules/"<br>loadmodule "sl.so"<br><br>####### Routing Logic ########<br><br>route{<br> if(method=="REGISTER") {<br>  log(1,"this SIP request is a REGISTER message\n");<br>  sl_send_reply("404", "No registrar");<br> };<br><br> if (af!=INET6) {      <br>  log(1,"Message received over IPv4 link\n");<br> };<br><br> if(proto==UDP) {   <br>  log(1,"SIP message received over UDP\n");<br> };<br><br> if(status=="200") {<br>  log(1,"this is a 200 OK reply\n");<br> };<br><br> if(uri==myself) {<br>  log(1,"the request is for local processing\n");<br> };<br>}<br><br></div>