<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hello Kevin,<br>
<br>
Once the B2B session started, the sequential request will not land
to your script as they will be captured by B2B before the script
(and handled according to the XML script).<br>
<br>
Still, with debug level 6 you should see various messages from
OpenSIPS when the B2B would handle the re-INVITE.<br>
<br>
Are you sure the re-INVITE is actually reaching OpenSIPS on the
right IP and port ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 14.06.2016 09:49, Kevin Stewart
wrote:<br>
</div>
<blockquote
cite="mid:PS1PR04MB0905233607D3ECA9AD5BBB79E1540@PS1PR04MB0905.apcprd04.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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("10") )<br>
{<br>
sl_send_reply("483","To Many Hops");<br>
drop();<br>
};<br>
<br>
if (is_method("OPTIONS"))<br>
{<br>
#xlog("L_NOTICE", "$ci|end|unsupported method");<br>
sl_send_reply("404", "Not found");<br>
exit;<br>
}<br>
<br>
if(is_method("INVITE")){<br>
xlog("L_NOTICE","got invite");<br>
if($sp=="5061"){<br>
xlog("L_NOTICE","got invite 5061");<br>
xlog("L_NOTICE","[$mi] before B2B request\n");<br>
$ru="sip:"+$tU+"@172.22.2.140:5060";<br>
b2b_init_request("top hiding");<br>
xlog("L_INFO","[$mi] after B2B request\n");<br>
}else{<br>
xlog("L_NOTICE","got invite $sp");<br>
xlog("L_INFO","[$mi] not from 5061\n");<br>
}<br>
exit;<br>
}else{<br>
xlog("L_ERR","got request method $rm from $si: $fU, $tU");<br>
sl_send_reply("501", "Not Implemented");<br>
exit;<br>
}<br>
}</div>
<div
style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;white-space:nowrap;"><br>
<table
style="background-color:#FFFFFF;border-collapse:collapse;font-size:0;line-height:18.33px;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="padding:0 0 15px;vertical-align:top;"
align="left">
<table
style="border-collapse:collapse;font-size:14.67px;color:#808080;font-style:normal;font-weight:bold;text-decoration:none;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="vertical-align:top;text-align:left;color:#065897;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;" align="left">Kevin Stewart</td>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;font-weight:normal;white-space:normal;"
align="left"> | </td>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;" align="left">Senior VOIP Network Engineer</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="line-height:13.33px;">
<td style="padding:0 0 10px;vertical-align:top;"
align="left">
<table style="border-collapse:collapse;font-size:0;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align:top;" align="left">
<table
style="border-collapse:collapse;font-size:10.66px;color:#065897;font-style:normal;font-weight:normal;text-decoration:none;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;font-weight:bold;"
align="left">D: </td>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;" align="left"><a
moz-do-not-send="true"
href="tel:+64%209%20919%206120"
target="_blank" id="LPlnk689713"
style="color:#808080;text-decoration:none;"><strong
style="font-weight:normal;">+64 9 919 6120</strong></a></td>
<td
style="vertical-align:top;text-align:left;color:#808080;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;white-space:normal;" align="left"> </td>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;font-weight:bold;"
align="left">E: </td>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;" align="left"><a
moz-do-not-send="true"
href="mailto:Kevin.Stewart@m2group.co.nz"
target="_blank" id="LPlnk689713"
style="color:#808080;text-decoration:underline;"><strong
style="font-weight:normal;"><a class="moz-txt-link-abbreviated" href="mailto:Kevin.Stewart@m2group.co.nz">Kevin.Stewart@m2group.co.nz</a></strong></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="vertical-align:top;" align="left">
<table
style="border-collapse:collapse;font-size:10.66px;color:#065897;font-style:normal;font-weight:normal;text-decoration:none;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;font-weight:bold;"
align="left">M: </td>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;" align="left"><a
moz-do-not-send="true"
href="tel:+64%2021%20879%20057"
target="_blank" id="LPlnk689713"
style="color:#808080;text-decoration:none;"><strong
style="font-weight:normal;">+64 21 879 057</strong></a></td>
<td
style="vertical-align:top;text-align:left;color:#808080;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;white-space:normal;" align="left"> </td>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;font-weight:bold;"
align="left">W: </td>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;" align="left"><a
moz-do-not-send="true"
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>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="vertical-align:top;" align="left">
<table
style="border-collapse:collapse;font-size:10.66px;color:#065897;font-style:normal;font-weight:normal;text-decoration:none;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="vertical-align:top;text-align:left;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;font-weight:bold;"
align="left">A: </td>
<td
style="vertical-align:top;text-align:left;color:#808080;font-family:Helvetica,Helvetica
Neue,Arial,sans-serif;" align="left">PO Box 108-109, Symonds St, Auckland 1150</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="line-height:normal;">
<td style="padding:0 0 10px;vertical-align:top;"
align="left">
<table style="border-collapse:collapse;font-size:0;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align:middle;" align="center"><a
moz-do-not-send="true"
href="http://www.vocus.co.nz" target="_blank"
id="LPlnk689713" style="text-decoration:none;"><img
src="cid:part5.09070902.08000600@opensips.org" alt=""
style="min-width:340px;font-size:0;"
width="340" border="0" height="75"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>