<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head><body><div>I am trying to implement a simple topology hiding B2BUA with opensips 1.11.5<br /><br />most things work except that re invites for session expiry are being ignored.<br /><br />I assume that I am missing something in my config.<br /><br />the strange thing is that I see no debug to syslog when the Invites come in even with debug set to 9.<br /><br />the basic config is a client on port 5061 (C) inviting the B2BUA on port 5066(B) with then invites the main server on another host on port 5060(A).<br />I do not expect and inbount calls from A<br /><br />C invites B, B invites A  all proceeds normally until after 15 minutes A invites B and is ignored then sends bye a number of times.<br />none of the reinvites or byes are reported in the logs.<br /><br />C then hangs up sending a bye to B, B sends a bye to A and gets 481 Unknown Dialog.<br /><br />below is my config<br /><br />route{<br />        if ( !mf_process_maxfwd_header(&quot;10&quot;) )<br />        {<br />                 sl_send_reply(&quot;483&quot;,&quot;To Many Hops&quot;);<br />                 drop();<br />        };<br /><br />        if (is_method(&quot;OPTIONS&quot;))<br />        {<br />                #xlog(&quot;L_NOTICE&quot;, &quot;$ci|end|unsupported method&quot;);<br />                sl_send_reply(&quot;404&quot;, &quot;Not found&quot;);<br />                exit;<br />        }<br /><br />        if(is_method(&quot;INVITE&quot;)){<br />                xlog(&quot;L_NOTICE&quot;,&quot;got invite&quot;);<br />                if($sp==&quot;5061&quot;){<br />                        xlog(&quot;L_NOTICE&quot;,&quot;got invite 5061&quot;);<br />                        xlog(&quot;L_NOTICE&quot;,&quot;[$mi] before B2B request\n&quot;);<br />                        $ru=&quot;sip:&quot;+$tU+&quot;@172.22.2.140:5060&quot;;<br />                        b2b_init_request(&quot;top hiding&quot;);<br />                        xlog(&quot;L_INFO&quot;,&quot;[$mi] after B2B request\n&quot;);<br />                }else{<br />                        xlog(&quot;L_NOTICE&quot;,&quot;got invite $sp&quot;);<br />                        xlog(&quot;L_INFO&quot;,&quot;[$mi] not from 5061\n&quot;);<br />                }<br />                exit;<br />        }else{<br />                xlog(&quot;L_ERR&quot;,&quot;got request method $rm from $si: $fU, $tU&quot;);<br />                sl_send_reply(&quot;501&quot;, &quot;Not Implemented&quot;);<br />                exit;<br />        }<br />}</div><div style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;white-space:nowrap;"><br /><table cellpadding="0" cellspacing="0" border="0" style="background-color:#FFFFFF;border-collapse:collapse;font-size:0;line-height:18.33px;"><tr><td align="left" style="padding:0 0 15px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:14.67px;color:#808080;font-style:normal;font-weight:bold;text-decoration:none;"><tr><td align="left" style="vertical-align:top;text-align:left;color:#065897;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;">Kevin&nbsp;Stewart</td><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;font-weight:normal;white-space:normal;">&nbsp;|&nbsp;</td><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;">Senior&nbsp;VOIP&nbsp;Network&nbsp;Engineer</td></tr></table></td></tr><tr style="line-height:13.33px;"><td align="left" style="padding:0 0 10px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:10.66px;color:#065897;font-style:normal;font-weight:normal;text-decoration:none;"><tr><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;font-weight:bold;">D:&nbsp;</td><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;"><a href="tel:+64%209%20919%206120" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;"><strong style="font-weight:normal;">+64&nbsp;9&nbsp;919&nbsp;6120</strong></a></td><td align="left" style="vertical-align:top;text-align:left;color:#808080;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;white-space:normal;">&nbsp;</td><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;font-weight:bold;">E:&nbsp;</td><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;"><a href="mailto:Kevin.Stewart@m2group.co.nz" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:underline;"><strong style="font-weight:normal;">Kevin.Stewart@m2group.co.nz</strong></a></td></tr></table></td></tr><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:10.66px;color:#065897;font-style:normal;font-weight:normal;text-decoration:none;"><tr><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;font-weight:bold;">M:&nbsp;</td><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;"><a href="tel:+64%2021%20879%20057" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:none;"><strong style="font-weight:normal;">+64&nbsp;21&nbsp;879&nbsp;057</strong></a></td><td align="left" style="vertical-align:top;text-align:left;color:#808080;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;white-space:normal;">&nbsp;&nbsp;</td><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;font-weight:bold;">W:&nbsp;</td><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;"><a href="http://vocus.co.nz" target="_blank" id="LPlnk689713" style="color:#808080;text-decoration:underline;"><strong style="font-weight:normal;">vocus.co.nz</strong></a></td></tr></table></td></tr><tr><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:10.66px;color:#065897;font-style:normal;font-weight:normal;text-decoration:none;"><tr><td align="left" style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;font-weight:bold;">A:&nbsp;</td><td align="left" style="vertical-align:top;text-align:left;color:#808080;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;">PO&nbsp;Box&nbsp;108-109,&nbsp;Symonds&nbsp;St,&nbsp;Auckland&nbsp;1150</td></tr></table></td></tr></table></td></tr><tr style="line-height:normal;"><td align="left" style="padding:0 0 10px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr><td align="center" style="vertical-align:middle;"><a href="http://www.vocus.co.nz" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image935000.jpg@DEA01C14.E6066841" width="340" height="75" border="0" alt="" style="min-width:340px;font-size:0;" /></a></td></tr></table></td></tr></table><br /></div></body></html>