[Spce-user] Initial Loose-Routing Forbidden

Andrew Pogrebennyk apogrebennyk at sipwise.com
Mon Jun 4 05:28:31 EDT 2012


Hi!

On 06/04/2012 11:11 AM, Klaus Darilion wrote:
> Probably your clients send out-of-dialog requests with Route headers.
> 
> Regarding SPCE: Wouldn't it be more reliable to just ignore and remove
> Route headers on incoming out-of-dialog requests?

That's what we do when Route header on incoming out-of-dialog requests
points to one of our domains, i.e.:

	if(loose_route())
	{
		...
		if(!has_totag())
		{
			if($du != $null && is_domain_local("$dd"))
			{
				xlog("L_INFO", "Reset initial local route - M=$rm R=$ru F=$fu T=$tu
IP=$avp(s:ip):$avp(s:port) ($si:$sp) ID=$ci\n");
				$du = $null;
			}
	...

If the initial Route header points to somewhere else we reject it, for
security reasons I believe.

John, could you check with the peer why it's sending Route in initial
INVITE?

BR,
Andrew




More information about the Spce-user mailing list