<DIV id=RTEContent>hi all,</DIV> <DIV>I am using openser 0.9.5. I recently configured openser supporting gateway chaining with two failure routes. I tested it and it was working fine, and when I put it into actual production environment which processes close to 200 calls per second in peak hrs, openser crashed after an hours time. I think there was a memory leak.</DIV> <DIV>The error message in syslog at that time showed:</DIV> <DIV>ERROR: t_should_relay_response: status rewrite by UAS: stored: 487, received: 100</DIV> <DIV>my snippet of cfg file is below:</DIV> <DIV> </DIV> <DIV>modparam("tm", "fr_inv_timer", 27)<BR>modparam("tm", "fr_timer", 3)<BR>modparam("tm", "fr_inv_timer_avp", "3")</DIV> <DIV> </DIV> <DIV>if(method=="INVITE") {<BR> setflag(1);<BR> <BR> if (uri=~"^sip:00[0-9]*@")
{ <BR> strip(2);<BR> rewritehost("216.XXX.XXX.XX");<BR> t_on_failure("1");<BR> t_on_reply("2");</DIV> <DIV> t_relay();<BR>
break; <BR> };</DIV> <DIV> </DIV> <DIV>failure_route[1] {<BR> rewritehost("217.XXX.XXX.XX");<BR> append_branch();<BR> t_on_failure("2");<BR> t_relay();<BR>}</DIV> <DIV> </DIV> <DIV>failure_route[2] {<BR> rewritehost("218.XXX.XXX.XX");<BR> append_branch();<BR> t_relay();<BR>}</DIV> <DIV><BR>onreply_route[2] {<BR> if (status=~"18[0-9]") {<BR> t_on_failure("0");<BR> };<BR>}<BR></DIV> <DIV>I had ser fr_timer to 3 secs so that if there is no response within 3 secs the other route is tried.</DIV> <DIV>Please let me know what logical error was there in my cfg which made openser crash.
Is it something related with the timer?</DIV> <DIV> </DIV> <DIV>thanks in advance.</DIV> <DIV>jayesh</DIV> <DIV> </DIV> <DIV><BR> <BR> </DIV> <DIV> </DIV> <DIV> </DIV><p>Send instant messages to your online friends http://in.messenger.yahoo.com