I am stuck with a problem while trying to use OpenSIPS and SIPp. I hope someone can help me out. <br><br>I have OpenSIPS runnin on 10.1.10.88<br>I am using the following cfg file<br><br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 6.8ex; padding-left: 1ex;" class="gmail_quote">
debug=3<br></blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><div style="margin-left: 40px;"><i>fork=no<br>log_stderror=yes<br>listen=10.1.10.88       <br>
port=5060<br>children=4<br>dns=yes<br>rev_dns=yes<br>#fifo= &quot;/tmp/ser_fifo&quot;<br>loadmodule &quot;/usr/src/opensips-1.4.4-tls/modules/sl/sl.so&quot;<br>loadmodule &quot;/usr/src/opensips-1.4.4-tls/modules/tm/tm.so&quot;<br>
loadmodule &quot;/usr/src/opensips-1.4.4-tls/modules/rr/rr.so&quot;<br>loadmodule &quot;/usr/src/opensips-1.4.4-tls/modules/maxfwd/maxfwd.so&quot;<br>loadmodule &quot;/usr/src/opensips-1.4.4-tls/modules/usrloc/usrloc.so&quot;<br>
loadmodule &quot;/usr/src/opensips-1.4.4-tls/modules/registrar/registrar.so&quot;<br>modparam(&quot;usrloc&quot;, &quot;db_mode&quot;, 0)<br>modparam(&quot;rr&quot;, &quot;enable_full_lr&quot;, 1) <br> route  {<br>   <br>
   if (!mf_process_maxfwd_header(&quot;10&quot;)) {<br>      sl_send_reply(&quot;483&quot;, &quot;Too Many Hops&quot;); <br>      return;<br>   };<br><br>   if (msg:len &gt; max_len) { <br>       sl_send_reply(&quot;513&quot;, &quot;Message Overflow&quot;);<br>
       return;<br>   };<br>   <br>   if (method!=&quot;REGISTER&quot;) { <br>       record_route(); <br>   };<br>   <br>   if (loose_route()) { <br>       route(1); <br>       return; <br>   };<br>   <br>   if (uri!=myself) { <br>
       route(1); <br>       return; <br>   };<br>   if (method==&quot;ACK&quot;) { <br>       route(1); <br>       return; <br>   } <br>   <br>   if (method==&quot;REGISTER&quot;) {   <br>       route(2); <br>       return; <br>
   };<br>    <br>   if (method==&quot;INVITE&quot;) {   <br>   <br>    add_local_rport();<br>    force_rport();<br>    forward();    <br>    t_relay();<br><br>    return;<br>   };<br><br>   lookup(&quot;aliases&quot;); <br>
     if (uri!=myself) {<br>       route(1);<br>       return;<br>   };<br>   if (!lookup(&quot;location&quot;)) { <br>       sl_send_reply(&quot;404&quot;, &quot;User Not Found&quot;); <br>       return; <br>   };<br>   route(1); <br>
}<br> route[1]    {<br>  <br>   if (!t_relay()) { <br>       sl_reply_error(); <br>   };<br><br>   }<br>route[2]  {<br>   <br>   if (!save(&quot;location&quot;)) { <br>      sl_reply_error(); <br>   };<br>}<br></i></div></blockquote>
<br><br>I have used the following cmds on Three diff Desktops<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 6.8ex; padding-left: 1ex;" class="gmail_quote"><b>opensips -f /usr/src/opensips-1.4.4-tls/examples/new.cfg -l <a href="http://10.1.10.88:5060">10.1.10.88:5060</a></b><br>
<br><b>sipp -sn -uac -r 20 -rp 200 -i 10.1.10.87 -p 5062 -rsa <a href="http://10.1.10.88:5060">10.1.10.88:5060</a> <a href="http://10.1.10.86:5061">10.1.10.86:5061</a></b><br><br><b>sipp -sn uas -i 10.1.10.86 -p 5061 -rsa <a href="http://10.1.10.88:5060">10.1.10.88:5060</a></b><br>
</blockquote><br><br>When the UAC starts sending the request they are completely absorbed by OpenSIPS and not at all forwarded to UAS. As a result the Count of INVITE and 100 are going up in SIPP (UAC) but then there is nothing happening after that. I mean there is no response from UAS. The 180, BYE on UAC count to zero till very end and there no increament in the messages on UAS list. <br>
<br>All the calls are shown to be paused on UAC.<br>I tried lot of debugging with the cfg file and have changed lot of things there (compared to the first one I wrote). I tried swapping the role of UAS and UAC. The problem persists with UAC (it seems to be machine independent, and not partial towards 10.1.10.87 :-)  ).<br>
<br>I tried running OpenSIPS and SIPp all on local host(and used IP 127.0.0.1 in all commands), and still the problem was there. So network can not be held responsible for this problem. <br><br>I have tried the /opensips/examples/logging.cfg file (with some modification) and confirmed that the INVITE messages are successfully recieved and logged by OpenSIPS (at 10.1.10.88).<br>
<br>I even tried running OpenSIPS on the machine running UAS (10.1.10.86) scenario and there I tried to log (with a similar logging.cfg file) incoming messages but I failed to find any INVITE message relayed by the OpenSIPS on 10.1.10.88.<br>
<br clear="all"><br>Sameer Kumar<br>B.Tech, Computer Engineering<br>Institute of Technology,<br>Nirma University,<br>Ahmedabad, Gujarat<br><br>