<p>Hi All ,<br> I am trying to do parallel forking from Openser.But when I call then one user gets 2 calls and rest of the users get one call .<br> Please any one explain why it is happening.<br> Here I attach my openser.cfg
file...<br> <br># main routing logic</p>
<p>route{</p>
<p> # initial sanity checks -- messages with<br> # max_forwards==0, or excessively long requests<br> if (!mf_process_maxfwd_header("10")) {<br> sl_send_reply("483","Too Many Hops");
<br> exit;<br> };</p>
<p> if (msg:len >= 2048 ) {<br> sl_send_reply("513", "Message too big");<br> exit;<br> };</p>
<p> # we record-route all messages -- to make sure that<br> # subsequent messages will go through our proxy; that's<br> # particularly good if upstream and downstream entities<br> # use different transport protocol
<br> if (!method=="REGISTER")<br> record_route();<br> # subsequent messages withing a dialog should take the<br> # path determined by record-routing<br> if (loose_route()) {
<br> # mark routing logic in request<br> append_hf("P-hint: rr-enforced\r\n");<br> route(1);<br> };</p>
<p><br>if (!uri==myself) {<br> # mark routing logic in request<br> append_hf("P-hint: outbound\r\n");<br> # if you have some interdomain connections via TLS<br> #if(uri=~"@tls_domain1.net") {
<br> # t_relay("tls:<a href="http://domain1.net">domain1.net</a>");<br> # exit;<br> #} else if(uri=~"@tls_domain2.net") {<br> # t_relay("tls:
<a href="http://domain2.net">domain2.net</a>");<br> # exit;<br> #}<br> route(1);<br> };</p>
<p> # if the request is for other domain use UsrLoc<br> # (in case, it does not work, use the following command<br> # with proper names and addresses in it)<br> if (uri==myself) {</p>
<p> if (method=="REGISTER") {</p>
<p> # Uncomment this if you want to use digest authentication<br> #if (!www_authorize("<a href="http://192.168.3.15">192.168.3.15</a>", "subscriber")) {<br>
# www_challenge("<a href="http://192.168.3.15">192.168.3.15</a>", "0");<br> # exit;<br> #};</p>
<p> save("location");<br> exit;<br> };</p>
<p> lookup("aliases");<br> log("I M IN lookup");<br> if (!uri==myself) {<br> append_hf("P-hint: outbound alias\r\n");<br> route(1);
<br> };</p>
<p><br> # native SIP destinations are handled using our USRLOC DB<br> if (!lookup("location")) {<br> sl_send_reply("404", "Not Found");<br>
exit;<br> }<br> else {<br> append_branch();<br> append_hf("P-hint: usrloc applied\r\n");<br> t_relay();
<br> }<br> };<br> route(1);<br>}</p>
<p> </p>