[sr-dev] loose_route() question

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 18 19:17:35 CEST 2013


This might have been added by the latest work on outbound by Peter or 
Hugh, I will look over it, hopefully will get time for it very soon.

Cheers,
Daniel

On 4/18/13 5:50 PM, Juha Heinanen wrote:
> loose_route() has this:
>
> 	if (uri_is_myself>0)
> 	{
> 		LM_INFO("Topmost route URI: '%.*s' is me\n",
> 			uri.len, ZSW(uri.s));
> 		/* set the hooks for the params */
> 		routed_msg_id = _m->id;
>
> 		if (!rt->next) {
>              ...
> 			/* When using outbound skip past all this stuff and just set
>   			   the destination */
> 			if (use_ob) goto got_uri;
>
> so, if ob is in use (= flow token was found in route uri), $du gets set
> to route uri.
>
> why is it done also when $ru contains gruu that should instead be used
> to find out $du via lookup?
>
> -- juha
>
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-dev mailing list