On 10/24/10 11:06 AM, Juha Heinanen wrote:
Juha Heinanen writes:

$du is set to sip:+35892223...@193.166.3.2;transport=udp and the proxy
is listening on many sockets, both 127.0.0.1 and external ip address.

any idea what might cause the errors?
looks like that if request comes in via a 127.0.0.1 socket and goes out
to an external ip address, then sr is not smart enough to use its socket
with external ip address.  the errors namely went away when i called
force_send_socket() with external ip address argument before t_relaying
the request.

iirc, it was always the same from the time of ser 0.8. If you don;t change the protocol, the core tries to send from the same socket it received. You have to use mhomed=1 in order to have detection of outgoing interface. 3.x has significant improvements for mhomed=1 done by Marius.

Cheers,
Daniel

--
Daniel-Constantin Mierla
http://www.asipto.com


_______________________________________________
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