OK I fixed the RTPProxy to request a port in the correct range of teams media & 
I get a response but it’s now I get a rejection.
It’s probably a basic error but I’m pulling my hair out on this one.

James Hogbin
Director 
 
IP Sentinel 
t. +44 (0)20 3011 4150
m. +44 7786910895
w. https://www.ip-sentinel.com

My Invite is now:
INVITE sip:[email protected]:5061;transport=tls SIP/2.0
Record-Route: <sip:sbc.ip-sentinel.com:5091;transport=tls;ftag=QaaXp916U09ea;lr>
Via: SIP/2.0/TLS 137.117.136.143:5091;branch=z9hG4bK65fa.6a01b6b3.0;i=da9130a5
Via: SIP/2.0/TLS 
13.80.245.144:5081;received=13.80.245.144;rport=59751;branch=z9hG4bK058c0vQ8jmNgQ
Max-Forwards: 68
From: "James Hogbin" <sip:[email protected]>;tag=QaaXp916U09ea
To: <sip:[email protected]:5091>
Call-ID: 17a3ba67-0ed7-1239-bdba-000d3aada04e
CSeq: 20084344 INVITE
Contact: 
<sip:[email protected]:5081;transport=tls;transport=tls;gw=c6ff36e8-d3de-4fe0-9f1b-9da2888c43a9>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, 
REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 1337
X-FS-Support: update_display,send_info
Remote-Party-ID: "James Hogbin" 
<sip:[email protected]>;party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1589254426 1589254427 IN IP4 13.80.245.144
s=FreeSWITCH
c=IN IP4 137.117.136.143
t=0 0
m=audio 50398 RTP/SAVP 9 0 8 101 13
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=crypto:1 AEAD_AES_256_GCM_8 
inline:Qpokk/LxXKr5UWx5lMc5S+b5fWaNbapzIBpe6Xw/v2EFbrvUVRA5Mr0375E=
a=crypto:2 AEAD_AES_128_GCM_8 inline:M3IRqfY/RaDNfx7KkVLOnPzbde7oxNSqKQCuEg==
a=crypto:3 AES_256_CM_HMAC_SHA1_80 
inline:gI/heQV4rgH1INfxNSz8u73SuNeaylNvmCU+a1yrBgvk7q6Rd21OBlBYSGuHbA==
a=crypto:4 AES_192_CM_HMAC_SHA1_80 
inline:AhRaELwZ8wNuhsmoDQ/JnQ70fOlxc0YFGj+bmV4YPjcAq9f/hqU=
a=crypto:5 AES_CM_128_HMAC_SHA1_80 
inline:SLXecdXmkahipFYqDsbR8GI7ENXkuAoP9QmyStqP
a=crypto:6 AES_256_CM_HMAC_SHA1_32 
inline:OgVBI3uYDKxEj3AhjznqxYS52k9vJZ0U5K1iRxMF5eqqBfvUN7gUaLzP/FG6QQ==
a=crypto:7 AES_192_CM_HMAC_SHA1_32 
inline:TpNpiqzu1HdtovH2jo7kDOyLIp4y1AlGGlJ9Jpc66UElQWI41zI=
a=crypto:8 AES_CM_128_HMAC_SHA1_32 
inline:kCZSBfT5KOZAgyCg0HmGegD1P7WhWmX8CppQPn36
a=crypto:9 AES_CM_128_NULL_AUTH inline:tAHA0wDUPPyH7jlX06dBEFQKxmBoeUbKABUmVVJD
a=ptime:20
m=audio 53104 RTP/AVP 9 0 8 101 13
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
a=nortpproxy:yes

I get a 100 Trying

SIP/2.0 100 Trying
FROM: "James Hogbin"<sip:[email protected]>;tag=QaaXp916U09ea
TO: <sip:[email protected]:5091>
CSEQ: 20084344 INVITE
CALL-ID: 17a3ba67-0ed7-1239-bdba-000d3aada04e
VIA: SIP/2.0/TLS 
137.117.136.143:5091;branch=z9hG4bK65fa.6a01b6b3.0;i=da9130a5,SIP/2.0/TLS 
13.80.245.144:5081;received=13.80.245.144;branch=z9hG4bK058c0vQ8jmNgQ;rport=59751
CONTENT-LENGTH: 0
ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY
SERVER: Microsoft.PSTNHub.SIPProxy v.2020.5.6.2 i.EUWE.0

Which I ACK
ACK sip:[email protected]:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS 137.117.136.143:5091;branch=z9hG4bK65fa.6a01b6b3.0
FROM: "James Hogbin"<sip:[email protected]>;tag=QaaXp916U09ea
Call-ID: 17a3ba67-0ed7-1239-bdba-000d3aada04e
TO: <sip:[email protected]:5091>
CSeq: 20084344 ACK
Max-Forwards: 70
User-Agent: OpenSIPS (3.0.2 (x86_64/linux))
Content-Length: 0

But then I get a Rejection
SIP/2.0 503 Service Unavailable
FROM: "James Hogbin"<sip:[email protected]>;tag=QaaXp916U09ea
TO: <sip:[email protected]:5091>
CSEQ: 20084344 INVITE
CALL-ID: 17a3ba67-0ed7-1239-bdba-000d3aada04e
VIA: SIP/2.0/TLS 
137.117.136.143:5091;branch=z9hG4bK65fa.6a01b6b3.0;i=da9130a5,SIP/2.0/TLS 
13.80.245.144:5081;received=13.80.245.144;branch=z9hG4bK058c0vQ8jmNgQ;rport=59751
REASON: Q.850;cause=42;text="cc897e64-525a-4bc8-a819-a6f6ae586ea0;Service 
temporarily unavailable"
CONTENT-LENGTH: 0
ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY
SERVER: Microsoft.PSTNHub.SIPProxy v.2020.5.6.2 i.EUWE.0

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

Reply via email to