Hello,

On 9/20/12 9:14 PM, Juha Heinanen wrote:
when proxy gets ack to invite, it spits out this kind of error message:

Sep 20 22:03:35 wheezy2 /usr/sbin/sip-proxy[4575]: INFO: processing ACK 
<sip:jh@192.98.103.10:5074>
Sep 20 22:03:35 wheezy2 /usr/sbin/sip-proxy[4575]: WARNING: rr [loose.c:744]: 
no socket found for match second RR

route headers in the request are:

Route: <sip:192.98.103.10:5060;transport=tcp;r2=on;ftag=43884fd989cff6dc;lr>
Route: <sip:192.98.103.10:5060;r2=on;ftag=43884fd989cff6dc;lr>

and when i start the proxy it tells this:

Listening on
              udp: 192.98.103.2 [192.98.103.2]:5070
              udp: 127.0.0.1:5072
              tcp: 192.98.103.2 [192.98.103.2]:5070
              tcp: 127.0.0.1:5072
              tcp: 127.0.0.1:6060
Aliases:
              *: 192.98.103.10:5060
              *: sip.test.fi:5060

why does loose_route() not find the first alias?
loose_route() matches the alias as being local (myself condition), but there is no relation between aliases and sockets, so searching a soket using an alias value does not work.

The advertise for listen does what you need, if it fits in what you try to achieve:

listen=IP1 advertise IP2

If Route has IP2 then the socket IP1 is used for relaying.

Cheers,
Daniel

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - 
http://asipto.com/u/katu


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to