[OpenSIPS-Users] topology hiding and contact header

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Feb 5 10:38:23 CET 2013


Hi Brett,

1) a SIP URI without username is perfect valid.

2) as Contact URI is just for IP routing purposes, a username part is 
totally useless.

3) preserving the username may "leak" topo info (you never know what is 
the username content).

4) see the simple attached patch to force a static dummy username.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 02/05/2013 11:09 AM, Brett Nemeroff wrote:
> Hello All,
> I noticed that when invoking topology_hiding from the dialog module 
> that the contact header is rewritten without a userpart in the URI. 
> I've had some carriers complain about the lack of a userpart. What is 
> the reasoning for removing the userpart of the URI and is there any 
> way to safely add it back without breaking in-dialog requests?
>
> Thanks,
> Brett
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130205/375bf3b2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dialog_topo_username.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20130205/375bf3b2/attachment.bin>


More information about the Users mailing list