<html><body>My script has<BR>
<BR>
if (is_method("INVITE") && !has_totag() && check_source_address(0)) {<BR>
xlog("[ROUTE]Incoming call to MS: RURI=$ruri, SI=$si, M=$rm\n");<BR>
trace("tid");<BR>
create_dialog();<BR>
do_routing(1); <BR>
strip(1);<BR>
prefix("+44");<BR>
record_route_preset("sbc.ip-sentinel.com:5091;transport=tls", "10.0.0.5:5060");<BR>
add_rr_param(";r2=on");<BR>
route(relay);<BR>
<BR>
Which is turning this:<BR>
<br>
<p style="font-family: Open Sans,sans-serif;">
<b><span style="font-family: Open Sans,sans-serif; font-size:10.0pt;color:#888888">James Hogbin</span></b>
<b><span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:#888888;"><br>Director</span></b>
</p>
<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://ip-sentinel.com"><IMG border="0" alt="IP Sentinel Logo" src="cid:120051822261400113@uk-mta-74.uk.mimecast.lan" ></A></td></tr></table>
<span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:#222222;"><br>t. <a href="tel:+442030114150" target="_blank">+44 (0)20 3011 4150</a><br></span><span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:#222222;">m. +44 7786910895<br></span><span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:#222222">w. <a href="https://www.ip-sentinel.com/" target="_blank">https://www.ip-sentinel.com</a><br></span><table>
<tbody><tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</tbody></table>
<br>
<BR>
INVITE sip:08435577721@sbc.ip-sentinel.com SIP/2.0<BR>
Via: SIP/2.0/UDP 13.80.245.144:5080;rport;branch=z9hG4bK1tDv8cQgjXXaj<BR>
Max-Forwards: 68<BR>
From: "James Hogbin" <sip:+442030114146@13.80.245.144>;tag=8tKmNZc4FpF3D<BR>
To: <sip:08435577721@sbc.ip-sentinel.com><BR>
<BR>
Into:<BR>
<BR>
INVITE sip:+448435577721@sip.pstnhub.microsoft.com SIP/2.0<BR>
Record-Route: <sip:sbc.ip-sentinel.com:5091;transport=tls;ftag=8tKmNZc4FpF3D;lr;did=688.48bca672><BR>
Record-Route: <sip:10.0.0.5:5060;ftag=8tKmNZc4FpF3D;lr;did=688.48bca672><BR>
Via: SIP/2.0/TLS 137.117.136.143:5091;branch=z9hG4bKb195.04f15415.0<BR>
Via: SIP/2.0/UDP 13.80.245.144:5080;received=13.80.245.144;rport=5080;branch=z9hG4bK1tDv8cQgjXXaj<BR>
Max-Forwards: 68<BR>
From: "James Hogbin" <sip:+442030114146@13.80.245.144>;tag=8tKmNZc4FpF3D<BR>
To: <sip:08435577721@sbc.ip-sentinel.com><BR>
<BR>
BUT the Record routes do not have ;r2=on in them<BR>
<BR>
I think this is causing an issue with ACK & BYE from the PBX hanging off the 5050 port<BR>
<p style="font-family: Open Sans, Arial, sans-serif;padding: 5px;background:#D5EAFF">
<span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:red">IP Sentinel Disclaimer <br></span>
<span style="font-family: Open Sans,sans-serif;font-size:6.0pt;color:black">The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. Unintended recipients are prohibited from taking action on the basis of information in this e-mail. If you are not the intended recipient or have received this email in error, please notify the sender immediately by return email and delete the email from your computer.
E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. We do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of computer viruses or other defects.
. IP Sentinel Ltd is a limited company registered in England and Wales under Registered Number 08648097. Registered Office: Newnhams Wood, Horsted Keynes, West Sussex, RH17 7BT. </span>
</p><span style="font-size:1.0pt;color:white">Q3dhRSrm_disclaimer</span>
</body></html>