Not only that, but provisional responses (except 100 Trying) are required to 
have a To tag [1]. So you would likely run into issues with UAs if you start 
returning messages without them.

You could just drop the provisional replies, but you may run into issues with 
timeouts in that case as user A won’t receive any provisional responses until 
answer.

Your best bet would be to use the B2BUA module and let OpenSIPS rewrite the 
tags for you so that user A only ever sees the tags coming from OpenSIPS, never 
the ones from the gateways.

[1] https://tools.ietf.org/html/rfc3261#section-8.2.6.2

Ben Newlin

From: <[email protected]> on behalf of Alex Balashov 
<[email protected]>
Reply-To: OpenSIPS users mailling list <[email protected]>
Date: Friday, October 21, 2016 at 5:55 PM
To: "[email protected]" <[email protected]>
Subject: Re: [OpenSIPS-Users] Remove to-tag from 1XX provisional responses

Conceptually, To tags are governed by the UAs, not the proxy, so, like
most fundamental elements of SIP messages, the proxy has no business
removing them. :-)

On 10/21/2016 05:41 PM, Daniel Zanutti wrote:

Hi

Short:
Do you guys see any problem on removing the to-tag of all 1XX messages?


Long description:
If user A calls number 2222. Opensips forward to gateway B which replies
with 183 session progress, then refuses with 503.

Opensips then call gateway C which replies with 183 then 200 OK.

User A now is using to-tag from gateway A and not from gateway B and I
have an unexpected result on subsequent messages.

Do you guys see any problem on removing the to-tag of all 1XX messages?

Thanks


_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to