Hello,<br><br>I am struggling to make sense of acc logging when combined with forwarding a call. My openser.cfg is below this in message.<br><br>Every time I place a call from a softphone that registeres to SER, I get 30+ records in acc, most of them INVITEs and some are ACKs and there are no BYEs. I can't seem to find any documentation that would explain to me what I am doing wrong. Someone, please put me on the right path.
<br><br><br><br>route{<br> setflag(3);<br><br> if(method=="REGISTER") {<br> if (!www_authorize("<a href="http://domain.com">domain.com</a>", "subscriber")) {<br> www_challenge("
<a href="http://richmedium.com">richmedium.com</a>", "0");<br> return;<br> };<br> save("location");<br> return;<br> }<br>
<br> if (loose_route()) {<br> # mark routing logic in request<br> append_hf("P-hint: rr-enforced\r\n");<br> return;<br> };<br><br> if(method=="INVITE") {
<br> if (!www_authorize("<a href="http://richmedium.com">richmedium.com</a>", "subscriber")) {<br> www_challenge("<a href="http://richmedium.com">richmedium.com
</a>", "0");<br> return;<br> };<br> }<br><br> if (uri=~"^sip:1[0-9]*{<a href="mailto:10}@192.168.1.10">10}@192.168.1.10</a>") {<br> forward(
<a href="http://192.168.1.10">192.168.1.10</a>,5061);<br> } else {<br> sl_send_reply("404", "Use prefix 1 to dial");<br> }<br><br> t_relay();<br><br>}<br><br><br>