My script has
if (is_method("INVITE") && !has_totag() && check_source_address(0)) {
xlog("[ROUTE]Incoming call to MS: RURI=$ruri, SI=$si, M=$rm\n");
trace("tid");
create_dialog();
do_routing(1);
strip(1);
prefix("+44");
record_route_preset("sbc.ip-sentinel.com:5091;transport=tls",
"10.0.0.5:5060");
add_rr_param(";r2=on");
route(relay);
Which is turning this:
James Hogbin
Director
IP Sentinel
t. +44 (0)20 3011 4150
m. +44 7786910895
w. https://www.ip-sentinel.com
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 13.80.245.144:5080;rport;branch=z9hG4bK1tDv8cQgjXXaj
Max-Forwards: 68
From: "James Hogbin" <sip:[email protected]>;tag=8tKmNZc4FpF3D
To: <sip:[email protected]>
Into:
INVITE sip:[email protected] SIP/2.0
Record-Route:
<sip:sbc.ip-sentinel.com:5091;transport=tls;ftag=8tKmNZc4FpF3D;lr;did=688.48bca672>
Record-Route: <sip:10.0.0.5:5060;ftag=8tKmNZc4FpF3D;lr;did=688.48bca672>
Via: SIP/2.0/TLS 137.117.136.143:5091;branch=z9hG4bKb195.04f15415.0
Via: SIP/2.0/UDP
13.80.245.144:5080;received=13.80.245.144;rport=5080;branch=z9hG4bK1tDv8cQgjXXaj
Max-Forwards: 68
From: "James Hogbin" <sip:[email protected]>;tag=8tKmNZc4FpF3D
To: <sip:[email protected]>
BUT the Record routes do not have ;r2=on in them
I think this is causing an issue with ACK & BYE from the PBX hanging off the
5050 port
IP Sentinel Disclaimer
This communication is for the information of the person to whom it has been
delivered and neither it nor any of its contents should be passed on to or used
by any other person. 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.
Disclaimer: Q3dhRSrm_disclaimer
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users