[SR-Users] udp_send "Invalid argument"

Juha Heinanen jh at tutpro.com
Sun Oct 24 11:06:45 CEST 2010


Juha Heinanen writes:

> $du is set to sip:+35892223333 at 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.

-- juha



More information about the sr-users mailing list