[sr-dev] loose_route() question

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


Hello,

On 4/18/13 5:37 PM, Juha Heinanen wrote:
> Juha Heinanen writes:
>
>> Apr 18 17:56:44 siika /usr/sbin/sip-proxy[14517]: INFO: ru/du =
>> <sip:jh at test.fi;gr=urn:uuid:eea2f222-60b6-4ba1-a764-99cc0eb3ba9f>/<sip:T4Ah7mN1nrM0HgXAYmYKJ2DAYmYK5bA=@192.98.102.10:10080;transport=ws;lr>
>>
>> why is $du set when there is only one route header denoting the proxy
>> itself?
> perhaps the problem is with ";transport=ws" param?  my proxy is
> listening at that address on transport tcp instead:
>
> Listening on
>            ...
>            tcp: 192.98.102.10 [192.98.102.10]:10080
maybe Peter has more insights how the WS transport affected "myself" 
condition.

But a easy way to test is to use is_myself("$du") in the config and see 
what is the return code -- if it fails to match or not as local address.

Cheers,
Daniel

-- 
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